Steps to Run the AD Sync Command:
- Open PowerShell as Administrator
- Click the Start button and type
PowerShell
. - Right-click Windows PowerShell and choose Run as Administrator.
- If prompted, confirm the action.
- Click the Start button and type
- Check if the Azure AD Sync Module is Installed
- Run:
Get-Module -Name ADSync -ListAvailable
- If nothing is returned, you may need to install the Azure AD Connect tools.
- Run the Delta Sync Command
- Type (or paste):
Start-ADSyncSyncCycle -PolicyType Delta
- Press Enter.
- Verify the Sync Operation
- Check the sync status by running:
Get-ADSyncScheduler
- This gives details on the last sync cycle.