Created: 3-16-21
Updated: 3-16-21
A few commands I’m using all the time after making changes with on-premises Active Directory and I’m too impatient to wait for this happen on the default intervals:
# Install the AzureAD Sync module:
Import-Module ADSync# Check current intervals of AzureAD Connect:
Get-ADSyncScheduler# Initialize the AzureAD Sync immediately:
Start-ADSyncSyncCycle -PolicyType Delta# Force a complete sync but the length of sync time would be greatly increased:
Start-ADSyncSyncCycle -PolicyType Initial