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

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

By Subhendu Das  •  September 25, 2014  •  2227 Views

Netwoven Blog

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

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 Synchronization
  • Confirm Deactivation. This is to stop further synchronization of users to Windows Azure

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.com
  • Select the domain drop down box and changed the domain to yourdomain@onmicrosoft.com
  • Choose not to change any license assignment or plan

3. Delete the verified domain from the current subscription.

  • Goto Admin Centre – Domains

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 subscription
  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.
  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.
  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 centre
  • Now you are ready to download, install and configure the dirsync tool.

C. Prepare Directory Synchronization for the New Subscription.

  • Activate Directory Synchronization in office 365

s11

  • Goto to users and groups and select Active Directory synchronization setup and choose ACTIVATE

s12

  • Directory synchronization is activated, it should reflect Deactivate

s13

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.

Subhendu Das

Subhendu Das

Subhendu Das is a technically competent IT Professional offering a distinguished career donning leadership roles for over 18 years primarily in IT Infrastructure Services along with a 12 years’ experience in IT Education Industry as a lead Educationalist. Subhendu has been working as a Senior Manager – IT Infrastructure with Netwoven and he is driving a team of IT Administrators and building sound IT Infrastructure for developers and remote servers in US. He is also actively involved with various client infrastructure migration, SharePoint, Exchange and Office 365 projects. Subhendu holds a Bachelor of Science from Calcutta University and also is a graduate from National Institute of Information Technology. He is a Microsoft Certified professional with certifications in MCSE, MCITP, MOS, MCTS, MCSA.

Leave a comment

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

Dublin Chamber of Commerce
Microsoft Partner
Microsoft Partner
Microsoft Partner
Microsoft Partner
Microsoft Partner
Microsoft Partner
Microsoft Fast Track
Microsoft Partner
Microsoft Fabric
MISA
MISA
Unravel The Complex
Stay Connected

Subscribe and receive the latest insights

Netwoven Inc. - Microsoft Solutions Partner

Get involved by tagging Netwoven experiences using our official hashtag #UnravelTheComplex