"Load Data" in Microsoft Dynamics CRM E-mail Router returns a "401 unauthorized" error message

Article translations Article translations
Article ID: 2015091 - View products that this article applies to.
Expand all | Collapse all

Symptoms

When you click Load Data in the Microsoft Dynamics CRM E-mail Router Configuration Manager, you receive the following error message:

401 unauthorized

Cause

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

Resolution

Change the URL for your Microsoft Dynamics CRM deployment to match the value that you have in the ADWebApplicationRootDomain. To do this, follow these steps:

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.

Properties

Article ID: 2015091 - Last Review: August 26, 2010 - Revision: 4.0
APPLIES TO
  • Microsoft Dynamics CRM 4.0
  • Microsoft Dynamics CRM E-mail Router
Keywords: 
kbmbsmigrate KB2015091

Give Feedback