It seems like your browser didn't download the required fonts. Please revise your security settings and try again.

How to Configure an Office 365 Exchange Online Service Account and Import Historical Data

  • Last updated on

To set up Office 365 Exchange Online using Exchange Web Services (EWS) with the Barracuda Cloud Archiving Service, see How to Configure Office 365 Exchange Online and Import Historical Data Using EWS

An Office 365 Exchange Online service account provides Exchange Server directory permissions to grant the Barracuda Cloud Archiving Service read access to all mailboxes.

Requirements

If this is a Cloud Service Provider (CSP) account, refer to this article  Azure MFA Requirements for Microsoft CSPs  to ensure the correct configuration is set.

Microsoft Exchange Online

Microsoft Exchange Online message throttling policies set bandwidth limits and restrict the number of processed messages. Throttling is enabled by default in Microsoft Exchange Online. Currently you cannot set policies to disable throttling in Exchange Online; for details, refer to the Microsoft Outlook dev blog. Barracuda is working on a solution to provide this option in the future.

Step 1. Connect to Office 365 Exchange Online

  1. Connect to Exchange Online Powershell using one of the options:
  2. Find the correct IP range based on the region selected when setting up your Barracuda Email Security Service instance. Refer to the Barracuda Email Security Service IP Ranges for the IP ranges corresponding to your region. 
  3. After you connect to Exchange Online PowerShell, run the appropriate script based on the connection setup you chose: 

    Basic Authorization
    Set-ExecutionPolicy unrestricted 
    $UserCredential = Get-Credential
    $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
    Import-PSSession $Session
    Get-Mailbox -ResultSize unlimited | Add-MailboxPermission -User <ServiceAccount@domain.com> -AccessRights fullaccess -InheritanceType all -Automapping $false
    Modern Authorization

    Note: Replace <your-UPN> with your Office 365 account.

    Connect-EXPOSSession -UserPrincipalName <your-UPN> 
    Get-Mailbox -ResultSize unlimited | Add-MailboxPermission -User <ServiceAccount@domain.com> -AccessRights fullaccess -InheritanceType all -Automapping $false
     Permissions are assigned on existing mailboxes only; if additional mailboxes are added to your organization, you must rerun this command.

    For more information on adding mailbox permissions, see Add-MailboxPermission in Microsoft TechNet. For information on testing mailbox rights, see Get-MailboxPermission in Microsoft TechNet.

Step 2. Import from Office 365 Exchange Online

  1. Log into the Barracuda Cloud Archiving Service as the admin, and go to Mail Sources > Exchange Integration.

  2. Click Start New Action. In the Select Action page, click Email Import.
  3. In the Select Server page, click Add New Server.
  4. In the Add New Server dialog box, enter a Configuration Name, the email address for the service account and the service account password.
  5. Click Autodiscover.
Last updated on