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. 

Solution


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

image

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.

image

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

image

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 ITPROCentral.com, MSExchange.org, Techgenix.com and Anderson Patricio.org (Portuguese).

Related Post

How to upload a custom image to Azure If you developed your standard Windows or Linux operating system image for installation on on-premises computers, you might want to use the same image...
How to install Microsoft Azure PowerShell In this Tutorial we are going over the process to install Microsoft Azure PowerShell and we can use the same procedure to update several other compone...
PowerShell Script to fix Exchange Server 2013 Secu... I wrote the following PowerShell script to help fixing the issue reported by Microsoft Exchange Team (http://blogs.technet.com/b/exchange/archive/2013...
MSExchange.org Article: Removing domains in Office... Hello folks, I wrote an article for MSExchange.org explaining the process to remove a domain in Office365. The process to remove a domain may no...