次の方法で共有


Dynamics CRM 2013 ACT Sync fails with Error and Mailbox gets disabled when you use Server Side Synchronization (SSS)

You may see an issue when you use SSS (Server Side Sync) for Appointments, Contacts and Tasks (we call it ACT Sync), the sync fails and the Mailbox goes to disabled state.

The PF trace collected during the sync has below error.

>Exchange sync worker for the mailbox is failed/terminated : {C214C514-9D70-E411-80D3-005056A964ED}. Exception details : Unhandled Exception: System.FormatException: String was not recognized as a valid DateTime.
at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
at Microsoft.Crm.Asynchronous.EmailConnector.ExchangeMailboxToCrmOrgBinder.GetLastUpdateTimeFromConfigurationString(String configurationString)
at Microsoft.Crm.Asynchronous.EmailConnector.ExchangeSyncSteps.SyncFolderHierarchyStep.CheckAndUpdateConfigFolderOnExchange(String folder, Folder exchangeConfigFolder, ExchangeSyncState lastSyncState, Boolean isConfigFolderUpdatedOnExchange)
at Microsoft.Crm.Asynchronous.EmailConnector.ExchangeSyncSteps.SyncFolderHierarchyStep.ProcessResponse()
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()

When we use SSS (With SP1 and later) it appends the CRM OrganizationID to the user mailbox on Exchange server. The reason being, a CRM user can be a member of more than one CRM organization, but an Exchange mailbox (email address) can only synchronize appointments, contacts, and tasks with one CRM organization only.

So when CRM syncs with exchange it checks on the CRM organization ID (OrgID) appended to the Exchange mailbox and the last sync details of the user.

It can be that it is returning the wrong OrgID because there are 2 CRM Orgs and the user was a member of both Orgs and the error appears on the second Org.

When CRM was trying to sync from the second Org, Exchange was returning the last sync status Including the OrgID of first CRM Organization causing the issue.

The solution here is:

Go to Settings > Email Configuration > Mailboxes > Select the problematic Mailbox.

Click on the Ellipse button and select Approve Email.

This will reset the mailbox.

Now click on Test&Enable Mailbox.

From the popup window select Sync items with Exchange from this CRM org only, even if Exchange was set to sync with a different org check box to overwrite the setting stored in Exchange to change the primary synchronizing organization.

 

Best Regards

EMEA Dynamics CRM Support Team

Share this Blog Article on Twitter

Tweet

Follow Us on Twitter

Follow @MSDynCRMSupport