Microsoft Knowledge Base Email Alertz

KBAlertz.com: 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

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]






Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

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

Article ID:953131
Last Review:June 18, 2008
Revision:1.0

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. To update the user name for the user account that is updated, follow these steps:
1.Log on to the MOSS Web application.
2. Click My Settings, click Edit Item, and then change the user name.

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


APPLIES TO
•Microsoft Office SharePoint Server 2007

Back to the top

Keywords: 
kbexpertiseinter kbtshoot kbprb KB953131

Back to the top

   

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please