AADSync or Azure AD Synchronization tool is used as a standalone product or more recently packages with AADConnect (Azure AD connect).

Behind the scene, the AADSync is based on the synchronization engine of FIM (Forefront Identity Management from MS).

Here are list of tip and tricks to use the AADSync tool:

AADSync technet ref: https://msdn.microsoft.com/en-us/library/azure/dn790204.aspx

AADSync blog: http://blogs.technet.com/b/aadsyncsupport/

DirectorySyncClientCmd.exe and it can be found at C:\Program Files\Microsoft Azure AD Sync\Bin folder if you are using the default installation path.

To force a full synchronization (after modifying connectors and filtering): DirectorySyncClientCmd.exe 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

To force a delta synchronization: DirectorySyncClientCmd.exe 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

 

How to backup the backend SQL DB on LocalDB: http://blogs.technet.com/b/aadsyncsupport/archive/2014/07/28/reference-how-to-backup-the-backend-sql-db-on-localdb.aspx

Multi-Forest AD Synchronization and Attribute Filtering: http://jesperstahle.azurewebsites.net/?p=1542