Microsoft KB Archive/906462

= How to reconfigure the Microsoft CRM-Exchange E-mail Router to use a domain user account instead of a local system account =

Article ID: 906462

Article Last Modified on 2/13/2007

-

APPLIES TO


 * Microsoft Dynamics CRM 3.0

-



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



INTRODUCTION
This article describes how to reconfigure the Microsoft CRM-Exchange E-mail Router (the Router) to use a domain user account instead of a local system account.



MORE INFORMATION
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To reconfigure the Microsoft CRM-Exchange E-mail Router to use a domain user account instead of a local system account, follow these steps:  Add the domain user account to the PrivUserGroup group in Active Directory directory services. To do this, follow these steps.

Note The Microsoft CRM deployment trusts members of this group to create e-mail activities in Microsoft CRM.  On the domain controller, start Active Directory Users and Computers. To do this, click Start, point to Programs, click Administrative Tools, and then click Active Directory Users and Computers. Expand the tree, and then click the Microsoft CRM Organizational Unit. In the right panel, right-click the PrivUserGroup, and then click Properties. The PrivUserGroup Properties window opens. Click the Members tab. Click Add. Type the name of the domain user account, and then click Check Names. After the program resolves the name of the domain user account, click OK.</li> Click OK.</li></ol> </li> Grant the domain user account Full Control permissions on the designated Microsoft Exchange mailbox. To do this, follow these steps.

Note Full Control permissions include ReceiveAs and SendAs rights. The domain user account must have these rights in case the account is not the owner of the mailbox. <ol style="list-style-type: lower-alpha;"> On the Exchange server, start Active Directory Users and Computers.</li> Click View, and then click Advanced Features.</li> Right-click the designated Exchange mailbox, and then click Properties.</li> Click the Security tab.</li> Click Add.</li> Type the name of the domain user account, and then click Check Names. After the program resolves the name of the domain user account, click OK.</li> Click to select the Full Control check box, and then click OK.</li></ol> </li> If verbose logging is required, add the domain user account as a local administrator on the computer that is running the Microsoft CRM-Exchange E-mail Router. To do this, follow these steps.

Note If verbose logging is not required, skip this step and go to step 4. <ol style="list-style-type: lower-alpha;"> On the computer that is running the Microsoft CRM-Exchange E-mail Router, right-click My Computer, and then click Manage.</li> Expand Local Users and Groups, click Groups, and then double-click Administrators.</li> Click Add.</li> Type the name of the domain user account, and then click Check Names. After the program resolves the name of the domain user account, click OK.</li> Click OK.</li></ol> </li> <li>If the domain user account is used in an upgrade scenario, grant this account write permissions for the Microsoft CRM-Exchange E-mail Router Service.

Note Write permissions are required because the service must write to this subkey one time to indicate that the Router has delivered at least one e-mail message to the Microsoft CRM server. The updated subkey value indicates that the upgrade is complete on both ends. However, if the service account was changed after the upgraded Router has delivered at least one e-mail message to the Microsoft CRM server, you do not have to grant write permissions.

To grant the domain user account write permissions, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Click Start, click Run, type regedit, and then click OK.</li> <li>Locate and then click the following registry subkey:

HKEY_Local_Machine/SYSTEM/CurrentControlSet/Services/MSCRMExRouterService

</li> <li>On the Edit menu, click Permissions.</li> <li>Click Add.</li> <li>Type the name of the domain user account, and then click Check Names. After the program resolves the name of the domain user account, click OK.</li> <li>Click to select the Full Control check box, and then click OK.</li></ol> </li> <li>Change the Microsoft CRM-Exchange E-mail Router Service to run under the domain user account: <ol style="list-style-type: lower-alpha;"> <li>On the Exchange server, click Start, click Administrative Tools, and then click Services.</li> <li>Double-click Microsoft CRM-Exchange E-mail Router Service, and then click the Logon tab.</li> <li>Click This account, and then click Browse.</li> <li>Type the name of the domain user account, and then click Check Names. After the program resolves the name of the domain user account, click OK.</li> <li>In the Password box, type the password for the domain user account. In the Confirm password box, type the password, and then click OK.</li></ol> </li></ol>

Keywords: kbmbsemail kbinfo kbmbsmigrate kbhowto KB906462

-

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

© Microsoft Corporation. All rights reserved.