web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Server-Side Sync doesn't sync, appointment contacts and tasks

(0) ShareShare
ReportReport
Posted on by

I configured server-side Synchronization between CRM 2013 SP1 (italian) and Exchange 2010 SP3 RU6.

All mailboxes at the begin seem to work correctly and tests are passed successfull. After few minutes i receive this alert error multiple times:

Appointments, contacts and tasks for the mailbox Enzo ... couldn't be synchronized. The owner of the associated email server profile ...xxx... has been notified. The system will try again later.

On the asynchronous service log I found:

[2014-09-07 23:59:28.957] Process:CrmAsyncService |Organization:a5636d81-bac9-4320-bd45-ab4d2213b967 |Thread:   45 |Category: ExchangeSync |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId:  | ExchangeSyncWorker.SynchronizeACTs  ilOffset = 0x4C
 at ExchangeSyncWorker.SynchronizeACTs()  ilOffset = 0x4C
 at ACTProviderBase.Run()  ilOffset = 0x42
 at MailboxACTOperation.PerformOperation()  ilOffset = 0x2C
 at MailboxOperationBase`1.Execute()  ilOffset = 0xAA
 at MailboxProcessingOperation.PerformOperation()  ilOffset = 0x1A
 at MailboxOperationBase`1.Execute()  ilOffset = 0xAA
 at MailboxOperationCommand.InternalExecute(MailboxAsyncEvent asyncEvent)  ilOffset = 0x64
 at AsyncCallbackHandler`2.ResumeExecution(IAsyncEvent asyncEvent)  ilOffset = 0x56
 at AsyncEventExecutionManager`2.ExecuteHandler(IAsyncEventHandlerFactory handlerFactory)  ilOffset = 0x8A
 at PoolHandler.ProcessAsyncEvent(IAsyncEventExecutionManager asyncEventExecutionManager)  ilOffset = 0x144
 at AsyncEventOperation.<.ctor>b__2(IServiceOperation operation)  ilOffset = 0x0
 at FaultToleranceBehavior.Execute(ServiceOperationAction operation, IServiceOperation operationParameter)  ilOffset = 0x18
 at MonitoredOperation.Execute()  ilOffset = 0xD
 at ThreadPoolQueueExecutionEngine.InvokeNextOperationInThreadPool(Object state)  ilOffset = 0xC
 at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x70
 at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x4
 at QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()  ilOffset = 0x0
 at ThreadPoolWorkQueue.Dispatch()  ilOffset = 0xA2
>Exchange sync worker for the mailbox is failed/terminated : {33F8BE74-0A22-E411-80DA-00155D000B1D}. Exception details : Unhandled Exception: System.ArgumentNullException: Value cannot be null.
Parameter name: s

Server stack trace:
   at System.Convert.FromBase64String(String s)
   at Microsoft.Exchange.WebServices.Data.MapiTypeConverter.<.cctor>b__14(String s)
   at Microsoft.Exchange.WebServices.Data.MapiTypeConverterMapEntry.ConvertToValue(String stringValue)
   at Microsoft.Exchange.WebServices.Data.ExtendedProperty.TryReadElementFromXml(EwsServiceXmlReader reader)
   at Microsoft.Exchange.WebServices.Data.ComplexProperty.InternalLoadFromXml(EwsServiceXmlReader reader, XmlNamespace xmlNamespace, String xmlElementName, Func`2 readAction)
   at Microsoft.Exchange.WebServices.Data.ComplexProperty.LoadFromXml(EwsServiceXmlReader reader, XmlNamespace xmlNamespace, String xmlElementName)
   at Microsoft.Exchange.WebServices.Data.ExtendedPropertyCollection.LoadFromXml(EwsServiceXmlReader reader, String localElementName)
   at Microsoft.Exchange.WebServices.Data.ComplexPropertyDefinitionBase.InternalLoadFromXml(EwsServiceXmlReader reader, PropertyBag propertyBag)
   at Microsoft.Exchange.WebServices.Data.ComplexPropertyDefinitionBase.LoadPropertyValueFromXml(EwsServiceXmlReader reader, PropertyBag propertyBag)
   at Microsoft.Exchange.WebServices.Data.PropertyBag.LoadFromXml(EwsServiceXmlReader reader, Boolean clear, PropertySet requestedPropertySet, Boolean onlySummaryPropertiesRequested)
   at Microsoft.Exchange.WebServices.Data.EwsServiceXmlReader.ReadServiceObjectsCollectionFromXml[TServiceObject](XmlNamespace collectionXmlNamespace, String collectionXmlElementName, GetObjectInstanceDelegate`1 getObjectInstanceDelegate, Boolean clearPropertyBag, PropertySet requestedPropertySet, Boolean summaryPropertiesOnly)
   at Microsoft.Exchange.WebServices.Data.GetItemResponse.ReadElementsFromXml(EwsServiceXmlReader reader)
   at Microsoft.Exchange.WebServices.Data.ServiceResponse.LoadFromXml(EwsServiceXmlReader reader, String xmlElementName)
   at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.ParseResponse(EwsServiceXmlReader reader)
   at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ReadResponse(EwsServiceXmlReader ewsXmlReader)
   at Microsoft.Exchange.WebServices.Data.SimpleServiceRequestBase.ReadResponse(IEwsHttpWebResponse response)
   at Microsoft.Exchange.WebServices.Data.ExchangeService.InternalLoadPropertiesForItems(IEnumerable`1 items, PropertySet propertySet, ServiceErrorHandling errorHandling)
   at Microsoft.Crm.Asynchronous.EmailConnector.MonitoredExchangeService.LoadPropertiesForItems(IEnumerable`1 items, PropertySet propertySet, ExchangeItemType exchangeItemType)
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)

Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
   at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
   at Microsoft.Crm.Asynchronous.EmailConnector.ExchangeSyncSteps.LoadPropertiesForItemsStep.LoadPropertiesForItemsDelegate.EndInvoke(IAsyncResult result)
   at Microsoft.Crm.Asynchronous.EmailConnector.ExchangeSyncSteps.LoadPropertiesForItemsStep.EndRequest(IAsyncResult response)
   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()
