
Just enabled mailbox for a user which has "System Administrator" sec role with this "Synchronization Method":
Incoming: Server-Side Synchronization or Email Router
Outgoing: Server-Side Synchronization or Email Router
Appointments, Contacts, and Tasks: Server-side Synchronization
And after save and "Test & Enable Mailbox" it shows me everything is successful, and i can send emails but no emails is received even after couple of days, also I can send and receive emails using outlook and everything is fine.
After enabling log and digging i found the following error:
[2017-10-15 15:12:01.671] Process:CrmAsyncService |Organization:3f684a68-93bf-e611-80d5-000c2950db68 |Thread: 86 |Category: EmailConnector |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 00000000-0000-0000-0000-000000000000 |ActivityId: 2c30049b-5f52-40e6-a1d3-99a1c2e6747f | EmailConnectorTraceHandler.EmailConnectorTraceFormat ilOffset = 0x163 >Exception occurred while retrieving folder data from exchange server. Exception: Unhandled Exception: System.Net.WebException: The request failed with HTTP status 401: Unauthorized. > at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) > at System.Web.Services.Protocols.SoapHttpClientProtocol.EndInvoke(IAsyncResult asyncResult) > at Microsoft.Crm.Asynchronous.EmailConnector.ExchangeServiceBinding.EndFindItem(IAsyncResult asyncResult) > at Microsoft.Crm.Asynchronous.EmailConnector.FindItemsStep.EndCall() > at Microsoft.Crm.Asynchronous.EmailConnector.ExchangeIncomingEmailProviderStep.EndOperation() > [2017-10-15 15:12:01.686] Process:CrmAsyncService |Organization:3f684a68-93bf-e611-80d5-000c2950db68 |Thread: 86 |Category: EmailConnector |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 00000000-0000-0000-0000-000000000000 |ActivityId: 2c30049b-5f52-40e6-a1d3-99a1c2e6747f | EmailConnectorTraceHandler.EmailConnectorTraceFormat ilOffset = 0x163 >Logging request/response headers in: ExchangeIncomingEmailProvider for AsyncEvent: 02a5edb9-871f-4945-9589-6192eb2c0423, Mailbox: b837fe5c-6fc7-e611-80d8-000c2950db68 -- >User-Agent: CRM/8.0.0.0/OnPremise, >client-request-id: c0187f9a-ed31-4950-8c40-69094f0c7567, >return-client-request-id: true, >Content-Type: text/xml; charset=utf-8, >SOAPAction: "schemas.microsoft.com/.../FindItem", >Host: mail.mydomain.net, >
Don't know what causing "401: Unauthorized" error. Any help or suggestion would be appreciated.
*This post is locked for comments
I have the same question (0)Hi Shakib,
Please find the following link.
community.dynamics.com/.../230389
Not sure, but this might helpful...
Thanks,
Jagannath