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

How to Configure Office 365 Exchange Online and Import Historical Data Using EWS

  • Last updated on

Exchange Integration with Exchange Web Services (EWS) support for connecting to Exchange Online is not yet generally available and subject to change. To enable EWS support for the Barracuda Cloud Archiving Service, contact Barracuda Technical Support.

To configure an Office 365 exchange Online service account and import data using Autodiscover, see How to Configure an Office 365 Exchange Online Service Account and Import Historical Data.

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

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.

Exchange Integration now supports the Exchange Web Services (EWS) protocol for connecting to Exchange Online. With the deprecation of Basic Authentication in Exchange Online at the end of October 2020, using EWS will allow Exchange Integration to continue to work with Exchange Online. You will need to configure a new Exchange Integration source, and new actions configured using that source will use EWS. The ability to migrate existing nightly actions to use the new source is currently not available. 

In addition to ensuring that Exchange Integration will continue to connect to Exchange Online after October 2020, the switch to EWS simplifies the Exchange Integration configuration by eliminating the need to use a service account and the accompanying requirement to update the service account's permissions after creating new users with mailboxes.


  • You must have an Office 365 account with administrator privileges. 

Note that you will no longer need a service account to set up an Exchange Online source.

Add a New Exchange Online Source

These instructions will set up a new Exchange Online source using EWS. To add a new Exchange Server source, see Microsoft Exchange Server 2007 and 2010 Operations and Microsoft Exchange Server 2013 and Newer Operations, depending on your Exchange Server version.

  1. Log into the Barracuda Cloud Archiving Service as the admin, and go to MAIL SOURCE > Exchange Integration.
  2. Click Start New Action. In the Select Action page, click Email Import.

  3. In the Select Source page, click Add New Source.
  4. Select Exchange Online to configure using EWS.
  5. Enter a configuration name and click Authorize.
  6. A new pop-up window prompts you to enter your Office 365 administrator account login information from which Exchange Integration will process mail. 
  7. Click Accept to authorize the Barracuda Cloud Archiving Service application to access your details.
  8. You are redirected back to the Select Source page. You should now see the new source in the list. Select the new source and click Continue.
  9. In the Configure Action page, select  All Users from the drop-down menu, and specify the desired Date and Schedule settings. Click Continue.
  10. Verify the configuration settings in the View Summary page, and then click Submit to add the Email Import to the Scheduled Actions table.


Last updated on