• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Cloud Engineer - Everton Collins

Work by Everton Collins

  • Home
  • Discovery
    • Consulting
    • SEO Discovery
    • PPC Consulting
    • Website Quote
    • Website Redesign
    • Web Maintenance
    • Mobile app Development
  • Services
  • About
  • Contact

Get-ADSyncScheduler

Azure AD Connect sync: Scheduler

March 20, 2017 By Everton

Azure AD Connect sync synchronize changes occurring in your on-premises directory using a scheduler. There are two scheduler processes, one for password sync and another for object/attribute sync and maintenance tasks. This topic covers the latter.

In earlier releases, the scheduler for objects and attributes was external to the sync engine. It used Windows task scheduler or a separate Windows service to trigger the synchronization process. The scheduler is with the 1.1 releases built-in to the sync engine and do allow some customization. The new default synchronization frequency is 30 minutes.

The scheduler is responsible for two tasks:

  • Synchronization cycle. The process to import, sync, and export changes.
  • Maintenance tasks. Renew keys and certificates for Password reset and Device Registration Service (DRS). Purge old entries in the operations log.

The scheduler itself is always running, but it can be configured to only run one or none of these tasks. For example, if you need to have your own synchronization cycle process, you can disable this task in the scheduler but still run the maintenance task.

Scheduler Configuration

We can view the current configuration settings by using PowerShell run the following command. (view article connecting to Azure PowerShell )

Get-ADSyncScheduler

It will show you something like this:

Get-ADSyncScheduler

Starting the scheduler

By default AAD Connect will run every 30 minutes, I wanted to change the scheduler sync from every 30 minutes to every hour, so I would run the following command, changing the time to 1 hr

Example: Set-ADSyncScheduler -CustomizedSyncCycleInterval 01:00:00

See the results

Example: Set-ADSyncScheduler -CustomizedSyncCycleInterval 01:00:00
There will be times and quick regular where you will have created users on premise and made edits to user account in Active Directory and then want to resync those changes back over to the cloud in between regular cycles or you need to run different types.

Delta Sync cycle:

A Delta sync cycle includes the following steps:

  • Delta import on all Connectors
  • Delta sync on all Connectors
  • Export on all Connectors

You may have the need for an urgent change that must be synchronized immediately, which is why you need to manually run a cycle. If you need to manually run a cycle, then from PowerShell run Start-ADSyncSyncCycle -PolicyType Delta.

Full sync Cycle:

If you have made one of the following configuration changes, you will need to run a full sync cycle ( or initial sync)

  • Added more objects or attributes to be imported from a source directory
  • Made changes to the Synchronization rules
  • Changed filtering so a different number of objects should be included

If you have made one of these changes, then you need to run a full sync cycle so the sync engine has the opportunity to reconsolidate the connector spaces. A full sync cycle includes the following steps:

  • Full Import on all Connectors
  • Full Sync on all Connectors
  • Export on all Connectors

To initiate a full sync cycle, run Start-ADSyncSyncCycle -PolicyType Initial from a PowerShell prompt.

This command starts a full sync cycle.

Filed Under: Azure AD Connect, Azure Powershell, Office 365 Tagged With: Azure AD Connect sync: Scheduler, Get-ADSyncScheduler

Primary Sidebar

Search

Our Seal

Tags

#TwitterLists (1) Authorize.Net (1) Authorize.Net - Online Payment Services (1) Azure Active Directory Premium (1) Azure AD Connect sync: Scheduler (1) Azure Identity Protection - Enterprise Mobility + Security (1) Azure sign-in (1) Azure Sign-in Reporting (1) click Accessories (1) click All Programs (1) click Windows PowerShell (1) Compliance (1) ESXi server datastore (1) etc (1) Exam SC-900: Microsoft Security (1) Exchange Server build numbers (1) Exchange Server Updates: build numbers and release dates (1) Get-ADSyncScheduler (1) Get-CsTenant (1) Get-ExchangeServer (1) https://portal.azure.com (1) Identity Types within Azure AD (1) Inplace Azure Ad Connect Upgrade (1) IP address is blocked by all of Microsoft's domains (1) ip blocked by outlook.com (1) Microsoft Azure: See who has been using Microsoft Teams (1) Microsoft M365 EnterPrise Tenant Sign-up (1) Microsoft Teams usage (1) Office 365 (1) Online meetings and conferences (1) or Windows Server 2012 R2 do the following: Click Start (1) PowerShell Licensing (1) Powershell Skype for Business Reports (1) Receive Payments Quickly (1) SC-900 (1) Sign-in activity reports in the Azure Active Directory portal - preview (1) Skype for Business reports (1) To create a remote connection to Skype for Business Online (1) Virtual Machine (2) VMWare ESXi 6.0 (1) vSphere Esxi 6.0 - Uploading iso to ESXI VM (1) What can Virtual Box be used for? (2) Windows 10 Enterprise (1) Windows Server 2008 R2 (1) Windows Server 2012 (1)

Copyright © 2025 · Everton Collins · Privacy Policy

  • Home
  • Services
  • About
  • Discovery
  • Contact