Back to Articles

Entra ID Hybrid Identity: One Directory, Both Worlds

Contents

Why Hybrid Identity Still Dominates

Hybrid is not a transitional state you will grow out of; it is the steady state for a large share of enterprises, for three reasons that rarely get named in the same conversation:

  • Regulated estates. Finance, healthcare, and public-sector environments keep AD alive for years — Kerberos, Group Policy, and on-premises line-of-business applications that were never designed to authenticate against a cloud IdP. Internal policy and external regulation often require on-premises authentication for specific systems, and that requirement does not expire on a roadmap.
  • Mid-market cloud adoption order. SaaS arrived before identity did. Office 365 and Salesforce got deployed years before anyone centralized identity, so AD is still the de facto password store and the MFA anchor for a working cloud estate. The cloud apps are already there; the identity platform underneath them is still on-premises.
  • Cost and risk of the alternative. A full AD decommission is a multi-year program with real operational risk at the cutover. Entra Connect lets you get the cloud benefits — single sign-on, MFA, modern authentication, cloud-based Conditional Access — without committing to the exit yet.

The design goal is not "have both." It is one source of truth. Every decision below is about protecting that: which side owns which attributes, which side owns the password, and which side owns the device. Where an estate loses that discipline, it pays for it as double management — the same logical identity maintained in two systems that drift apart quietly until something breaks.

The Sync Model: Entra Connect and the Anchor Attribute

Entra Connect runs on a Windows Server inside your network. It holds two identities: a local service account with read and replication permissions on AD, and an Entra ID administrator identity. Each sync cycle it reads AD and writes objects and attributes to Entra ID.[1] Three mechanics matter for operations:

  • Full vs. delta sync. The initial sync is a full scan of the scoped partitions. After that, Entra Connect runs delta syncs that read the AD change log — for a mid-size directory a delta completes in minutes, on a default cycle of roughly 30 minutes. After large bulk changes or schema changes, Entra Connect can fall back to a full cycle, so you schedule those deliberately rather than discovering them at 2 a.m.
  • Sync scope. Entra Connect can sync by domain, by OU (partition/OU-based filters), or with attribute-based exclusions — for example, excluding accounts that carry a marker attribute. In a mixed estate, OU-based scoping is the cleanest: sync the OUs that contain people and computers, exclude the legacy OUs that exist purely for a line-of-business application.
  • The anchor attribute. Every synced object is identified in the cloud by a deterministic anchor — by default the AD objectGUID. The Object ID you see in Entra ID is derived from a hash of that anchor, which is why it looks stable and "non-random." The anchor is the join key between the two worlds.

The anchor is also where conflicts and duplicates come from, and they deserve their own discussion because they are the most common "mystery" in hybrid estates:

  • Recreated or restored objects. If a user is deleted and recreated — or restored from backup — with a different objectGUID, the join key between the two directories has changed, so Entra Connect has no way to tell it is the same person. It sees a new object that happens to carry the same UPN (user principal name — the address the user signs in with, [email protected]). The result is a duplicate cloud identity: two objects, one address, one of which your applications cannot use correctly.
  • Cross-domain UPN collisions. If two on-premises users (say, in two synced domains) share a UPN, the first one synced owns the address in the cloud and the second is flagged as a conflict. This is a directory-hygiene problem that sync merely surfaces.
  • Cloud edits get overwritten. Any edit made in the cloud to an attribute that is synced from on-premises is overwritten by the next delta. On-premises is the source of truth for synced attributes, full stop. Treat the cloud as a read-mostly projection.

Operational rules that follow: use the Object ID — never the UPN — as the join key in scripts, reporting, and SCIM integrations (SCIM is the standard protocol third-party applications use to have their user accounts created and updated for them automatically), because a UPN can be renamed or reused while the Object ID stays put; never edit a synced attribute in the cloud as a permanent change; and when a duplicate appears, fix the anchor-side object in AD and let the next cycle reconcile, rather than deleting the cloud object by hand.

Authentication Options: Hash Sync, Pass-Through, SSO

Once the object exists in the cloud, the question is where the password is verified.[2] Three options, and they differ in where sign-in traffic goes and what happens when your on-premises network is down:

Password Hash SyncPass-Through AuthenticationSSO (Kerberos / Seamless)
What the cloud holdsAn encrypted hash of the AD password (krb5e, AES-protected), written by Entra ConnectNothing — the cloud never sees the hashNothing — AD FS validates via Kerberos delegation
Where sign-in is verifiedEntirely in the cloudCloud forwards to an on-premises broker service, which validates against the AD KDCOn-premises AD FS
On-prem dependency at sign-in timeNoneOutbound 443 to the broker plus a healthy ADAD FS plus Kerberos (and browser Kerberos support)
What it buys youMaximum resilience; sign-in survives an on-premises outagePassword change at sign-in lands in AD; no hash in the cloudBrowser SSO for on-premises web apps
Best fitDefault for most estates, especially remote-heavy workforcesEstates that want pass-through latency or password-change behavior without running AD FS for sign-inOn-premises web apps that require Kerberos SSO

