1

I migrated my SharePoint 2016 from one domain to other ABC to XYZ. But the user which are showing in SharePoint site is still the older one, is their any way that I can change my users domain to new one XYZ with the help of script.

Move-spuser will take huge time and effort.

2 Answers 2

2

you have to use the move-spuser command to move the users from one domain to other. what you can do,

  • create a CSV files which contains all ids
  • Now create powershell script which loop through all ids from csv and run the move-spuser.

here are two examples which may help you.

Migrating bulk SharePoint Users

Migrate SharePoint UserProfiles from one Domain to another

1

Just like Waqas said, you will have to use Move-SPUser. Just to add - You can use

$farm.MigrateGroup($.oldlogin, $.newlogin) to migrate security AD groups.

Scirpts you can have a look at https://www.sharepointdiary.com/2014/12/migrate-sharepoint-users-from-one-domain-to-another.html

Your Answer

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