The Azure AD Connect tool has a default sync schedule to run every 30 minutes. However sometime you need changes you make to get sync-ed NOW! So from time-to-time it’s necessary to manually force Azure AD Connect to run and sync your on-prem AD up to Azure AD. This can be done with PowerShell as either a full sync or a delta sync.
If you’re running PowerShell on the server where AD Connect Sync resides, you can skip this step. Connect to the AAD Connect Sync server by running the following command to create a PSRemoting session. Replacing <SERVERNAME> with the name of your AD Connect server.
Enter-PSSession -ComputerName <SERVERNAME>
Import the ADSync module with the following command.
Run one of the following command to manually force the sync.
For a Delta Sync (most commonly use cases)
Start-ADSyncSyncCycle -PolicyType Delta
For a Full Sync (less common use cases)
Start-ADSyncSyncCycle -PolicyType Initial
If you used the “Enter-PSSession” command earlier, then you need to exit that session. Otherwise it will stay open even after terminating the connection. To close the “PSSession” use the following command: