Office 365/Azure: Force sync from Azure AD Connect to Office 365/Azure

Azure AD Connect (AAD Connect) sync runs every 30 minutes. There are some situations, where you may want to force this earlier, in ex. of a new user you have created on-premise, and need this to be sync’ed to the cloud asap. This is luckily easy, through PowerShell, logon to the server where AAD Connect is installed and type the following to import the AAD Connect PowerShell module:

Import-Module ADSync

No to check the settings of the scheduler, and see if it’s already syncing:

Get-ADSyncScheduler

To force a delta sync (Only changes since last sync), type:

Start-ADSyncSyncCycle -PolicyType Delta

Check if it started:

If you want to force an initial sync (full), type this:

Start-ADSyncSyncCycle -PolicyType Initial

Then wait until “SyncCycleInProgress” is “False” again, and you should see the changes applied, in the cloud 😉

Leave a Comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close