Hi there,
I am attempting to get my on premise CRM environment to synchronize with our Exchange 2013 server for email processing. However, every time I attempt to test or enable a mailbox, it fails, with the following:
One or more mailboxes associated to the email server profile TEST have been disabled for receiving email because a server certificate that is required to connect to the email server using
SSL could not be validated. Make sure that a valid certificate is installed for Microsoft Dynamics CRM to connect to the email server. Then, enable the mailboxes for receiving email.
Email Server Error Code: Web.TrustFailure
This would seem to indicate that either the Exchange servers don't trust the certificate bound to IIS for the CRM front ends (issued by a domain certificate authority) or the CRM server doesn't trust the certificate Exchange is using, which is a public cert
issued by Digicert. I've verified from both servers that I can open the respective URLs in a browser from each server without an SSL warning, but the issue persists. The only other error I notice is in the event viewer on the CRM FE:
WebHost failed to process a request.
Sender Information: System.ServiceModel.Activation.HostedHttpRequestAsyncResult/9589632
Exception: System.Web.HttpException (0x80004005): There was no channel actively listening at 'https://<redacted>/TEST/xrmservices/2011/OrganizationData.svc/msdyn_PostConfigSet?$select=msdyn_EntityName,statecode&$filter=msdyn_EntityName eq 'mailbox''.
This is often caused by an incorrect address URI. Ensure that the address to which the message is sent matches an address on which a service is listening. ---> System.ServiceModel.EndpointNotFoundException: There was no channel actively listening at 'https://<redacted>/TEST/xrmservices/2011/OrganizationData.svc/msdyn_PostConfigSet?$select=msdyn_EntityName,statecode&$filter=msdyn_EntityName
eq 'mailbox''. This is often caused by an incorrect address URI. Ensure that the address to which the message is sent matches an address on which a service is listening.
at System.ServiceModel.Activation.HostedHttpTransportManager.HttpContextReceived(HostedHttpRequestAsyncResult result)
at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.HandleRequest()
at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.BeginRequest()
at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result)
Process Name: w3wp
Process ID: 2356
CRM is configured to use a service account that has been granted impersonation rights within Exchange.
Any ideas?