Switching an EWS Service to Microsoft Graph
The standard procedure would be as follows:
-
Create and configure a new Microsoft Graph service.
-
Open all existing jobs and assign the new service to them.
-
Delete the old EWS connection once no jobs are using it anymore.
However, creating a new service may require an additional license for a temporary period. For simple configurations, this step can be avoided by modifying the existing service directly.
Procedure
-
Stop the service and the Configurator.
-
Back up the relevant directory:
-
C:\ProgramData\EEAttachments\ -
C:\ProgramData\ExMixedFolders\
-
-
In this directory, locate the configuration file whose name corresponds to the name of the service, for example:
-
EWSConnection1.service.settings.conf
-
-
Open the file in a suitable text editor and change the following entries:
Replace
<IsEWSOAuth>true</IsEWSOAuth>with<IsEWSOAuth>false</IsEWSOAuth>.Also replace
<ServiceType>EWS</ServiceType>with<ServiceType>MSGRAPH</ServiceType>. -
Start the Configurator again.
-
Authenticate the existing service against the respective mailbox again. Select the required permissions or, if necessary, configure them directly in the associated app registration in Microsoft Entra ID.
-
Finally, review the existing jobs and make any necessary adjustments.