How to change the user name and the logon name for a user record in Microsoft Dynamics CRM

This article describes how to change the user name and the logon name for a user record in Microsoft Dynamics CRM.

Applies to:   Microsoft Dynamics CRM 2011
Original KB number:   930853

In Microsoft Dynamics CRM, a user record is associated with an Active Directory user account. When you create a Microsoft Dynamics CRM user record, the user's Active Directory logon settings are also specified. The information about the user record is automatically read from the Active Directory directory service. For example, the information about the first name, the last name, and the e-mail address is read from Active Directory. Then, the information is stored in Microsoft Dynamics CRM. Additionally, the GUID of the Active Directory user account is also stored in Microsoft Dynamics CRM.

If you change the logon name of a Microsoft Dynamics CRM user record in Active Directory, Microsoft Dynamics CRM can no longer use the logon name to locate the user in Active Directory. Therefore, the Microsoft Dynamics CRM user cannot log on to Microsoft Dynamics CRM.

To make sure that a user can successfully log on to Microsoft Dynamics CRM, change the user name and the logon name for the user record in Microsoft Dynamics CRM. To do this, follow the steps:

  1. Modify the user account in Active Directory. For example, change the user name, and then change the logon name.

  2. Open Microsoft Dynamics CRM as a System Administrator user.

  3. Select Settings, select Administration, select Users, and then open the user record that you want to change.

  4. In the Domain Logon Name box, type an Active Directory user account that is not used by a Microsoft Dynamics CRM user record.

    Note

    If all the Active Directory user accounts are used by Microsoft Dynamics CRM user records, create a temporary Active Directory user account.

  5. Select Save.

  6. In the Domain Logon Name box, type the Active Directory user account. Then, select Save and Close.

    Note

    The Active Directory user account that you type in this step is the account that is used by a Microsoft Dynamics CRM user record. The Microsoft Dynamics CRM user record is the record for which you want to change the user name and the logon name in Microsoft Dynamics CRM.