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.

When user account information is changed in Active Directory Domain Services (AD DS), the User name and Account name information is not synchronized correctly after you import a profile in SharePoint Server 2007


View products that this article applies to.

Symptoms

Consider the following scenario.
  • You create a user account that is named User A, and you add User A to a Microsoft Office SharePoint Server (MOSS) 2007 Web application.
  • You import the user profile information in a SharePoint Server 2007 Web application, and the profile synchronization timer job runs.
  • User A logs off from the MOSS Web site.
  • You use Active Directory Domain Services (AD DS) to rename User A to User B, and you also change the information for the Account name.
  • You import the new user profile information, and the profile synchronization timer job runs.
  • User B logs on to the MOSS site.
In this scenario, when User B clicks My Settings in the MOSS 2007 Web application, the User name box and the Account name box still display the information for User A.

↑ Back to the top


Cause

This problem occurs because the profile synchronization timer job does not correctly synchronize the changes in the User name and Account name information.

↑ Back to the top


Resolution

To resolve this problem, open a command prompt, type the following command, and then press ENTER:
stsadm.exe -o migrateuser -oldlogin <Domain name\Old user name> -newlogin <Domain name\New user name> -ignoresidhistory
Important Run this command only on user accounts that are in the same domain. Otherwise, you may experience permission problems.



This command automatically updates the account name, and the command maintains the correct permissions for the account.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


Keywords: kbentirenet, kbexpertiseinter, kbtshoot, kbprb, kb

↑ Back to the top

Article Info
Article ID : 953131
Revision : 1
Created on : 1/7/2017
Published on : 1/7/2017
Exists online : False
Views : 289