[Reference] How to execute initial or delta sync via command-line

[Reference] How to execute initial or delta sync via command-line

  • Comments 5
  • Likes

Overview

If you un-check the box in the configuration wizard to prevent the initial synchronization from happening, you can fire the initial synchronization using DirectorySyncClientCMD.Exe.

File:

  • DirectorySyncClientCmd.Exe

Location:

  • %programfiles%\Microsoft Azure AD Sync\Bin
  • %programfiles%\Microsoft Azure AD Connection Tool

Arguments

    • Initial – (DirectorySyncClientCMD Initial)
      • This will run through the steps to execute the initial synchronization to the cloud.
      • Executes the following:
    • Full Import (Stage Only) on all connectors
    • Delta Import (Stage Only) on all connectors
    • Delta Synchronizaiton on all AD connectors
    • Export, Delta Import and Delta Synchronization on WAAD Connector
    • Export on all AD Connectors

    • Delta - (DirectorySyncClientCMD Delta)
      • This will run through the steps to execute a delta synchronization to the cloud
      • Executes the following:
        • Delta Import (Stage Only) on all connectors
        • Delta Synchronization on all AD connectors
        • Export, Delta Import and Delta Synchronization on WAAD Connector
        • Export on all AD Connectors

Comments
  • How to force full sync if required

  • Run the following :
    DirectorySyncClientCmd.exe initial

  • If AADsync is using OU filtering and OUs are added or removed, is an initial or delta synchronization required? In DirSync, changes such as OUs would required a full import/full sync.

  • Would love to know why the initial switch only appears to work once and then afterwards only runs a delta even when the parameter is specified. Any time a change is made to OU selection or scope filters a full sync is necessary.

  • This is an excellent article! If you have a business, search engine optimization is a must. Find out how we can help you by visiting our website: interactivesearchmarketing.com

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment