This will (hopefully) be brief…


Here is the Scenario:

  • You have deployed Office365
  • You have an on-prem Domain Controller (hopefully more than one!)
  • You are using Azure AD Connect 1.1 or greater, (which is installed on one of your domain controllers)
  • You create or manage user accounts using your on-prem domain controllers
  • Whenever you create a new user or make a change in AD you have to wait around (up to 30 minutes) for Office365 to reflect the change



In previous version of AAD Connect there was a Windows Scheduled task that would periodically sync AD data to Office365.

In later/latest versions of the tool there is now a scheduling engine that is part of the tool which is set to do a “delta” sync (only updates/changes) every 30 minutes.

When you are working though you might not want to wait around 30 minutes.



Simple Solution:

Login to the domain controller with the AAD Connect tool installed and open an elevated powershell prompt. Run the following commands to force a delta sync right then and there:

Import-Module ADSync
Start-ADSyncSyncCycle -PolicyType Delta



Other Useful Commands:
If you need to do a “full sync” of the entire directory again:

Import-Module ADSync
Start-ADSyncSyncCycle -PolicyType Initial



Finally, if you want to check the status of the Sync Scheduling engine:

Import-Module ADSync
Get-ADSyncScheduler



That’s it!


This information was stolen from:
https://blogs.technet.microsoft.com/nawar/2016/02/25/forcing-synchronization-with-azure-ad-connect-1-1-aad-connect-1-1/

1 of 1

This post has no comments. Be the first to leave one!

Join the discussion

Your email address will not be published. Required fields are marked *