Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Error message when you use Microsoft Dynamics CRM 3.0 Deployment Manager to change a user account in Active Directory: "An error occurred while changing user account"


View products that this article applies to.

Symptoms

When you use Microsoft Dynamics CRM 3.0 Deployment Manager to change a user account in the Active Directory directory service, you receive the following error message:
An error occurred while changing user account.
Note The user account in Active Directory is linked to a Microsoft Dynamics CRM user.

This problem occurs if the following conditions are true:
  • You have no domain administrator rights.
  • The Microsoft Dynamics CRM implementation uses the
    AutoGroupManagementOff
    registry key. This registry key prevents Microsoft Dynamics CRM from making updates to Active Directory.

↑ Back to the top


Cause

This problem occurs because Deployment Manager does not check the
AutoGroupManagementOff
registry key when you change the user account in Active Directory.

↑ Back to the top


Resolution

This problem was corrected in Microsoft Dynamics CRM 3.0 Update Rollup 3.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
935364Update Rollup 3 is available for Microsoft Dynamics CRM 3.0
A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

Microsoft Dynamics CRM 3.0 server

File nameFile versionFile sizeDateTimePlatform
Crmmsg.dll1.2.3297.12316,08829-Mar-200720:18x86
Mscrmcustom.dll3.0.5300.1605179,56029-Mar-200720:18x86
Sdtransform.dll3.0.5300.1639128,36021-Jul-200702:01x86
Crmhotfix.cdfNot applicable99423-Jul-200700:19Not applicable
Mscrmcustom.dll3.0.5300.1605179,56029-Mar-200720:18x86
Updspapi.dll6.1.22.0371,93629-Mar-200705:18x86

Installation information

Install this hotfix on computers that are running the Microsoft Dynamics CRM 3.0 server and the Microsoft Dynamics CRM 3.0 client for Microsoft Office Outlook.

After you apply the hotfix, verify that the AutoGroupManagementOff registry value under the following registry key is set to 1:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM

Prerequisites

You must have Update Rollup 2 for Microsoft Dynamics CRM 3.0 installed to apply this hotfix. For more information about Update Rollup 2, click the following article number to view the article in the Microsoft Knowledge Base:
927751 Update Rollup 2 for Microsoft Dynamics CRM 3.0 is available

Restart requirement

If you are prompted, restart the computer after you install the hotfix.

Removal information

To remove this hotfix from a computer that is running Windows Server 2003, Windows XP, or Microsoft Windows 2000, use Add or Remove Programs in Control Panel. System administrators can use the Spuninst.exe tool to remove this hotfix from a computer that is running Windows Server 2003, Windows XP, or Windows 2000.

The Spuninst.exe tool is located in the %Windir%\$NTUninstallKB937660$\Spuninst folder.

↑ Back to the top


More information

By default, the AutoGroupManagementOff registry value is set to 0. This means that the AutoGroupManagement functionality is turned on. In this case, when you remap a CRM user from one Active Directory account to another, CRM will automatically remove the old Active Directory user account from the UserGroup group in CRM and add the new Active Directory user account to this group. This action requires domain administrator rights. If you do not have administrator rights, the error message that is described above appears. If the AutoGroupManagement functionality is turned off and you remap a user, the affected users are not automatically added or removed from the UserGroup group in CRM. Instead, the userID in the config database is changed. In this scenario, a domain administrator must add and remove the affected users manually from the UserGroup group.

For more information about the terminology that is used to describe Microsoft software updates, click the following article numbers to view the articles in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
887283 Microsoft Business Solutions CRM software hotfix and update package naming standards

↑ Back to the top


Keywords: KB937660, kbmbsmigrate, kbqfe, kbhotfixserver, kberrmsg, kbautohotfix

↑ Back to the top

Article Info
Article ID : 937660
Revision : 5
Created on : 4/3/2008
Published on : 4/3/2008
Exists online : False
Views : 362