So, we have a new instance of CRM 2013 installed on a fresh Windows Server 2012 R2. We want to configure the email router and when trying to “test access” we get an error like this:
Incoming Status: Failure - Type 'System.ServiceModel.Channels.ReceivedFault' in Assembly 'System.ServiceModel, Version=22.214.171.124, Culture=neutral, PublicKeyToken=b77a5c561934e089' is not marked as serializable.
There are multiple solutions. The most common one is to check that the user that is set in the Email Router for authentication with the crm is a valid domain user and he is part of PrivUserGroup in AD. This did not help me and so I turned on error logging and saw the following error:
Could not verify the version of Microsoft Dynamics CRM at [server name]. The server was unable to process the request due to an internal error.
This got me thinking, and as it turns out, the CRM Email Router is installing a service which by default set to run as a network account. But that user cannot connect to CRM because he is not set accordingly. So the solution was to put the service to run as a valid CRM user.