"Load Data" in Microsoft Dynamics CRM Email Router returns a "401 unauthorized" error message

cause:

The URL that is specified for your Microsoft Dynamics CRM deployment does not match the ADWebApplicationRootDomain value. 

Resolution:

. To do this, follow these steps:

Change the URL for your Microsoft Dynamics CRM deployment to match the value that you have in the ADWebApplicationRootDomain

1.  To determine the value of the ADWebApplicationRootDomain, run the following query against the MSCRM_CONFIG Database in SQL Server Management Studio:
    SELECT ColumnName, NVarCharColumn FROM DeploymentProperties WHERE ColumnName = 'ADWebApplicationRootDomain'

2. To determine whether your deployment is pointing to the correct URL, follow these steps:

A. Click Start, click Programs, click Microsoft Dynamics CRM E-mail Router, and then click Microsoft Dynamics CRM E-mail Router Configuration Manager.
B. Click the Deployments tab, and then open the deployment to which you cannot connect.
C. Verify that the URL in the Microsoft Dynamics CRM Server field matches the value in the ADWebApplicationRootDomain column.

For an example, if “CRMSERVER:5555” is in the ADWebApplicationRootDomain column, the value in the Microsoft Dynamics CRM Server field should be "http://CRMSERVER:5555/YOURORGNAME."  If the two values do not match, update the Microsoft Dynamics CRM Server field appropriately.

原文地址:https://www.cnblogs.com/janmson/p/1865612.html