Agent Foskett Academy • Microsoft Entra • Module 2 • Lesson 27

Lesson 27 — Microsoft Entra Connect Health

Microsoft Entra Connect Health gives administrators visibility into the health and performance of hybrid identity infrastructure that connects on-premises Active Directory to Microsoft Entra ID.

A cloud sign-in problem may begin on an on-premises synchronisation server, with an unhealthy agent, a stopped service, an export error or password hashes that never reached Microsoft Entra ID.

This lesson explains Connect Health architecture, Sync Services, health agents, synchronisation errors, Password Hash Synchronisation, staging servers, alert notifications, data freshness and operational recovery.

Hybrid identity is only reliable when the synchronisation service, health agents and recovery design are monitored together.
Agent Foskett Microsoft Entra Connect Health lesson
What you will learn

This lesson explains how to monitor Microsoft Entra Connect Sync, health agents, password synchronization and hybrid identity recovery.

Connect Health architecture
Synchronization alerts
Password Hash Sync health
Staging and recovery

Learning objectives

After completing this lesson, you should be able to monitor and investigate Microsoft Entra Connect Health.

  • Explain the role of Microsoft Entra Connect Health.
  • Identify the main Connect Health components and agents.
  • Review Sync Services, alerts and synchronisation errors.
  • Monitor Password Hash Synchronisation health.
  • Recognise stale health data and agent communication failures.
  • Understand active and staging server responsibilities.
  • Build an operational hybrid identity health checklist.

The problem this solves

Hybrid identity depends on infrastructure that sits outside Microsoft Entra ID.

If the synchronisation server, database, connector, health agent or password synchronisation process fails, cloud identities can become outdated even while Microsoft Entra ID remains available.

Hybrid identity health model

On-premises Active Directory ↓ Microsoft Entra Connect Sync engine ↓ Connectors and synchronization rules ↓ Import, synchronization and export operations ↓ Microsoft Entra ID ↓ Cloud authentication and application access Microsoft Entra Connect Health agents ↓ Alerts, performance data and sync error reporting

What is Microsoft Entra Connect Health?

Microsoft Entra Connect Health is a monitoring service for supported hybrid identity infrastructure.

It provides alerts, service status, performance information and synchronisation error reporting so administrators can identify problems before they create widespread user impact.

What it does not replace

Connect Health does not replace server monitoring, backups, change control or direct inspection of the synchronisation engine.

Use it as part of a broader operational monitoring design.

Connect Health components

ComponentPurposeHealth question
Connect Health serviceCloud service that receives and presents health information.Is the hybrid identity environment reporting normally?
Sync Health AgentCollects information from Microsoft Entra Connect Sync.Is the synchronisation server communicating with Connect Health?
Monitoring servicesCollect operational and performance information.Are required local services running?
Insights servicesCollect configuration and diagnostic information.Is health data complete and current?
Sync error reportingSurfaces object-level synchronisation failures.Which identities failed to synchronise and why?
Notification settingsControls alert email recipients.Will the correct responders receive health alerts?

Sync Services

The Sync Services view provides a tenant-level picture of registered Microsoft Entra Connect Sync deployments.

Review alerts, service status and synchronisation errors for the monitored environment.

Start with the service card

Confirm that the expected synchronisation server appears, its data is current and no unexpected or retired server remains registered.

Unexpected servers can indicate an incomplete migration or stale health registration.

Connect Health alert lifecycle

Health Agent collects data ↓ Data is uploaded to Connect Health ↓ Health service evaluates the signal ↓ Warning or error condition is detected ↓ Alert appears in the portal ↓ Email notification is sent ↓ Administrator investigates ↓ Alert resolves after recovery

Active alerts

Active alerts identify conditions that still require investigation.

Review the affected server, first detected time, last detected time, description and remediation guidance.

Resolved alerts

Resolved alerts remain useful for trend analysis.

Repeated auto-resolving alerts can reveal intermittent network, service or capacity problems.

Common Connect Health alert areas

