Azure AD Connect–Forcing synchronization using PowerShell

Share this:

If you are using Azure AD Connect and want to force a synchronization using PowerShell, stick around and we are going over the process. 

Solution


Solution

Perform a Delta Sync…

The synchronization process on the current release uses PowerShell, and here is the cmdlet required.

Start-ADSyncSyncCycle -PolicyType delta

image

image

Performing a Full Synchronization…

If the requirement is to perform a full synchronization, the following cmdlet can be used. Keep in mind

Start-ADSyncSyncCycle -PolicyType initial

When the cmdlet does not work from PowerShel…

The module that allows the cmdlets above is the ADSync.psd1 and it can be found here.

image

 

In case, the cmdlet is not available, the administrator can load the module by running the following cmdlet:

Import-Module “C:\Program Files\Microsoft Azure AD Sync\Bin\ADSync\ADSync.psd1”

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

New version of Azure Backup Server introduces Mode... WOW! What a day for me! Microsoft Azure just announces new and improved features on the new version Azure Backup Server. Let’s start! They announce...
Windows Azure e Office365 – Validating the synchro... In this final article of this Tutorial Series we will go over the process to create an user on-premises and what we have to do on our side to enable s...
Techgenix Article: Manage on-premises servers usin... Hello folks, Last week, I published an article explaining the process to configure SMT (Server Management Tool) which in Preview on Microsoft Azure. ...
Azure enhancement Site-to-Site VPN functionality After Scott Guthrie announce the new enhancements on Azure, last May, I was very excited with one in particular. Multi Site-to-Site VPN. This enhancem...