question

WayneCutajarJohnston-8859 avatar image
0 Votes"
WayneCutajarJohnston-8859 asked MarileeTurscak-MSFT answered

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?

azure-ad-cloud-provisioning
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MarileeTurscak-MSFT avatar image
0 Votes"
MarileeTurscak-MSFT answered

To force a sync:

  1. Run PowerShell
    116796-image.png


  2. Run the following command to install the AzureAD Sync module:



    Import-Module ADSync

  3. 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.


  1. 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.


image.png (196.2 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.