Windows Azure and Office365 – Preparing the environment to support synchronization

Share this:

Before starting the integration process with Windows Azure a couple of settings are required on both environments: on-premises and Windows Azure Active Directory. In this Tutorial we are going to cover these steps.

Enabling Synchronization in Windows Azure…

There is one step that needs to be done on the Azure console which is to enable the Directory Sync.

In order to do that we can go to Windows Azure Portal (, click on All Items, and then click on the directory listed on the right side. After that, click on the Directory Integration tab and switch the Directory Sync option to Activated, and click on save located at the bottom of the page.


After hitting the save button a confirmation will be required, click on Yes.

Note: By clicking yes we are accepting the fact that the Windows Azure Active Directory will receive information from the on-premises and some data may be overwritten in case of objects with the same name.


As result, we can see that the Directory Sync was changed to Activated and the information below informs us that the synchronization has never run.


Managing UPNs..

If you are planning to use single sign-on and also wants all your users synchronized to match the Custom Domain that you  added previously to Windows Azure, then you need you add a UPN in your on-premises Active Directory to match that Domain in Windows Azure.

In order to configure a UPN open the Active Directory Domain and Trusts, right-click on the first item on the left and click Properties.


Type in the name of the new UPNs and click on add and then OK.


Wait for the replication to take place and after that we will be able to change existent and new users to use the new UPN.

Modifying a single user…

If we want to modify a single user, we just need to the user’s properties using Active Directory Users and Computers, and on Account tab we can select our newly added UPN which matches the Windows Azure custom domain that we created previously.


Modifying several users..

There are several ways to modify a group of users. If you want to use Active Directory Users and Computers, just select all desired users and click on Properties.


Go to Account tab, and select UPN Suffix and select the UPN suffix and click on OK.


Written by Anderson Patricio

Anderson Patricio

Anderson Patricio is a Canadian MVP in Cloud and Datacenter Management, and Office Server and Services, besides the Microsoft Award he also holds a Solutions Master (MCSM) in Exchange and several other certifications. Anderson has been contributing to the Microsoft Community with articles, tutorials, blog posts, twitter, forums and book reviews. He is a regular contributor here at,, and Anderson (Portuguese).

Related Post

Azure Backup – Part 4 – System Center and Azure Ba... On the first post (see here), I explained how the Azure backup works. On this post, I’m explaining how to integrate Azure Backup with System Center Da...
Windows Azure and Office 365 – Managing a Cu... In this Tutorial we are going over the process to create a custom domain in your Windows Azure subscription and this task is key to enable any future ...
Windows Azure and Office 365 – Getting a fre... In this first article we will go over the process to subscribe on both Office365 and Windows Azure, and after that in our following Tutorials we will ...
Azure Backup – Part 3 – Backup Virtual Machines... On the first post (see here), I explained how the Azure backup works. On this post, I’m explaining how to backup Virtual Machines with Azure Backup. ...