These are not mutually exclusive, and the common production stack is hash sync as the floor, pass-through as the fast path on top of it, and SSO only where an application demands it. The MFA question is orthogonal: with hash sync or pass-through plus Entra MFA, you do not need AD FS in the sign-in path at all — which sets up the next section.

Password Writeback and the ADFS Question

Password writeback closes the loop that hash sync opens. Without it, a user who resets their password in the cloud — portal, self-service, or helpdesk flow — ends up with a cloud password and an AD password that no longer match, and the next on-premises sign-in fails. With writeback enabled, Entra Connect writes the cloud-side reset back into AD within a sync cycle, so the password is consistent everywhere regardless of where it was changed.

  • It requires the writeback feature enabled in Entra Connect plus a service account granted the specific permissions AD needs to reset other users' passwords. That service account is a privileged identity — protect it accordingly.
  • It applies to on-premises-synced users. Cloud-only users have no AD password to write back to.
  • It is the difference between "remote user reset their password and is fine" and "remote user reset their password and is now locked out of every on-premises app." For any estate with both remote users and on-premises dependencies, writeback is not optional.

The ADFS question that follows: do you still need AD FS? If you run hash sync or pass-through with MFA in the cloud, AD FS is out of the sign-in path for cloud applications. Keep AD FS only if one of these is true:

  • You have Kerberos SSO for on-premises web applications that cannot (or will not) move to modern authentication.
  • You have legacy applications that do not support MFA or modern auth protocols, and AD FS is the enforcement point for them.
  • You want pass-through as a resilience story for on-premises users during a broker outage — though hash sync already covers that case, which is the argument for making it the floor.

The practical end state for most estates: AD FS retired from the sign-in path (or retained in a narrow, documented role), MFA enforced in the cloud, and writeback keeping remote users from getting stranded. If you are not there yet, that is the migration target — and it is a sequence, not a big-bang: hash sync first, writeback second, then decommission the SSO path app by app.

Hybrid Azure AD Join vs. Azure AD Join

Hybrid join is the device-side counterpart of the user sync.[3] Two models, and they produce different objects in Entra ID that Conditional Access and Intune treat differently:

  • Hybrid Azure AD Join. The device domain-joins on-premises as usual; Entra Connect (with the hybrid join feature enabled) syncs the computer object and enriches it with device information, primary user, and trust type, so the device appears in Entra ID as hybrid-joined. The user experience is the on-premises domain join; the cloud gets the device for Conditional Access, Intune, and reporting. It requires a supported domain controller version — the feature has a documented floor, and an old DC is a common silent failure.
  • Azure AD Join (plain). The device registers directly with Entra ID. No AD dependency: the device has a cloud identity and a local admin password, and no domain membership. This is the cloud-only fleet model and the default for Intune-managed devices that never touch AD.

Why the distinction matters operationally: Conditional Access grants reference these states — "domain joined," "hybrid Azure AD joined," "registered" — and Intune manages both models with different policy sets. A fleet that is half hybrid-joined and half cloud-joined needs compliance policies for both, or your device-compliance policy locks out half the estate on the first evaluation.

  • Choose hybrid join when the device is already domain-joined — GPO, Kerberos, on-premises applications — and you want cloud visibility without changing the user experience.
  • Choose cloud join when there is no AD dependency: newer devices, contractor hardware, remote-first users. Simpler lifecycle, no Entra Connect involvement for that device.
  • Avoid the anti-pattern: a domain-joined device that is not hybrid-registered because the Entra Connect feature was never enabled. It is invisible to Entra ID, so Conditional Access cannot see it, and a "require compliant device" policy treats it as unknown. That is how a "compliance" policy silently blocks your own helpdesk laptops.

A Worked Example: Standing Up Entra Connect in an Existing AD Estate

Here is the shape of a Entra Connect deployment in an existing environment — a two-domain forest, a few thousand users, Windows Server 2022. The exact installer screens vary by release, but the sequence and the verification checks are stable.

  1. Prerequisites. A dedicated VM (not a domain controller) running a supported Windows Server build, with the current Entra Connect prerequisites (the required .NET framework and either SQL Server Express or an external SQL instance). Create the sync service account in AD and grant it the read and replication permissions Entra Connect needs. Verify outbound 443 from the VM to the cloud endpoints — most sync "failures" that take a week to debug are a firewall rule.
  2. Install and connect. Run the Entra Connect installer; connect the AD service account and an Entra ID administrator. The installer discovers the domains and offers the sync scope.
  3. Set the scope. Use OU-based filters for the OUs that contain users and computers; exclude the legacy OUs your line-of-business applications own. Confirm computer objects are in scope if you want hybrid join — excluding them here is the silent killer of the device story in the next section.
  4. Enable features. Password hash sync (on by default), pass-through if you want it, and password writeback if users will reset passwords in the cloud.
  5. Run the initial sync and verify. The first full sync of a multi-thousand-object directory takes a while; let it finish, then run the health checks[4]:
# Sync scheduler: last cycle, sync type, errors
Get-ADSyncScheduler

# Connectors: direction, scope filters, last error
Get-ADSyncConnector

# Password writeback health (after enabling the feature)
Test-ADSyncPasswordExportConfiguration

