Microsoft KB Archive/921544

= E-mail messages are not being transferred back into Microsoft Dynamics CRM through the Exchange Router =

Article ID: 921544

Article Last Modified on 5/3/2007

-

APPLIES TO


 * Microsoft Dynamics CRM 3.0

-





SYMPTOMS
E-mail messages are not being transferred back into Microsoft Dynamics CRM through the Exchange Router. Additionally, on the computer that is running Microsoft Exchange Server, the following error message is logged in the Application log:

Microsoft.Crm.Tools.ExchangeConnectorService.ExchangeSinkServiceException: Verifying before delivery message:  in mailbox:   failed (System.Net.WebException: The request failed with HTTP status 401: Unauthorized.

When you receive this error message, you may also experience a problem in which an e-mail activity in not created for a reply to a Microsoft CRM e-mail message that is sent from an internal Microsoft CRM user. This behavior occurs even though the Set whether to exclude e-mail is tracked in Microsoft CRM option is set to No.

Note When this option is set to No, you expect an e-mail activity to be created in Microsoft CRM for the e-mail message that you sent. Then, another e-mail activity is created in Microsoft CRM when you receive a reply to the e-mail message from the internal Microsoft CRM user.



Cause 1
This problem occurs if one or more of the following conditions are true:
 * The user who is running the Microsoft CRM-Exchange E-mail Router Service is not a domain administrator.
 * The Exchange server is not listed in the PrivUserGroup security group in Active Directory directory service.

Cause 2
This problem occurs if the client ServerUrl registry key points to an incorrect URL.



Resolution 1
To resolve this problem, use one of the following methods.

Method 1: Change the user who runs the Microsoft CRM-Exchange E-mail Router Service

 * 1) On the Exchange server, click Start, point to Administrative Tools, and then click Services.
 * 2) Right-click Microsoft CRM-Exchange E-mail Router Service, and then click Properties.
 * 3) On the Logon tab, click This Account. Then, enter the name of a user who is a member of the Domain Admin group.
 * 4) Click OK.
 * 5) Restart the service.

Method 2: Add the domain administrator user account or the Exchange server computer account to the PrivUserGroup security group in Active Directory
Note If you run the Microsoft CRM-Exchange E-mail Router Service as a domain administrator, you must add this domain administrator user account to the PrivUserGroup security group. If you run the service by using a local system account, you must add the Exchange server computer account to the PrivUserGroup security group.
 * 1) On the computer on which Active Directory is installed, click Start, point to Administrative Tools, and then click Active Directory Users and Computers.
 * 2) Expand your organization unit, right-click PrivUserGroup, and then click Properties.
 * 3) On the Members tab, click Add, and then enter the domain administrator user account or the Exchange server computer account.
 * 4) Click OK two times.

Resolution 2
To resolve this problem, follow these steps on the Exchange server on which the e-mail router is installed:  Click Start, click Run, type regedit, and then click OK. Locate and then click the following registry subkey:

 Double-click the ServerUrl key. Type the correct address in the following format:

http:// :

 Click OK. Restart the Microsoft CRM-Exchange E-Mail Router Services service.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
To view the Set whether to exclude e-mail is tracked in Microsoft CRM option, click Settings, click Organization Settings, click System Settings, and then click the E-mail Tracking tab.

Keywords: kbtshoot kbmbsmigrate kbprb kberrmsg kbmbsemail KB921544

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.