Alert areaPossible causeOperational impact
Health data not currentAgent, service, connectivity or data-collection failure.Portal health information becomes stale.
Sync service unavailableMicrosoft Entra Sync service stopped or server unavailable.Directory changes stop synchronising.
Password Hash Sync heartbeat missedPassword synchronisation cannot communicate or is unhealthy.New password changes may not reach Microsoft Entra ID.
Export errorsDuplicate values, permissions, attributes or connector errors.Objects remain outdated in Microsoft Entra ID.
Import errorsSource directory connectivity or data problems.On-premises changes are not detected.
Agent failureLocal health services stopped or damaged.Health reporting becomes incomplete.

Alert notification settings

Configure notifications so the correct operational team receives Connect Health alerts.

Use a monitored team mailbox or distribution list rather than relying on one employee.

Notification review

  • Confirm intended recipients.
  • Remove departed administrators.
  • Test delivery after organisational changes.
  • Document escalation ownership.
  • Review notification settings regularly.

Health service data freshness

Connect Health agents periodically upload data from monitored on-premises machines.

If complete data is not received for the expected period, Connect Health raises a data freshness alert. A stale portal does not prove synchronisation has stopped—but it means the monitoring view must be verified directly.

Portal health data is stale ↓ Confirm server is online ↓ Check Connect Health services ↓ Check outbound connectivity ↓ Review local event logs ↓ Confirm agent registration ↓ Compare with direct Sync Service status ↓ Restore data collection

Data freshness investigation

  • Confirm server clock and time synchronisation.
  • Check Connect Health monitoring services.
  • Check Connect Health insights services.
  • Review proxy, firewall and outbound connectivity.
  • Review local event logs for agent errors.
  • Confirm required performance counters exist.

Monitoring is not syncing

The Sync engine may still be operating while the Health Agent cannot upload health information.

Always compare Connect Health with direct checks on the synchronisation server.

Microsoft Entra Connect Sync engine

StagePurposeFailure example
ImportReads changes from Active Directory or Microsoft Entra ID.Connector cannot contact the source directory.
SynchronizationApplies joins, projections, attribute flows and rules.Conflicting or invalid object data.
ExportWrites pending changes to the target directory.Duplicate proxy address blocks an export.
Password syncSynchronises password hashes independently of the normal object cycle.Password changes remain on-premises only.

Synchronization Service Manager

Synchronization Service Manager provides direct visibility into connectors, run history, operations and errors.

Use it for investigation, but avoid unsupported configuration changes outside the Microsoft Entra Connect wizard.

Run history

Review recent import, synchronisation and export profiles.

Look for connectivity failures, completed-with-errors, unusually long runs and repeated retries.

Object-level synchronisation errors

Error patternMeaningInvestigation
Duplicate attributeA unique value already exists on another object.Search for duplicate UPN, proxy address or source anchor values.
Data validation failureAn attribute does not meet target requirements.Review the failing attribute and source data.
Large attributeA value exceeds a supported limit.Review group membership or oversized attributes.
Permission failureThe connector account cannot perform the required operation.Validate permissions and recent account changes.
Object conflictCloud and on-premises identity matching is inconsistent.Review source anchor, matching and object ownership.

Prioritise by impact

A single low-impact contact error is different from hundreds of failed user exports.

Prioritise privileged accounts, authentication attributes, mail-enabled identities and widespread error patterns.

Never delete first

Do not delete or hard-match objects as a first troubleshooting step.

Preserve evidence and understand the source of authority before remediation.

Password Hash Synchronisation

Password Hash Synchronisation allows Microsoft Entra Connect to synchronise a derived hash of an on-premises Active Directory password hash to Microsoft Entra ID.

User changes password in Active Directory ↓ Domain controller records the new password hash ↓ Password Hash Sync detects the change ↓ A derived hash is prepared for cloud use ↓ Microsoft Entra Connect sends it securely ↓ Microsoft Entra ID stores the cloud password hash ↓ User authenticates to cloud services

Password sync is separate

Password Hash Synchronisation is not simply the normal thirty-minute object synchronisation cycle.