.

and on IIS Exchange logs I found:

2014-09-07 20:41:24 192.168.0.15 POST /EWS/Exchange.asmx - 443 - 192.168.0.2 CRM/6.0.0.0/OnPremise+(ExchangeServicesClient/15.00.0516.014) 401 1 2148074254 0
2014-09-07 20:41:24 192.168.0.15 POST /EWS/Exchange.asmx - 443 mydom\svc.CRMImpresonation 192.168.0.2 CRM/6.0.0.0/OnPremise+(ExchangeServicesClient/15.00.0516.014) 200 0 0 31
2014-09-07 20:41:24 192.168.0.15 POST /EWS/Exchange.asmx - 443 - 192.168.0.2 CRM/6.0.0.0/OnPremise+(ExchangeServicesClient/15.00.0516.014) 401 0 0 0
2014-09-07 20:41:24 192.168.0.15 POST /EWS/Exchange.asmx - 443 - 192.168.0.2 CRM/6.0.0.0/OnPremise+(ExchangeServicesClient/15.00.0516.014) 401 1 2148074254 0
2014-09-07 20:41:24 192.168.0.15 POST /EWS/Exchange.asmx - 443 mydom\svc.CRMImpersonation 192.168.0.2 CRM/6.0.0.0/OnPremise+(ExchangeServicesClient/15.00.0516.014) 200 0 0 15
2014-09-07 20:41:24 192.168.0.15 POST /EWS/Exchange.asmx - 443 - 192.168.0.2 CRM/6.0.0.0/OnPremise+(ExchangeServicesClient/15.00.0516.014) 401 0 0 0
2014-09-07 20:41:24 192.168.0.15 POST /EWS/Exchange.asmx - 443 - 192.168.0.2 CRM/6.0.0.0/OnPremise+(ExchangeServicesClient/15.00.0516.014) 401 1 2148074254 0


I can't synchronize any contacts or appointments in any mailboxes. I have already follow this blog solution but without success:

http://quantusdynamics.blogspot.it/2013/11/dynamics-crm-2013-configuring-exchange.html

Could you help me?

Thank you

*This post is locked for comments

I have the same question (0)
  • Rob Dawson Profile Picture
    190 on at

    1. Enzo you should firstly check the security role permissions to include those below.. As far as I can see, they are undocumented dependencies

    Service Management:

    Calendar: create Org, read Org, Write Org, Append/To Org

    Browse availability: Org

    Business Management:

    Email Server Profile: read Org, Append/To Org

    Mailbox: read Org, write User, Append/To Org

    2. Check that the primary email address in Exchange for that user is the one configured in the User record in CRM. And ensure that the email address is Approved in the User record. The primary email address is also an undocumented dependency.

  • andiconti Profile Picture
    85 on at

    A couple things-

    You'll want to check security role permissions as Rob said below

    For server side synchronization-are you trying to send e-mails from CRM?  CRM online does not have it's own e-mail router, try pulling up outlook at the same time.  

    If you have windows 8, type Diagnostics in the search on your computer (or search for Diagnostics under CRM)

    A popup window will appear, make sure the first two boxes are checked and try again.

    Hope this helps....

  • Community Member Profile Picture
    on at

    Hello Rob,

    must I add the role permissione for the Server Side Sync Mail Profile Account o for the mailbox user account?

    I try them both but witouth any improvements.

    How do I check if e-mail address is approved?

    Thank you for your answer.

    Enzo

  • Community Member Profile Picture
    on at

    Hello Andy,

    I use CRM 2013 on Premise and Server Side Synchronization, not Outlook plug-in

  • Community Member Profile Picture
    on at

    Hello Enzo, To check whether email is approved or not for a user, add the field "Primary Email Status" to your Advanced Find Query or on the form.

    To Approve, you can simply select a User and click on Approve Email button the top

  • Community Member Profile Picture
    on at

    Hi Sameera,

    Thanks. I saw that I approved correctly the e-mail, but I still can't sync appointment and contacts.

  • Community Member Profile Picture
    on at

    Hello Enzo, I am also now facing same problem as yours. It syncs emails and not appointments,tasks and contacts. But in my case it is Exchange Online and CRM Online. Please let me know if you get any solution. I will also do if I get.

  • DotNetFabrik.SaS Profile Picture
    10 on at

    Same problem here, Error Code E-Mail-Server: Crm.80044113

    Already tried to track the problem down on packet level on the exchange server, but it seems that it's only sending the test mail. No communication regarding Contacts etc.

    If only Processing of Contacts, Appointments and Tasks is enabled, no communication between the servers is made!

    It seems that CRM throws the error without speaking to exchange.

  • Satish Tiwari - CRM Profile Picture
    on at

    Hello Enzo,

    Can you please let me know at what update rollup CRM 2013 server is ?

  • Community Member Profile Picture
    on at

    Hello Satish,

    I installed only SP1. I didn't install any other rollup.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans