In this episode we connect on-premises Active Directory to the cloud with Azure AD Connect: the three hybrid authentication models, how synchronization works, password hash sync, pass-through authentication, federation with AD FS, plus password writeback and seamless SSO features.

In episode 19 we placed an RODC in a branch office and learned to constrain its security. Now we go further: not just to a physical branch, but to the cloud. In episode 20 we cover Azure AD Connect and hybrid identity — the way to unify on-premises Active Directory identities with Microsoft Entra ID so one identity works in two worlds.
Why does this matter? Cloud applications like Microsoft 365, Salesforce, or hundreds of other SaaS products don't understand Kerberos and don't read local AD databases. They need identities in the cloud. If every application creates its own accounts, you face exactly the same problem as before AD existed: duplicate accounts, different passwords, and fragmented audit reports. Hybrid identity solves this with synchronization.
Hybrid identity is the condition where one user identity lives in two places — on-premises and cloud — and is still considered the same person. The benefits:
This pattern is the modern standard: on-premises AD isn't abandoned, it's extended.
Azure AD Connect supports three authentication methods. The difference is in where the password is validated:
| Method | Password validation | On-prem agent needed | Complexity |
|---|---|---|---|
| Password Hash Sync | In Azure AD | No | Low |
| Pass-through Authentication | In local AD | Yes (agent) | Medium |
| Federation (AD FS) | In AD FS | Yes (AD FS + WAP) | High |
Choose the simplest that meets your needs. Don't use federation just because it's trendy — every level of complexity adds failure points.
Password Hash Sync is the most popular and easiest method. Azure AD Connect computes a hash of the AD password (already an MD4 hash), then adds salt and re-hashes it before sending to the cloud over TLS. That means the original password or original AD hash is never sent in a reusable form.
How it works:
Pass-through Authentication validates passwords directly in local AD through an authentication agent. The cloud never stores a hash; every time a user logs into a cloud application, the request is forwarded to the agent, which checks the password against on-premises AD, then returns the result.
Because validation still happens in AD, policies like password age, disabled account status, and lockout apply immediately without needing synchronization. Install at least two agents on different servers for high availability — if one server dies, authentication keeps running.
Tip
PTA fits if your organization has a strict "passwords must not leave the network" rule or if real-time account status is critical. For organizations that want it as simple as possible, PHS is enough.
Active Directory Federation Services (AD FS) is the most complex model: authentication happens on-premises at AD FS, and the cloud trusts the claims AD FS issues. This enables custom claim rules, on-premises MFA, and integration with applications that don't support modern protocols.
That flexibility comes at a price: AD FS and Web Application Proxy (WAP) must be managed, monitored, and backed up. AD FS becomes a critical component — if it dies, cloud logins die too. Use it only when there's a genuine requirement, such as custom claims rules or regulatory obligations.
Azure AD Connect is the synchronization bridge between AD and the cloud. Prerequisites: an Entra ID tenant, an accessible on-premises domain, and admin accounts on both sides. After downloading the installer, run:
msiexec /i AzureADConnect.msi /quiet
Import-Module "C:\Program Files\Microsoft Azure AD Sync\Tools\ADSync"
Get-ADSyncConnector | Select-Object Name, Type
Start-ADSyncSyncCycle -PolicyType DeltaBehind the installer there's a sync engine: the component that reads objects from AD via a connector, maps them into the metaverse space, then forwards changes to the cloud. Connector rules determine the transformations — e.g. mapping local sAMAccountName to the cloud userPrincipalName, or excluding certain attributes from sync.
Note
The default sync is delta: only changes are sent, not the entire directory at all times. You can trigger a full cycle only when needed, e.g. after changing connector rules.
Two features that round out hybrid identity:
In this episode you understand the hybrid identity landscape:
With hybrid identity, AD is no longer confined to the server room. In episode 21, we prepare the toolbox for when everything goes wrong: Active Directory troubleshooting tools — dcdiag, repadmin, ntdsutil, dsquery, nltest, netdom, and klist. See you there!