Field Notes
Manually Run an Azure AD Connect Synchronization Using PowerShell
Sometimes you need to replicate changes between your on-premise Active Directory and Azure, but don't want to wait for the next scheduled sync. In these cases, the ADSync PowerShell module provides a very easy way to force synchronization.
Instructions
-
Open a PowerShell Prompt.
-
If you are running PowerShell from the server that Azure AD Connect is installed, skip to the next step. Otherwise, connect to the Server running Azure AD Connect.
Enter-PSSession -ComputerName Server01
Replace Server01 with the name of the server hosting Azure AD Connect in your environment.
-
Ensure that the ADSync module is loaded.
Import-Module ADSync
-
Perform Delta or Full AD Connect Synchronization.
-
Delta Sync (Most Common)
Start-ADSyncSyncCycle -PolicyType Delta
-
Full Sync
Start-ADSyncSyncCycle -PolicyType Initial
-