seems to me that's the command for Azure AAD Connect, not for Azure AD CLOUD SYNC. Am I correct?
Azure AD Cloud Sync force sync?
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?
2 answers
Sort by: Most helpful
-
-
Marilee Turscak-MSFT 33,801 Reputation points Microsoft Employee
2021-07-21T15:57:06.96+00:00 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.
- Run PowerShell