Check sync health and fix sync errors

Azure Portal, Hands On10 minutesLook onlySteps checked 17 October 2026By Cloud Hands On

In this task you'll check whether directory sync is healthy.

Once sync is running, someone has to watch it. When it stops, new staff can't sign in to the cloud and leavers keep their access, so checking sync health is a regular job.

The Microsoft Entra Connect pages show when sync last ran. Cloud Sync keeps a log of every change it makes, and Entra Connect Health (part of Entra ID P1) collects alerts and sync errors from Connect Sync servers.

Example. Ironbridge Payments gets a call: a new starter can't sign in. The service desk finds a sync error saying another user already has the same email address, fixes the duplicate in AD DS, and the user appears after the next sync.

Before you start

You need: Hybrid Identity Administrator or Global Reader. Time: 10 minutes.

Where to look

  1. Home
  2. Microsoft Entra ID
  3. Microsoft Entra Connect

Steps

  1. Open Microsoft Entra ID, then Microsoft Entra Connect under Manage. Select Connect Sync in the service menu and check Last sync.More than an hour ago usually means something has stopped. A banner may warn that legacy authentication for Connect Sync retires on 7 April 2027: servers need version 2.6.84.0 or later.
  2. For Cloud Sync, select Cloud Sync. The Configurations list shows each configuration's Status: Healthy, or errors and quarantine.
  3. Check Monitor, Agents: every agent should show active. An inactive agent means nothing syncs through it.
  4. In Cloud Sync's service menu, expand Monitor and open Provisioning logs. Use the Status and Action filter buttons along the top to see which users failed and why.
  5. For Connect Sync, select Microsoft Entra Connect Health under HEALTH AND ANALYTICS on the Connect Sync page, and look at the sync errors, if your tenant has Entra ID P1.
  6. Fix each error in AD DS, such as a duplicate email address, then wait for the next sync or use Provision on demand to retry one user.

Commands

# When did the last sync run? (through Microsoft Graph)
az rest --method get --url https://graph.microsoft.com/v1.0/organization \
  --query "value[0].onPremisesLastSyncDateTime" --output tsv

Watch out for

Cost
Reading sync status is free. Entra Connect Health needs Entra ID P1.
Security
Sync failures can leave leavers with working cloud accounts. Treat a stopped sync as a security issue, not just an inconvenience.
Common mistakes
Fixing the user in the portal instead of in AD DS, where the change will be overwritten. Ignoring sync alert emails because they look routine. Running an old Connect Sync version: versions before 2.5.79.0 were retired on 30 September 2026, and the portal shows a warning.

Clean up

Nothing to clean up. This task only reads.

Words to know

Sync cycle
One run of the sync. Connect Sync normally runs every 30 minutes.
Quarantine
Cloud Sync pauses a configuration that keeps failing, until you fix the cause.
Duplicate attribute
Two users with the same UPN or email address, the most common sync error.

Tick off each step and track your progress in the guide.

Open this task in Azure Portal, Hands On

Keep going