Azure AD Cloud Sync force sync?

Wayne Cutajar Johnston 11 Reputation points
2021-07-21T12:11:37.67+00:00

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?

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,457 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Willem Verwijs 11 Reputation points
    2023-01-09T12:24:22.967+00:00

    seems to me that's the command for Azure AAD Connect, not for Azure AD CLOUD SYNC. Am I correct?

    2 people found this answer helpful.

  2. Marilee Turscak-MSFT 33,801 Reputation points Microsoft Employee
    2021-07-21T15:57:06.96+00:00

    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.

    0 comments No comments