1

Is it possible to copy userAccount from One AD Domain e.g, DomainA\User to another Domain e.g, DomainB\User in sharepoint 2007? Is it possible with powershell? And is the copy operation will also copy all the permissions/references associated with userAccount?

I need help with sample powershell script or code snippet to understand

  • Both domain have the Trust and user from both domain already in sharepoint? – Waqas Sarwar MVP Nov 25 '14 at 14:09
1

This is 2 step exercise and yes you can keep the permissions intact.

  1. you have to move/copy all your required users from Domain A to Domain B. Check this technet for how to move it using powershell.
  2. Once all user in Domain B, then you have to run the Migrate User stsadm command to update user profile with correct domain. This will preserve all their permissions.

    stsadm -o migrateuser –oldlogin –newlogin [-ignoresidhistory]

Check this if you want bulk migrate user. .

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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