Move-SPUser looks as correct approach for your scenario. E.g. in the following post it is used in similar scenario as yours: Migrate SharePoint Users from One Domain To Another using Move-SPUser. Try that with some single user account (or few accounts) and see will it work as you expect.
Help needed in migrating user from SharePoint 2016 to another domain
HI Team,
We are in the need to migrating SharePoint 2016 from one domain to another domain. We have created a new environment (in the new domain) and attached the databases. Now , we would need to migrate the user and we are confused whether we would need to user move-spuser or SPFarm.MigrateUserAccount Method as we are targeting to move the user at the farm level.
2 answers
Sort by: Most helpful
-
-
Emily Du-MSFT 47,296 Reputation points Microsoft Vendor
2022-04-05T10:36:54.417+00:00 Move-SPUser will translate all identities for a user across the entire farm and would be the appropriate method to use. I suggest you run following PowerShell as the Farm Administrator or a user with Full Control over the User Profile Service Application.
$user = Get-SPUser -Identity "DomainA\user1" -Web http://sitecollectionUrl Move-SPUser -Identity $user -NewAlias "DomainB\user1" -IgnoreSid
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.