Use the steps in this article to import email from Exchange Online, that meets the specified criteria, to the Barracuda Message Archiver. Use autodiscover to automatically populate your Exchange settings using the steps in the section Automatically Discover Settings. If, however, autodiscover is unable to identify your Exchange settings, you can manually enter the details as described in the section Manually Configure Settings.
Exchange Import Video
Watch this video for an example of how to import historical Microsoft Exchange data:
Requirements
Microsoft .NET Framework 4.5 or 4.5.1 and either the Windows Management Framework 3.0 or the Windows Management Framework 4.0
Verify the service account has the following:
A mailbox that is not hidden in the Global Address list.
- A license that supports Outlook (i.e., not a kiosk license).
Enable RPC over HTTP (RoH) for the mailbox. See also How to Enable RPC over HTTP Connectivity.
Automatically Discover Settings
- Log into the Barracuda Message Archiver as the admin, and go to MAIL SOURCE > Exchange Integration.
- Click Start New Action. In the Select Action page, click Email Import.
- In the Select Server page, click Add New Server.
In the Add New Server dialog, enter a name to identify the configuration as well as the service account Email Address and Password.
Click Autodiscover; when the details display, click Save to add it to the Server table. Click Continue .
In the Configure Action page, select All Users from the drop-down menu, and specify the desired Date and Schedule settings. Click Continue .
- Verify the configuration settings in the View Summary page, and then click Submit to add the Email Import to the Scheduled Actions table.
Manually Configure Settings
Use the steps in this section only if autodiscover is unable to identify your settings as described above in the section Automatically Discover Settings.
Step 1. Manually Obtain Exchange Hostname Using PowerShell
Open Windows PowerShell, and connect to Office 365 Exchange Online.
- Enter the following command, and then press Enter:
$UserCredential = Get-Credential
In the Windows PowerShell Credential Request dialog box, enter your Exchange Online admin username and password, and then click OK.
Enter the following command, and then press Enter:
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
Enter the following command, and then press Enter:
Import-PSSession $Session
- Enter the following command, and then press Enter:
Get-Mailbox -Identity <username for service account> | Format-List ExchangeGuid, PrimarySMTPAddress
- To determine the Exchange Hostname, combine the
ExchangeGuid
with the domain portion of thePrimarySMTPAddress
to form ExchangeGuid@domain.com. - To close out the remote PowerShell session, enter the following command, and then press Enter:
Remove-PSSession $Session
Step 2. Manually Configure Server Settings for Email Import
Log into the Barracuda Message Archiver as the admin, and go to MAIL SOURCE > Exchange Integration.
Click Start New Action. In the Select Action page, click Email Import.
- In the Select Server page, click Add New Server.
- In the Add New Server dialog, click Configure Manually; enter the Exchange details:
- Configuration Name – Enter a name to identify the configuration.
- Exchange Hostname – Enter the Exchange hostname from Step 1 Manually Obtain Exchange Hostname Using PowerShell.
- Username/Password – Enter the credentials associated with the service account.
- Exchange 2013 – Select Yes.
- Advanced Options – In the Proxy Server field type outlook.office365.com and leave the Global Catalog Server field blank.
- Click Save. Once the Exchange settings are verified, the Server table is updated. Click Continue.
- In the Configure Action page, select All Users from the drop-down menu, and specify the desired Date and Schedule settings. Click Continue.
- Verify the configuration settings in the View Summary page, and then click Submit to add the Email Import to the Scheduled Actions table.