Then three manual checks that the cmdlets will not catch for you:

  • In Entra ID, open a known user: the source should show as on-premises, and the Object ID should be stable across repeated syncs. If it changes, something is regenerating the anchor and you have a duplicate problem before you have users complaining about it.
  • Sign in as a test user from an off-network device with the on-premises network down. If hash sync is your floor, this must work — testing it once, deliberately, is the only way to know the resilience claim is real.
  • Reset the test user's password in the cloud, wait for a sync cycle, and sign in on an on-premises machine. If the new password works on-premises, writeback is actually working end to end, not just "enabled."

Sync Performance, Attribute Limits, and the Capacity Ceiling

Three limits come up in every Entra Connect deployment, and all three are discoverable in planning rather than in production:

  • Delta lag after big changes. A bulk attribute edit (moving 20,000 users between OUs) or a schema change can push Entra Connect into a full cycle, and a full scan of a large directory takes hours. Plan the bulk change and the sync window together; do not let a 9 a.m. directory migration turn into an all-day sync storm.
  • The fixed attribute set. Entra Connect syncs a documented subset of AD attributes — you cannot add a custom AD attribute to the flow. If an application depends on an attribute Entra Connect does not sync, the fix is on the application side: use an attribute that does sync, or move the logic. Attempting to "just add the attribute" is a dead end that wastes a sprint.
  • The capacity ceiling. Entra ID capacity scales with licensed users. Every synced user object consumes capacity, so your license base must cover the synced population plus headroom. The licensing math is the part that changes between releases and is the part to verify, not assume.

A fourth limit sits underneath all three. What a single object can hold is bounded by the schema Entra ID supports, so you cannot work around a sync gap by hanging arbitrary data off the user. Cloud-created users are initially outside Entra Connect's management, but a new on-premises user can be joined to an existing cloud user through a soft match on the primary SMTP address or, when enabled, the UPN. After a successful match, Entra Connect takes over that object's source of authority. If the attributes point to different people, matching is blocked, or the cloud account is privileged or already anchored elsewhere, synchronization can instead produce a conflict that must be resolved deliberately. Guests remain cloud-managed.

Verify against the current documentation. The list of syncable attributes, the domain controller version floor for hybrid join, and the license-to-capacity ratios all shift between releases. Confirm each against the current Microsoft documentation before you finalize your scope filters and your license plan — the patterns here are stable, the specific supported lists are not, and this article is not the place to discover a version gap you will pay for in a failed hybrid join.

When Not to Go Hybrid

Hybrid is the right architecture when AD is load-bearing. It is the wrong one when you are carrying it out of habit, and the tell is usually that you cannot name what AD is actually doing:

  1. Cloud-only estates. No on-premises applications, no Kerberos dependency, no GPO-driven estate: Entra Connect is pure overhead, and the target architecture is Entra ID plus device registration plus Intune, with no bridge.
  2. A real AD decommission plan. If you have a date for decommissioning AD, Entra Connect is a bridge, not a home. Plan the exit: Entra ID-only identities, device registration for endpoints, and Azure AD Domain Services (now Entra Domain Services)[5] for the on-premises applications that still need a domain — with the user population migrated cloud-side, source of truth flipped, before the cutover. The estates that fail the decommission are the ones that treated the bridge as the destination.
  3. Small estates with no compliance driver. Below a certain size, the double-management cost is real and recurring, and managing cloud identity directly is cheaper than maintaining two projections of one directory. The threshold is not a magic number — it is the point where your team's sync-troubleshooting time exceeds the time they would spend managing one directory.

Rule of Thumb: Inventory every dependency that still requires on-premises AD: Kerberos, Group Policy, line-of-business applications, compliance, and integrations. Give each dependency an owner and a retirement condition. Keep hybrid identity while a justified dependency remains; retire the bridge when none does. The recurring cost is larger than the sync server because every identity change must be designed and tested across two control planes.

The decision is the same shape as the rest of this article: hybrid is the right call when AD is genuinely load-bearing, Entra Connect keeps the two projections in lockstep, and the team operates both sides with a written rule for who owns which attribute — and it is the wrong call when you are running two identity systems out of inertia and calling it strategy.


References

  1. Microsoft — "Microsoft Entra Connect (formerly Azure AD Connect) documentation": sync architecture, anchor attributes, sync filters, and feature set. Microsoft Learn, current.
  2. Microsoft — "Hybrid identity solutions overview": password hash sync, pass-through authentication, SSO, and password writeback decision guidance. Microsoft Learn, current.
  3. Microsoft — "Hybrid Azure AD Join for Windows": requirements, device object enrichment, and comparison with Azure AD Join. Microsoft Learn, current.
  4. Microsoft — "Troubleshooting Microsoft Entra Connect": sync verification cmdlets, duplicate object resolution, and delta sync behavior. Microsoft Learn, current.
  5. Microsoft — "Azure AD Domain Services (Entra Domain Services)": managed domain services in the cloud for the AD decommission path. Microsoft Learn, current.
← Back to Articles ← Previous: Post-Quantum Cryptography Next: Identity Threat Detection and Response with Entra ID Protection →