Microsoft Entra Connect and Cloud Sync Health Check
When a new hire “doesn’t exist in Microsoft 365” or a changed title never shows up, the problem is usually sync. This guide is a quick health check for Microsoft Entra Connect Sync and Microsoft Entra Cloud Sync: is it running, which object is stuck, and how to fix the two most common export errors.
Before you start
- Role: at least Hybrid Identity Administrator for the admin center checks and the troubleshooter (Agent verification (opens in a new tab), Troubleshooter inputs (opens in a new tab)).
- License: Connect Health has its own requirement; see Microsoft Entra Connect Health and Microsoft Entra Connect (sync) on License requirements.
- Version: Connect Health for sync needs Microsoft Entra Connect Sync V2; Connect V1 (released under its old name) was retired on August 31, 2022 (Connect Health prerequisites (opens in a new tab)).
Microsoft Entra Connect Sync
- Is it syncing? By default a sync cycle runs every 30 minutes, and a delta sync must run at least once every 7 days or you’ll need a full sync (Scheduler configuration (opens in a new tab)). On the server,
Get-ADSyncSchedulershows the settings; ifSyncCycleEnabledis false, someone left it disabled after a change. Turn it back on withSet-ADSyncScheduler -SyncCycleEnabled $true(Disable the scheduler (opens in a new tab)). - Need it now? Run
Start-ADSyncSyncCycle -PolicyType Delta. Use-PolicyType Initialonly when you need a full sync, which can take a long time (Full sync cycle (opens in a new tab)). - Check Connect Health. Install the Connect Health agent on each sync server (Windows Server 2016 to 2025), then open Microsoft Entra Connect Health > Sync services for alerts, sync errors and data freshness (Connect Health (opens in a new tab)). The object-level error report refreshes every 30 minutes and can be downloaded as CSV (Error report (opens in a new tab)).
- Troubleshoot one object. On the Connect server, open PowerShell as administrator, run
Set-ExecutionPolicy RemoteSigned, start the Connect wizard, choose Additional Tasks > Troubleshoot > Launch, then Troubleshoot Object Synchronization. You need the object’s distinguished name and AD connector name (Run the troubleshooting task (opens in a new tab)). It checks things like an unverified UPN suffix and domain or OU filtering (Results (opens in a new tab)).
Fix duplicate attribute errors
AttributeValueMustBeUnique and InvalidSoftMatch usually mean two objects with different source anchors share a proxyAddresses or userPrincipalName value (AttributeValueMustBeUnique (opens in a new tab), InvalidSoftMatch (opens in a new tab)). The fix is the same:
- Find the duplicated value and both objects; the Connect Health report helps.
- Decide which object keeps the value.
- Remove it from the other one in the directory the object comes from (usually on-premises AD), and let Connect sync the change.
Microsoft Entra Cloud Sync
- Agent health: go to Entra ID > Entra Connect > Cloud sync and confirm each agent shows active (green) (Agent verification (opens in a new tab)).
- One object missing: use the provisioning logs and search by the AD ObjectGuid. An event with only a Source ID and status Skipped points to scoping (Object sync problems (opens in a new tab), Skipped objects (opens in a new tab)).
- Quarantine: if most calls fail (for example bad admin credentials), the job is quarantined. Fix the cause, then right-click the status and choose Clear quarantine, or select Restart sync on the agent configuration page (Quarantine (opens in a new tab), Resolve a quarantine (opens in a new tab)).
- Logs: agent traces are in
C:\ProgramData\Microsoft\Azure AD Connect Provisioning Agent\Trace;Export-AADCloudSyncToolsLogsfrom the AADCloudSyncTools module collects more (Log files (opens in a new tab)).
Gotchas
- If Connect isn’t on the default configuration (for example custom attribute filtering), the Health agent doesn’t upload sync error events and alerting is limited until you enable monitoring in the service settings (Limited evaluation of alerts (opens in a new tab)).
- The scheduler’s 7-day rule also applies to staging mode servers (Scheduler configuration (opens in a new tab)).
- Duplicate attribute resiliency lets new objects provision, but it doesn’t fix the duplicate; the data still needs fixing (InvalidSoftMatch description (opens in a new tab)).
- Password writeback problems are a separate path; see SSPR with password writeback.
Check it worked
- The Connect Health sync service shows no active alerts and recent data freshness.
- The fixed user appears in the Microsoft Entra admin center with the right attributes after the next cycle.
- For cloud sync, the provisioning log shows a successful export for the object’s ObjectGuid.
Related on EntraReady: SSPR with password writeback, Troubleshooting hybrid join, Investigate a sign-in, and License requirements.
Sources (Microsoft Learn): Microsoft Entra Connect Health for sync (opens in a new tab), Connect Sync scheduler (opens in a new tab), Troubleshoot object synchronization (opens in a new tab), Understanding errors during sync (opens in a new tab), Cloud sync troubleshooting (opens in a new tab).
← All GuidesIs this still accurate?
Spotted something outdated or wrong on this page? Tell us in a sentence. The page address is sent with it.