0

Our present Active Directory is version 2003. We're going to upgrade to 2012 version. In addition, we'll be migrating all users from one domain to another (let's call it from OldDom\user.name to NewDom\user.name ).

All my service accounts are already in NewDom. I have never touched them because they were setup by a third-party.

Do I need to do something to ensure they keep running?

Can I tell Sharepoint to recognize the logins from the NewDom as the same entities from OldDom?

I know this is a huge question, and I am quite the noob in this respect, so links to reliable documentation would be appreciated. Another outside consultant has been engaged to assist them.

I am concerned. I'd like some advice on intelligent questions to ask.

2 Answers 2

1

Old Domain: OldDom New Domain: NewDom

Step 1: Preparations before migrating servers

  1. Check if the SharePoint Central Administration’s Application Pool is running under Network Service or using a Domain Account
    • Open IIS manager –>Expand Web Sites –> Right Click on SharePoint Central Administration –> Properties –> Home Directory Tab and then locate the Application Pool mapped
    • Right click on the Application Pool and then Click on then Identity Tab.
    • Note: If the Application Pool is running under Network Service then we can skip the next step.
  2. Create a new service account in the new domain (NewDom)
  3. Open SQL Management Studio and backup all the SharePoint related databases including configuration database.

Step 2: Making SharePoint Server a member server of a Different Domain

  1. Right click on My Computer
  2. Click on Properties
  3. Under Computer Name click on Change…
  4. Set it to Workgroup (Restart)
  5. After the restart of the server, join the server back to the domain following 1 – 3 section however, pointing it as a member of new domain (CONTOSO.COM).

Step 3: Setting up Service Account Rights:

  1. Add the newly created service account to the Local Administrator, WSS_WPG, WSS_ADMIN & IIS_WPG group
  2. To do so follow:
  3. Right click on My Computer
  4. Click on Manage
  5. Expand Configuration and then expand Local Users and Groups
  6. Click on Groups and then from the right pane double click on the appropriate group as mentioned above and add the service account.

Step 4: SQL Permissions:

  1. We have to setup appropriate permission for the new service account in order to make SharePoint Work.
  2. Open SQL Management Studio and then connect to the server
  3. Expand Security
  4. Right click on Logins and select new login
  5. Under Login name specify the new service account
  6. Click on Server Roles and Check (DBCreator & SecurityAdmin)
  7. Click on User Mapping and then Check the SharePoint related databases one at a time giving DB_Owner Rights.

Step 5: Updating Service Account:

  1. To update SharePoint with the new service account we have to execute following commands on all the SharePoint Servers.
  2. Open CMD and navigate to cd %commonprogramfiles%\Microsoft Shared\Web server extensions*\Bin
  3. stsadm -o updatefarmcredentials -userlogin CONTOSO\ServiceAccount -password NewPassword
  4. stsadm -o updateaccountpassword -userlogin CONTOSO\ServiceAccount -password NewPassword -noadmin
  5. stsadm.exe -o spsearch -farmserviceaccount CONTOSO\ServiceAccount -farmservicepassword NewPassword
  6. stsadm.exe -o spsearch -farmcontentaccessaccount CONTOSO\ServiceAccount –farmcontentaccesspassword NewPassword
  7. stsadm.exe -o editssp -title SharedServicesProviderName -ssplogin CONTOSO\ServiceAccount -ssppassword NewPassword
  8. stsadm.exe -o osearch -farmserviceaccount CONTOSO\ServiceAccount -farmservicepassword NewPassword

Step 6: Confirm Site loads:

Using the new farm service account attempt to load the SharePoint Central Administration, once it loads successfully attempt to load the Portal Site using the same account.

Step 7: Migrating User Accounts:

  1. Warning: Before you begin ensure that we have migrated all the AD user accounts to the new domain.
  2. Note: When a user is migrated in Active Directory, the Security Identifier (SID) changes for the user. Additionally, the logon information for the user might be changed. Windows SharePoint Services and Microsoft SharePoint Portal Server 2003 store user information based on both the user SID and the user logon information. When the user SID or the user logon information changes in Active Directory, Windows SharePoint Services must be updated with the new user information before the user can access Windows SharePoint Services successfully.
  3. In order to map the old domain account to the new domain account in SharePoint execute following.
  4. Open CMD and navigate to cd %commonprogramfiles%\Microsoft Shared\Web server extensions*\Bin
  5. Execute: stsadm -o migrateuser -oldlogin DOMAIN\user -newlogin DOMAIN\user -ignoresidhistory
  6. Where OldLogin = User account from the old domain for e.g., FABRIKAM\SUSHRAO
  7. And the Newlogin = Migrated user account CONTOSO\SUSHRAO
  8. To migrate the Security Group
  9. stsadm –o migrategroup –oldlogin Domain\group –newlogin Domain\group
  10. Where OldLogin = security group from the old domain for e.g., FABRIKAM\HR
  11. And the Newlogin = Migrated group CONTOSO\HR

Source - http://blogs.technet.com/b/sushrao/archive/2011/12/02/sharepoint-migrating-sharepoint-server-from-one-domain-to-another.aspx

0

this command, shown here

https://technet.microsoft.com/en-us/library/ff607729%28v=office.15%29.aspx

Move-SPUser -Identity "DomainA\JaneDoe" -NewAlias "DomainB\JaneDoe"

didn't quite work, so I used

$t = get-spuser "OldDom\User.Name" -web MyWeb
Move-SPUser -Identity $t -NewAlias "NewDom\User.Name"

Your Answer

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

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