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

Managing Hyper-V Server remotely through PowerShel... Working with PowerShell can be very common for daily tasks and Hyper-V Server management. However, as there is more than one server to be managed, som...
Getting the number of mailboxes per database in yo... How to create a single line PowerShell to retrieve the number of mailboxes per mailbox database in your organization. I was asked about that number in...
PowerShell and logon Scripts In this Tutorial we are going over the process to create a logon script using PowerShell and that will work for all systems running at least Windows S...
Updates on Hyper-V Server? How to see what had bee... When do you need to see what updates had been installed on your Hyper-V server, you can use this PowerShell cmdlet to list all the updates. Get-WmiOb...