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

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