
Identity as the new perimeter
In a cloud and hybrid estate, identity is the primary security perimeter — every application, every device, and every user reaches resources through an identity, and the identity provider is the gate that decides whether to let them through. Microsoft Entra ID (formerly Azure AD) is that gate for a Microsoft estate, and single sign-on is the experience layer on top: a user authenticates once and reaches every federated application without re-entering a password.
The implementation has three layers that must each be sound: the directory itself (the source of truth for identities and groups), the authentication method (password hash sync, pass-through authentication, or federation), and the access policy (Conditional Access that gates sign-in based on device, location, and risk). A weakness in any layer undermines the whole — a strong MFA policy is worthless if the directory still contains orphaned accounts from departed users.
Choosing the authentication method
The sign-in method determines where the password is validated. Password Hash Sync (PHS) is the simplest: Entra Connect synchronises a hash of the on-premises password hash to the cloud, and sign-in is validated entirely in the cloud. Pass-Through Authentication (PTA) validates the password against the on-premises domain controller through a lightweight agent, so the password never leaves the on-premises network. Federation (ADFS or a third-party IdP) hands the entire sign-in flow to an on-premises or third-party STS.
For most organisations, PHS with Seamless SSO is the right starting point: it is simple, resilient (sign-in works even if the on-premises network is down), and supports cloud-only features like self-service password reset. Move to PTA only when a compliance requirement demands the password never leave the on-premises network, and to federation only when you need advanced sign-in features that PHS and PTA cannot provide. Federation adds the most operational complexity and the most failure modes.
| Method | Password validated | Resilience | Complexity |
|---|---|---|---|
| Password Hash Sync | Cloud (hash synced) | High — works if on-prem is down | Low |
| Pass-Through Auth | On-prem DC via agent | Medium — needs agent reachability | Medium |
| Federation (ADFS) | On-prem STS | Lower — STS is a dependency and failure point | High |
Conditional Access: the access policy layer
Conditional Access is the policy engine that decides, at sign-in time, whether to grant, block, or challenge a user based on signals: who they are, what device they are on, where they are signing in from, and how risky the sign-in is. A baseline policy typically requires MFA for all users, blocks legacy authentication protocols outright, and requires a compliant device for access to sensitive applications.
The discipline that prevents lockouts is report-only mode. Run every new Conditional Access policy in report-only for a week before enforcing it, so you can measure exactly who it would block and why. Always exclude break-glass admin accounts from every Conditional Access policy, and store those accounts' credentials in a vault so an MFA outage cannot lock out all administrative access.
- Require MFA for all users; block legacy authentication outright
- Run every new Conditional Access policy in report-only before enforcing
- Exclude break-glass admin accounts from all Conditional Access policies
- Require a compliant device for access to sensitive applications
MFA, federation certificates, and the break-glass account
MFA is the single most effective control against account takeover, but its strength depends on the factor. Push notifications and SMS are convenient but phishing-susceptible; phishing-resistant factors like FIDO2 security keys and Windows Hello for Business are the modern standard for administrators and other high-value accounts. Require phishing-resistant MFA for admins, and a realistic second factor for standard users.
The most common SSO outage is an expired federation certificate: ADFS token-signing certificates auto-renew, but the relying-party trust must be updated so Office 365 picks up the new certificate, and this step is silently missed. Put a calendar reminder 30 days before every certificate expiry and test the metadata refresh in advance. Finally, keep one break-glass admin account outside MFA and outside Conditional Access, stored in a vault, so an identity outage cannot lock out all administrative access.
# Check the current token-signing certificate on ADFS
Get-AdfsCertificate -CertificateType Token-Signing |
Select-Object Thumbprint, IsPrimary, NotBefore, NotAfter
# Refresh the Office 365 trust with the new certificate
Connect-MsolService
Update-MsolFederatedDomain -DomainName contoso.comWritten by
Jamshed Alam
Global MSP & IT Infrastructure Consultant with 20 years across Exchange, Microsoft 365, Azure, security and automation. Available for project and contract work worldwide.