I enabled the tracing on the backend server and also checked the log in the database and found the following:
1
2
3
4
5
6
7
8
>Exception:Unhandled Exception:Microsoft.Exchange.WebServices.Data.ServiceResponseException:Synchronization state data is corrupt or otherwise invalid.
at Microsoft.Exchange.WebServices.Data.ServiceResponse.InternalThrowIfNecessary()
at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.EndExecute(IAsyncResult asyncResult)
at Microsoft.Exchange.WebServices.Data.ExchangeService.EndSyncFolderHierarchy(IAsyncResult asyncResult)
at Microsoft.Crm.Asynchronous.EmailConnector.MonitoredExchangeService.EndSyncFolderHierarchy(IAsyncResult asyncResult)
at Microsoft.Crm.Asynchronous.EmailConnector.ExchangeSyncSteps.ExchangeSyncAsyncRemoteStep`2.AfterCall()
at Microsoft.Crm.Asynchronous.EmailConnector.ExchangeSyncSteps.ExchangeSyncAsyncRemoteStep`2.Execute()
at Microsoft.Crm.Asynchronous.EmailConnector.ExchangeSyncWorker.SynchronizeACTs()
Based on the first error message, I could elicit, that it is connected to an activity. And that it’s connected to the ACT-Settings in my Sync-Profile. Therefore I checked the settings which looked like the following:
A specific user for synchronization. This user has impersonation-rights on the mailboxes of the crm users.
Email Server Profile (Impersonation) – Microsoft Dynamics 365