September 25, 2014

Moving from On-Premise to Office 365 / Windows Azure – Part 3

357 Views

Moving to Windows Azure / Office 365 Directory Sync to a different Office 365 Subscription for the same domain

Overview:

In my endeavor of setting up / planning office 365 migration, we always start with a trial subscription and finally when the preparation goes as planned, we realize that the trial setup is not good enough to be a production. Hence with the same setup we must migrate the dirsync to a different subscription to start all over again. Here are some steps that can be followed to achieve this.

A. Prepare existing subscription.

1. Deactivate Directory Sync to stop user from On-Premise Active Directory to be synced to Office 365

  • Goto Admin Centre Users and Groups
  • Select Deactivate option against Active Directory SynchronizationS1
  • Confirm Deactivation. This is to stop further synchronization of users to Windows Azure

S2

2. Remove User UPN suffix from office 365 for the deactivated domain. The domain that will be removed needs to be de-associated from all the existing users. This is done by changing all the user’s UPN suffix and change to the default office 365 domain (i.e.yourdomain@onmicrosoft.com)

  • Goto Admin Centre – Users and Groups
  • Select user by check box
  • Click on Edit button on right option panel
  • If there are multiple users, you can select all users and bulk edit themblog1
  • Select the domain drop down box and changed the domain to yourdomain@onmicrosoft.coms2
  • Choose not to change any license assignment or plan

3. Delete the verified domain from the current subscription.

  • Goto Admin Centre – Domains

s3

s4

B. Prepare new subscription

  1. The new subscription should have already come with a free domain like yourdomain@onmicrosoft.com. However you need to add the domain that you have removed from your old subscription into the new subscription. However, before you do that you have to add the necessary dns record with your domain registrant so that office 365 can verify your domain ownership.
  2. Add the new domain in your Office 365 subscriptions5s6s7
  3. After you add the new domain, office 365 auto detects the domain registrant and will prompt you for confirming ownership. If you have admin access to c-panel of your domain registrant, you can simply click on confirm ownership in the screen shot below and office 365 will automatically add all the necessary dns record to point the domain to Office 365. s8
  4. However, in case you do not happen to have domain registrant admin credentials, then you can fetch the manual dns records and pass it on to the admin who can add the dns record in their domain registrant and you can simply confirm the domain from the office 365 admin centre.
  5. Following are the manual dns records that needs to be added in the domain registrant c-panel.s9
  6. The list will give step by step details of all the dns records required. You can also choose your domain registrar from the drop down list.
  7. Once the dns records are added, you can select confirm ownership.
  8. On successfully verifying your domain, you should now see your domain active in office 365 admin centres10
  • Now you are ready to download, install and configure the dirsync tool.

C. Prepare Directory Synchronization for the New Subscription.

  1. Activate Directory Synchronization in office 365s11
  • Goto to users and groups and select Active Directory synchronization setup and choose ACTIVATEs12
  • Directory synchronization is activated, it should reflect Deactivates13

Conclusion

As we delve further into this series, I will be coming up with few articles that we all need sooner or later to tackle office 365 through script. You guessed it right, Windows Azure PowerShell and some quick command reference to perform the most common tasks.

3 Replies to “Moving from On-Premise to Office 365 / Windows Azure – Part 3”

Leave a Reply

Your email address will not be published. Required fields are marked *