Paso a paso: Forzar cincronización de Azure AD con AD On-Premise

Azure AD Sync is Microsoft’s tool utilized to sync an on-premises Active Directory implementation with Azure AD. Azure AD will sync every 3 hours when implemented in a synchronization model by default. For some, 3 hours is too long of a gap to enable synchronization.

There are two ways to address this to quicken the sync.

  1. Reduce sync intervals by changing the Default 3 hour
  2. Forcefully sync data with Azure AD and PowerShell

This demo uses an on-premise AD server running Windows Server 2016 TP4.

Option 1: Changing  Default Sync Schedule

  1. Log on to the On-premises AD server that contains the AD sync tool installed as Domain/Enterprise admin
  2. Navigate to > Task Scheduler Azure AD Sync Scheduler 


  3.  Double click on the schedule > triggers tab. Double click on trigger to edit and define the time to sync.adsync2
  4. When you save it will ask which user account to use for the job. You can define service account to run this task.

Option 2: Forcefully sync data with Azure AD and PowerShell

  1. Log on to the On-premises AD server which have AD sync tool installed Domain/Enterprise admin and load the PowerShell with admin privilegesadsync3
  2. Change directory to C:\Program Files\Microsoft Azure AD Sync\Bin 


  3. Run .\DirectorySyncClientCmd.exe which will run the sync adsync5

Fuente: Microsoft

A %d blogueros les gusta esto: