How do you force an azure ad connect cloud sync? It's supposed to sync every 2 minutes but I'm testing it out by adding some test users and they still have not synced. Any idea?
How do you force an azure ad connect cloud sync? It's supposed to sync every 2 minutes but I'm testing it out by adding some test users and they still have not synced. Any idea?
To force a sync:
Run PowerShell

Run the following command to install the AzureAD Sync module:
Import-Module ADSync
Review the current intervals AzureAD Connect uses to sync by running the following command.
Get-ADSyncScheduler
NOTE: The report should show intervals of 30 minute syncs and a sync policy type of Delta. A sync policy type of Initial is usually shown after Azure AD Connect's initial sync but can also be forced as detailed in the next step.
Now run the following command to initialize the AzureAD Sync immediately.
Start-ADSyncSyncCycle -PolicyType Delta
NOTE: This will only sync current changes. Run the following command to force a complete sync but note that the length of sync time would be greatly increased.
Start-ADSyncSyncCycle -PolicyType Initial
Source: How to Force Azure AD Connect to Sync
If this answer helps resolve your question, please remember to "mark as answer" so that others in the community with similar questions can more easily find a solution.
3 people are following this question.