Tuesday, June 14, 2022

Manually Sync AD to Azure

 Sync active directory changes to Azure Manually. 




Changes from local active directory to Azure are not instantaneous. Except password resets, all other changes to any property of user accounts or group accounts take up to 30 minutes to be synced to Azure. 
You can speed up the process of getting the changes just made in your local AD to Azure by running a manual sync. 
Login to the Azure AD connect server (often called a sync server) . 
open a PowerShell command window and enter the following command . The command will submit all recent changes to Azure. 

        PS C:\> Start-ADSyncSyncCycle -PolicyType Delta 

Be sure to include Delta at the end of the command. This tells the syncing command to process changes. Don't run /initial. running with the initial option could cause some complications. 
If you have a large or spread out domain infrastructure such as domain controllers in different locations, it's best to run an active directory syn to sync all the local domain controllers first. 

Replicate and Sync ALL Domain Controllers

This can be done from a normal command prompt with admin privileges. This command will sync all domain controllers. 
 
Run   repadmin /syncall  /APeD  


Please share so others can find this post and solution faster. Thank you

Share/Save/Bookmark


 
 

1 comment:

Microsoft Enterprise Support said...

I found the repadmin command you specified for syncing all domain controllers a good method for ensuring AD is in sync. I recommend this action be taken before performing an Azure sync with the delta option.