we changed some upn in AD and the usernames did not updated and could not login. Once we restarted the server with sharepoint apps they could log in but if they go to username > My settings they still see the old user name. (Sharepoint 2010)

In this case of one user it will be

Move-SPUser -Identity "DOMAIN\jdoh" -NewAlias "DOMAIN\jdoe"

Will solve it only for one person. Is there a way how to update the usernames for everybody at once ?

Disclaimer: Apologize I'm not sharepoint expert.

Thank you ! Jim

1 Answer 1


1st thing, I would recommend to run the FUll User Profile Sync followed by a Incremental Sync. After that Check the user's if it fix the problem.

Yes, Move-SpUser only move 1 users( one who is mentioned in the command). You have to run this command for all user one by one. Or write some kind of script which run for everybidy. Check the below blog, he wrote a script to run for all users in web app.


  • Hi, unfortunately there is no such thing as 'User Profile Service Application' in SharePoint Foundation
    – SkyDive
    Jan 19, 2015 at 8:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.