State of knowledge

October 2022

Observation

The EWS Replicator is not getting a connection to Microsoft Office 365/Exchange online.

Background

Basic authentication for EWS was retired by Microsoft on 13 October, 2020.
Exchange Web Services (EWS) was introduced with support for basic authentication. Over time, OAuth 2.0 was introduced for authentication and authorization, which provides a more secure and reliable method for accessing data than basic authentication.

https://devblogs.microsoft.com/microsoft365dev/upcoming-changes-to-exchange-web-services-ews-api-for-office-365/

Solution

Since MetaDirectory version 5.0.12, we have the new Microsoft Graph Import replicator for connecting Office 365/EWS online, which can be used instead of the Microsoft EWS replicator.

Setup/Configuration

Please take note of the online help in the product for Replicator for Microsoft Graph and the following article:

Requirement for Microsoft Graph Replicator in MetaDirectory – registration in Microsoft Azure-Portal

Public folders cannot be replicated via Microsoft Graph. Use the Shared Mailbox instead. 

Further information

Missing phone number fields in Microsoft Graph replication

Requirement for Microsoft Graph Replicator in MetaDirectory – registration in Microsoft Azure-Portal