How to activate synchronization in Office365

Share this:

We are going over the process to enable synchronization in the new Office 365 Administration Center and also using PowerShell. 


In some scenario where the administrator is trying to synchronize directories between on-premises and Office365, the following error message may show up.


If you are using Admin Center Preview, the process is simple, click on Users, Active Users and then click on More and afterwards click on Directory Synchronization.  That will start a wizard which will enable the synchronization process.


Using PowerShell…

Another possible way is using PowerShell, these following cmdlets can be executed from a PowerShell session to enable synchronization.

import-module MsOnline

$credential = get-credential

Connect-MsolService -Credential $credential

Set-MSOLDirSyncEnabled –EnableDirSync $true


Written by Anderson Patricio

Anderson Patricio is a Canadian Exchange Server MVP and MCSM (Solutions Master) and he contributes to the Microsoft Community with articles, tutorials, blog posts, forums and book reviews. He is a regular contributor at, and (Portuguese).