Password changes use a separate mechanism and normally reach Microsoft Entra ID much sooner.

Heartbeat monitoring

Connect Health monitors Password Hash Synchronisation heartbeats.

A missed heartbeat indicates that password changes may not be synchronising.

Password Hash Sync investigation workflow

New cloud password fails ↓ Confirm on-premises password works ↓ Determine one user or all users ↓ Check Connect Health alerts ↓ Check Microsoft Entra Sync service ↓ Run password sync troubleshooting ↓ Review connector and event log errors ↓ Confirm Password Hash Sync is enabled ↓ Validate password processing ↓ Test cloud authentication safely

One user or everyone?

A single-user problem often points to object state, scope or account-specific issues.

A widespread problem suggests service, connector, credential, network or configuration failure.

Use supported troubleshooting

Microsoft Entra Connect includes a troubleshooting task for Password Hash Synchronisation.

Use supported diagnostics before manually changing services, connectors or database state.

Active server and staging server

CapabilityActive serverStaging server
Imports directory dataYesYes
Runs synchronisation rulesYesYes
Maintains pending exportsYesYes
Exports changesYesNo
Password Hash SynchronisationActiveNot active for production export
Password writebackActive where configuredNot active while staging
Primary purposeProduction synchronisationWarm standby and recovery

Why staging mode matters

A staging server maintains an up-to-date synchronisation database without exporting changes.

It provides a supported recovery path if the active server fails.

Staging is not automatic failover

Administrators must deliberately promote the staging server and ensure only one server is actively exporting.

Document and test the promotion process before an outage.

Safe failover sequence

Confirm active server failure ↓ Prevent the old server from exporting ↓ Review staging server configuration ↓ Confirm pending imports and exports ↓ Disable staging mode on standby ↓ Start and validate synchronization ↓ Confirm exports complete ↓ Confirm Password Hash Sync health ↓ Monitor Connect Health alerts ↓ Document the new active server

Configuration consistency

The active and staging servers should use equivalent scope, rules and connector configuration.

Use supported configuration migration processes and validate differences before promotion.

Version health

Keep Microsoft Entra Connect Sync on a supported and current release.

Review release notes, prerequisites and rollback planning before upgrades.

Operational dependencies

DependencyWhy it mattersMonitor
Windows ServerHosts the synchronisation engine and agents.Availability, patching, CPU, memory and disk.
SQL databaseStores synchronisation configuration and state.Database health, storage and service availability.
Active DirectorySource for hybrid users, groups and attributes.Domain controller connectivity, DNS and replication.
Outbound HTTPSRequired for cloud communication and health uploads.Firewall, proxy, TLS inspection and name resolution.
Service accountsRun services and access directories.Credential state, permissions and policy changes.
Time synchronisationSupports authentication, logging and reliable health data.Clock drift and NTP health.

Server monitoring

  • Microsoft Entra Sync service state.
  • Connect Health service state.
  • CPU and memory pressure.
  • Disk space and database growth.
  • Event log errors.
  • Pending operating system restart.
  • Backup and recovery status.

Change monitoring

  • Connect configuration changes.
  • Connector account changes.
  • Synchronization rule changes.
  • Service account policy changes.
  • Proxy and firewall changes.
  • Server upgrades and migrations.

Agent Foskett investigation: “Everyone changed their password…”

1. New passwords fail in Microsoft 365 ↓ 2. Old cloud passwords still work ↓ 3. Active Directory accepts new passwords ↓ 4. Agent Foskett checks Connect Health ↓ 5. Password Hash Sync heartbeat is missing ↓ 6. Microsoft Entra Sync service is running ↓ 7. Troubleshooting reports connector failure ↓ 8. A service-account change broke communication ↓ 9. Supported credentials are repaired ↓ 10. Password Hash Sync resumes ↓ 11. New hashes reach Microsoft Entra ID ↓ 12. Cloud authentication succeeds
Microsoft Entra ID was healthy—the updated password hashes had never reached it.

