Lesson 31 — Microsoft Entra Hybrid Identity Best Practices
Hybrid identity connects on-premises Active Directory with Microsoft Entra ID so users can work across cloud and traditional environments with a consistent identity.
The technology is only one part of the design. Reliable hybrid identity also requires a clearly defined source of authority, an appropriate authentication method, resilient synchronisation, protected administrative accounts, controlled scope, monitored changes and a tested recovery plan.
This lesson brings those decisions together into a practical architecture and operational standard for organisations using Microsoft Entra Connect Sync, Microsoft Entra Cloud Sync or a staged transition between the two.

What you will learn
This lesson explains how to design, secure, operate and recover a resilient hybrid identity platform across Active Directory and Microsoft Entra ID.
Learning objectives
After completing this lesson, you should be able to assess and improve a Microsoft Entra hybrid identity design.
- Define the source of authority for each identity and attribute.
- Select an appropriate synchronisation and authentication model.
- Design high availability without creating conflicting writers.
- Protect synchronisation infrastructure and privileged access.
- Control scope, mappings and identity lifecycle changes.
- Monitor hybrid identity health and security indicators.
- Plan safe changes, migrations and rollback.
- Maintain a tested recovery and continuity plan.
The problem this solves
Many hybrid identity environments begin as a small synchronisation project and gradually become critical infrastructure without receiving the same architectural discipline as domain controllers, networks or authentication systems.
Best practices reduce hidden dependencies, conflicting ownership, single points of failure and emergency changes during incidents.
Hybrid identity architecture
Principle 1 — Define authority
Every identity and important attribute should have one recognised source of authority. Administrators must know where a name, department, manager, UPN, mail address and enabled state should be changed.
Unclear ownership creates overwritten values, conflicting updates and slow incident response.
Authority questions
- Who creates the identity?
- Which system owns employment status?
- Where are names and departments corrected?
- Who owns UPN and mail-address standards?
- Which system disables leavers?
- Which attributes may be cloud-managed?
Source-of-authority register
| Identity property | Recommended authority | Operational rule |
|---|---|---|
| Employment status | HR or approved lifecycle process | Disable access from a documented joiner-mover-leaver event |
| Core account identity | On-premises AD while the object remains synchronised | Do not repair synchronised values only in the cloud |
| UPN and mail aliases | Documented identity naming process | Check uniqueness before assignment |
| Group membership | Business owner, role process or governed automation | Avoid unmanaged permanent access |
| Cloud-only properties | Microsoft Entra or workload owner | Record exceptions and prevent competing writers |
Principle 2 — Choose the right sync tool
Use Microsoft Entra Cloud Sync when its cloud-managed configuration, lightweight agents and multi-agent resilience fit the organisation's requirements.
Use Microsoft Entra Connect Sync when required features or complex synchronisation scenarios are not supported by Cloud Sync.
Avoid tool selection by habit
The correct decision should be based on supported topology, object types, writeback needs, filtering, transformation, operational model and migration constraints.
Document why the selected platform exists and review the decision as Microsoft Entra capabilities evolve.
Synchronisation design comparison
| Design consideration | Cloud Sync | Connect Sync |
|---|---|---|
| Configuration model | Cloud-managed configuration with lightweight agents | Configuration and sync engine hosted on a dedicated server |
| High availability | Multiple active agents in an agent pool | Primary server with a tested staging-mode server |
| Operational footprint | Smaller local footprint | More local components and database dependencies |
| Complex scenarios | Use when required features are supported | Retain where advanced or unsupported scenarios require it |
| Change management | Manage configuration and agents as production infrastructure | Manage server, database, rules and upgrades as production infrastructure |
Principle 3 — Simplify authentication
Select the least complex authentication method that satisfies business and regulatory requirements.
Password hash synchronization provides cloud authentication and strong service continuity because Microsoft Entra can authenticate users without contacting the on-premises environment during each sign-in.
Authentication dependencies
Pass-through Authentication validates passwords against on-premises Active Directory and therefore requires healthy authentication agents and connectivity.
Federation introduces additional infrastructure and should be retained only where there is a clear requirement that cannot be met with cloud authentication.
Authentication decision guide
| Method | Operational characteristic | Best-practice consideration |
|---|---|---|
| Password hash synchronization | Authentication occurs in Microsoft Entra ID | Prefer for simplicity, scalability and cloud continuity where suitable |
| Pass-through Authentication | Password validation depends on on-premises agents | Deploy redundant agents and test loss of local connectivity |
| Federation | Authentication depends on federation infrastructure | Use only for documented requirements and maintain a cloud-authentication migration plan |
Principle 4 — Design for failure
Hybrid identity must continue operating when one server, agent, network path or administrator is unavailable.
Cloud Sync supports multiple active agents. Connect Sync environments should maintain a tested staging-mode server and a documented activation process.
Resilience is more than quantity
Redundant components should not share every dependency. Place agents or servers so one maintenance event, proxy failure or host problem does not remove the entire service.
Test failover rather than assuming that a second installation is usable.
High-availability checklist
| Area | Best practice | Evidence |
|---|---|---|
| Cloud Sync agents | Deploy multiple active agents on separate supported hosts | Each agent independently reports healthy and processes work |
| Connect Sync | Maintain a current staging-mode server | Documented and tested activation procedure |
| Authentication | Remove avoidable on-premises sign-in dependencies | Business-continuity test results |
| Network | Provide resilient DNS, proxy and outbound connectivity | Endpoint tests from every agent host |
| Operations | Ensure more than one trained administrator can recover the service | Runbook, access and exercise records |
Principle 5 — Protect the sync tier
Synchronisation servers and agents bridge two identity systems and should be treated as sensitive infrastructure.
Use dedicated supported hosts, restrict interactive access, minimise installed software and monitor administrative activity.
Administrative protection
- Use separate privileged accounts.
- Require MFA for cloud administration.
- Use Privileged Identity Management where available.
- Restrict local administrator membership.
- Protect service credentials and secrets.
- Record emergency access procedures.
Security boundaries
Principle 6 — Control scope
Synchronise only the objects and attributes required by the approved design. Broad scope increases the blast radius of mistakes and can expose unnecessary directory information.
OU, group and attribute filters should have an owner, purpose and review date.
Scope-change discipline
- Measure expected object impact.
- Identify creates, updates and removals.
- Test with representative identities.
- Review privileged and service accounts.
- Record rollback steps.
- Monitor the first processing cycles.
Safe scope-change workflow
Principle 7 — Use stable identifiers
Display names, departments and email addresses can change. Matching and investigation should rely on stable, unique identifiers wherever the supported design permits.
Duplicate or recycled values can create incorrect joins, duplicate cloud identities and difficult recoveries.
Naming and uniqueness
- Define a UPN naming standard.
- Validate mail and proxy-address uniqueness.
- Plan rename and rehire scenarios.
- Check active and deleted cloud objects.
- Avoid manual cloud repairs that conflict with sync.
- Retain object identifiers in incident evidence.
Principle 8 — Minimise customisation
Custom rules and transformations should exist only where a documented business requirement cannot be met by standard behaviour.
Every customisation increases testing, upgrade and troubleshooting complexity.
Customisation register
For each custom rule, record its owner, purpose, source and target attributes, test cases, dependencies, approval date and rollback method.
Remove obsolete rules rather than allowing years of undocumented logic to accumulate.
Change-risk comparison
| Change | Risk | Required control |
|---|---|---|
| Add one mapped attribute | Incorrect or excessive target values | Test objects and modified-property review |
| Change matching logic | Duplicate or incorrectly joined identities | Pre-change object comparison and rollback |
| Expand OU scope | Large unexpected create or delete impact | Object count and privileged-account review |
| Change authentication method | Organisation-wide sign-in disruption | Staged rollout and continuity plan |
| Replace sync platform | Competing writers or missing attributes | Documented migration sequence and validation |
Principle 9 — Monitor continuously
Monitor agent health, configuration status, provisioning failures, skipped objects, duplicate values and unusual bulk changes.
Healthy infrastructure should produce expected recent activity—not merely show a green status at one point in time.
Correlate evidence
- Provisioning Logs
- Microsoft Entra Audit Logs
- Sign-in Logs
- Connect Health or agent status
- Windows and service logs
- Source Active Directory changes
Monitoring baseline
| Signal | Baseline question | Alert condition |
|---|---|---|
| Recent activity | How often should each job produce events? | No activity beyond the expected interval |
| Failure rate | What is the normal number of failed objects? | Sharp increase or repeated common error |
| Skipped objects | Which skips are expected by design? | New skip reason or sudden volume change |
| Agent health | How many independent agents should be active? | Loss of redundancy or unhealthy agent |
| Bulk operations | What create, update and delete volumes are normal? | Unexpected mass lifecycle activity |
Principle 10 — Govern the lifecycle
Joiner, mover and leaver processes must operate consistently across Active Directory and Microsoft Entra ID.
Disabling a source account, removing access, revoking sessions and managing retained data are related but separate controls.
Lifecycle evidence
- Approved employment event
- Source account creation or disablement
- Provisioning event and target result
- Group and role changes
- Session or token revocation
- Ticket closure and owner approval
Joiner-mover-leaver control path
Principle 11 — Use staged change
Authentication and synchronisation migrations should use controlled populations, measurable success criteria and a rollback plan.
A staged rollout allows the organisation to validate cloud authentication before changing the whole domain.
Migration controls
- Inventory current dependencies.
- Confirm feature compatibility.
- Select representative pilot users.
- Synchronise required password data first.
- Measure sign-in and provisioning outcomes.
- Remove old infrastructure only after validation.
Migration sequence
Principle 12 — Prepare recovery
Document how to restore synchronisation, activate standby capacity, replace an agent, recover credentials and validate the target after an incident.
Recovery documentation should be usable by another authorised administrator under pressure.
Recovery package
- Architecture and data-flow diagram
- Server, agent and configuration inventory
- Secure credential recovery process
- Standby or replacement procedure
- Known custom rules and dependencies
- Post-recovery validation checklist
Agent Foskett investigation: “The second server was not a backup…”
Security indicators
- Unexpected changes to synchronisation scope or rules.
- New privileged accounts entering scope.
- Unapproved agent or connector registration.
- Bulk mail, UPN or ownership changes.
- Administrative access from standard workstations.
- Removal of monitoring or loss of log activity.
Operational indicators
- Only one functioning agent or sync server.
- No tested failover procedure.
- Undocumented custom rules.
- Stale or unsupported components.
- Recurring duplicate-value failures.
- Unclear ownership for source attributes.
Hybrid identity review checklist
| Review area | Question | Evidence |
|---|---|---|
| Authority | Does every important identity property have one owner? | Source-of-authority register |
| Architecture | Is the selected sync and authentication model still appropriate? | Current design decision record |
| Resilience | Can service continue after one component fails? | Successful failover exercise |
| Security | Are privileged access and sync hosts protected? | Role, host and access review |
| Monitoring | Would the team detect stalled or abnormal activity? | Alerts, dashboards and incident tests |
| Recovery | Can another administrator execute the runbook? | Documented recovery exercise |
Common mistakes
- Treating synchronisation as a set-and-forget service.
- Allowing multiple systems to own the same attribute.
- Keeping federation without a current requirement.
- Calling an untested server a standby.
- Synchronising more objects and attributes than necessary.
- Using permanent privileged access for routine support.
- Retiring old infrastructure before proving the replacement.
Best practices
- Prefer simple, supportable architecture.
- Document authority, scope and matching.
- Use redundant and independently tested components.
- Protect the synchronisation tier as identity infrastructure.
- Baseline normal provisioning behaviour.
- Stage high-impact changes and migrations.
- Exercise recovery before an outage.
Key takeaways
- Hybrid identity is critical security and authentication infrastructure.
- Every identity and attribute needs a clearly defined source of authority.
- Select Cloud Sync or Connect Sync from requirements—not habit.
- Use the simplest authentication design that satisfies the organisation's needs.
- High availability requires tested independent components and trained administrators.
- Synchronisation hosts, agents, credentials and privileged roles require strong protection.
- Scope, matching and custom rules should be minimal, documented and reviewed.
- Continuous monitoring must cover health, failures, skipped objects and unusual bulk activity.
- Authentication and synchronisation changes should use staged rollout and rollback.
- A recovery plan is not complete until another administrator has successfully tested it.
Related Agent Foskett resources
Continue learning
Microsoft Entra Hybrid Identity Best Practices
Microsoft Entra hybrid identity best practices include clear source authority, suitable synchronisation and authentication choices, resilient agents or staging servers, least privilege, controlled scope, stable matching, continuous monitoring and tested recovery.
Microsoft Entra Academy Lesson 31 — Hybrid Identity Best Practices
This Agent Foskett lesson explains how to design, secure, operate, migrate and recover hybrid identity across Active Directory and Microsoft Entra ID using practical architecture and governance controls.
