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 😉

Share:

Leave a Reply

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.