Evidence to preserve

  • Connect Health alert details.
  • Synchronization run history.
  • Relevant Windows event logs.
  • Service state and start account.
  • Recent change records.
  • Affected user scope and timestamps.
  • Connector and server configuration.

Validate remediation

  • Confirm the health alert resolves.
  • Confirm current health data arrives.
  • Confirm import, sync and export complete.
  • Confirm Password Hash Sync heartbeat returns.
  • Test a controlled password change.
  • Confirm no new object errors appear.

Daily hybrid identity review

ReviewQuestionEvidence
Connect Health alertsAre there active or repeating alerts?Active and resolved alert history.
Data freshnessIs health information current?Latest agent and service data.
Sync cycleAre imports, syncs and exports completing?Synchronization Service Manager run history.
Sync errorsAre objects failing?Connect Health sync errors and connector space.
Password syncAre password hashes synchronising?Heartbeat, diagnostics and controlled tests.
Server healthIs the active server operating normally?Services, event logs, CPU, memory and disk.
RecoveryIs the staging server ready?Configuration comparison and recent test.

Weekly review

  • Review recurring resolved alerts.
  • Review object error trends.
  • Confirm notification recipients.
  • Review server resource trends.
  • Check staging server health.
  • Review pending updates.

Monthly review

  • Test the failover procedure.
  • Validate a controlled password change.
  • Review Connect version support.
  • Review service and connector accounts.
  • Review backup and recovery documentation.
  • Confirm ownership and escalation paths.

Common mistakes

MistakeImpactBetter practice
Assuming portal health proves sync healthStale agent data may hide current server state.Compare portal signals with direct server checks.
Ignoring auto-resolved alertsIntermittent failures continue until an outage.Review recurring resolved alerts and trends.
No staging serverRecovery becomes a rebuild during an outage.Maintain and test a supported staging deployment.
Two active export serversUnsupported synchronisation behaviour.Ensure only one server exports changes.
Treating password sync as normal syncPassword-specific failures are misunderstood.Monitor Password Hash Sync separately.
Editing connectors directlyConfiguration can become unsupported.Use the wizard and supported tools.
Alerting one administratorAlerts are missed during leave or staff changes.Use a monitored operational group.

Security best practices

  • Restrict administrative access to Connect servers.
  • Treat Connect servers as high-value identity infrastructure.
  • Use dedicated service accounts and least privilege.
  • Protect backups and configuration exports.
  • Monitor interactive logons to Connect servers.
  • Review unexpected service and rule changes.
  • Keep the operating system and Connect release supported.

Operational checklist

  • Expected server registered.
  • Health data current.
  • No active critical alerts.
  • Sync cycles completing.
  • Object errors assigned.
  • Password Hash Sync healthy.
  • Notification recipients current.
  • Staging server ready.
  • Recovery process documented.

Key takeaways

  • Microsoft Entra Connect Health monitors supported hybrid identity infrastructure.
  • Connect Health signals must be compared with direct synchronisation server evidence.
  • Health data freshness problems can make the portal unreliable even when synchronisation continues.
  • Import, synchronisation, export and Password Hash Synchronisation are distinct operational areas.
  • Object-level errors should be prioritised by identity and business impact.
  • Password Hash Synchronisation uses a dedicated process and health heartbeat.
  • A staging server provides a supported warm-standby recovery path but does not fail over automatically.
  • Only one Microsoft Entra Connect server should actively export changes.
  • Repeated resolved alerts should be investigated, not ignored.
  • Hybrid identity monitoring must include servers, agents, connectors, services, networks and recovery procedures.

Continue learning

Continue through Microsoft Entra hybrid identity and operations, or return to the academy roadmap.

Microsoft Entra Connect Health

Microsoft Entra Connect Health provides monitoring, alerts, service status and synchronisation error reporting for supported hybrid identity infrastructure.

Microsoft Entra Academy Lesson 27 — Connect Health

This Agent Foskett lesson explains Sync Services, Connect Health agents, alert notifications, stale health data, synchronization operations, Password Hash Synchronisation, staging servers and hybrid identity recovery.