Most engineers think…
Most people think Conditional Access is 'the thing that nags you for MFA'. That mental model is too small for an interview and for real design work.
Conditional Access is the Zero Trust policy engine of Microsoft Entra ID — one big if-then statement. The IF half collects signals (who the user is, which app, and conditions like sign-in risk, device platform, location and client app); the THEN half is the decision (grant access but require MFA or a compliant device, limit the session, or block). MFA is just one possible control. Understanding the signal-to-control flow is what lets you write a precise policy, test it in report-only first, and explain exactly why a given sign-in was challenged or blocked.
① What Conditional Access actually is — one if-then policy engine
The core idea: a Conditional Access policy is an if-then statement. If a set of assignments are met, then apply the access controls. Entra combines signals — user, device, location, app, risk — to make a decision and enforce your organisation's policy. That is exactly how Microsoft frames the engine that underpins Zero Trust: verify explicitly, use least privilege, assume breach.
Every sign-in is evaluated in two phases. Phase 1 collects session details (network location, device identity). Phase 2 enforces: if a block control applies it stops there; otherwise the user is prompted for any missing grant controls (MFA, compliant device, and so on) in order until the policy is satisfied. Multiple policies can apply to one sign-in, and all of them must be satisfied — assignments are combined with AND.
A Conditional Access policy is best described as…
② Conditions and controls — signals in, decision out
The IF half has two parts. Assignments = which users/groups (always exclude your break-glass emergency-access accounts) and which target resources (apps, user actions, or authentication contexts). Conditions refine it: sign-in risk and user risk (from Identity Protection), device platform (Windows/iOS/Android/macOS), location via named locations (trusted IP ranges or countries), and client app (browser, mobile/desktop, or legacy clients).
The THEN half: grant and session controls
Grant controls either block or grant with requirements: require MFA, require authentication strength (e.g. phishing-resistant), require a compliant (Intune) or hybrid-joined device, require an approved client app or app-protection policy, require a password change, or accept terms of use. Session controls shape the experience: sign-in frequency, persistent browser, app-enforced restrictions, and Conditional Access App Control via Defender for Cloud Apps. A classic example: finance users on the payroll app must do MFA and use a compliant device; anyone else is blocked.
The IF target — which users/groups (minus break-glass exclusions) and which target resources/apps the policy applies to.
Signals that refine scope: sign-in/user risk, device platform, location (named locations) and client app (incl. legacy).
The THEN: block, or require MFA / authentication strength / compliant or hybrid device / approved app. AND or OR across controls.
Shape the session — sign-in frequency, persistent browser, app-enforced restrictions, and Conditional Access App Control.
In an interview, say it cleanly: Assignments + Conditions are the IF (who, which app, under what signals); Access controls are the THEN (grant with MFA / compliant device, or block, plus session limits). Conditions decide WHEN a policy fires; controls decide WHAT happens. That split is the whole engine.
You want users on the payroll app to do MFA AND use a compliant device. Where does that live?
③ Test it safely — report-only, MFA methods and CAE
Never flip a new policy straight to On. Save it in report-only mode: Entra evaluates the policy on real sign-ins but does not enforce it, logging what would have happened in the sign-in logs and the Insights workbook. The What If tool simulates a specific user, app and conditions so you can see which policies apply before anyone is affected. Baseline, confirm there are no surprises, then switch to On.
Strong MFA and Continuous Access Evaluation
A grant control is only as strong as the method behind it. Entra MFA methods run from SMS/voice and the Microsoft Authenticator app up to phishing-resistant options — passkeys (FIDO2), Windows Hello for Business and certificate-based auth — and users register these on the My Security Info page. Continuous Access Evaluation (CAE) then closes the gap that token lifetime leaves: services like Exchange Online, SharePoint and Teams subscribe to critical events (account disabled, password reset, high user risk, admin token revoke) and to CA policy changes, so access is revoked in near real time instead of waiting up to an hour for the token to expire. CAE lets Entra issue longer-lived tokens (up to ~28 hours) safely.
The most expensive CA mistake is locking every admin out with one bad policy. Always exclude dedicated emergency-access (break-glass) accounts from every policy, test in report-only, and use the What If tool before you enforce. A misconfigured 'block' control hits everyone, including you.
▶ Watch a risky sign-in get challenged for MFA
How one sign-in is evaluated end-to-end. Press Play for the healthy path, then Break it to see the classic failure.
Why can Continuous Access Evaluation revoke access before the token would normally expire?
④ Security defaults vs CA — and the baseline policies to ship
Two ways to enforce identity hygiene. Security defaults are a free, one-click on/off baseline for tenants without premium licences: require everyone to register MFA, force MFA when needed, block legacy authentication and device code flow, and protect privileged portals. No customisation, no exclusions. Conditional Access needs Entra ID P1 (risk-based policies need P2 / Identity Protection) and is fully customisable — but you can't run both at once, so creating CA policies means disabling security defaults.
The starter set everyone should ship
Microsoft's secure-foundation templates are the baseline: block legacy authentication, require MFA for admins (ideally phishing-resistant), require MFA for all users, require MFA for Azure management, secure the security-info registration page, and require a compliant or hybrid-joined device. Add risk-based policies on P2: require MFA on risky sign-ins, force a password change for high-risk users. Always exclude break-glass accounts, deploy in report-only, then enforce in phases.
Priya, an IT admin at a Pune fintech, faces this
She switches a new 'require compliant device for all users' policy straight to On at 9am and the helpdesk is flooded — staff on personal laptops and macOS users are all locked out.
The policy went live with no report-only baseline, no device-platform scoping, and break-glass accounts weren't excluded.
Sign-in logs show 'Failure' with the compliant-device grant control unmet for hundreds of users; many devices were never enrolled in Intune.
Entra admin center ▸ Conditional Access ▸ Policies + Sign-in logs (Report-only tab)Roll the policy back to report-only, exclude break-glass accounts, pilot on one group, enrol devices in Intune, and use 'require compliant OR hybrid-joined OR MFA' so unmanaged users can still reach low-risk apps. Then enforce in phases.
Re-check the Insights workbook: enrolled users pass silently, the pilot group is clean, and only genuinely non-compliant high-risk sign-ins are challenged.
Never close a CA ticket on 'should be fine'. The sign-in log shows the exact policies applied, which grant controls were unmet, and (in report-only) what would have happened. That single read explains most access denials without guessing.
A tenant with Entra ID P1 wants per-app, per-location MFA rules. Defaults or Conditional Access?
🤖 Ask the AI Tutor
Tap any question — instant, scoped to this lesson. No login, no waiting.
Pre-curated from vendor docs + community Q&A, scoped to this lesson. For a live prod issue, paste your export into chat.techclick.in.
📝 Wrap-up assessment — six more
You've answered 4 inline. Six left. 70% (7 of 10) marks the lesson complete on your profile. Tap Submit all answers at the end.
🧠 In your own words
Type one line: why is Conditional Access called an 'if-then policy engine' rather than just 'MFA'? Then compare with the expert version.
🗣 Teach a friend
Best way to lock it in — explain it in one line to a teammate. Tap to generate a paste-ready summary.
📖 Glossary
- Conditional Access (CA)
- Microsoft Entra's Zero Trust policy engine — an if-then statement of assignments/conditions and access controls, evaluated at sign-in.
- Assignments
- The IF target of a policy: which users/groups (minus exclusions) and which target resources (apps, user actions, auth contexts).
- Conditions
- Signals that refine scope: sign-in/user risk, device platform, location (named locations) and client app, including legacy clients.
- Grant controls
- The decision: block, or grant while requiring MFA, authentication strength, a compliant/hybrid device, or an approved/managed app.
- Session controls
- Limits on the session — sign-in frequency, persistent browser, app-enforced restrictions, Conditional Access App Control.
- Report-only mode
- A policy state that evaluates sign-ins and logs the result without enforcing, so you can baseline impact before turning it On.
- Named location
- A reusable label for IP ranges or countries/regions used in the location condition (e.g. mark the office network as trusted).
- Continuous Access Evaluation (CAE)
- Near-real-time revocation: services reject live tokens on critical events (disable, password reset, high risk) instead of at expiry.
- Security defaults
- A free, one-click baseline (MFA registration, MFA when needed, block legacy auth/device code flow) for tenants without premium licences.
- Authentication strength
- A grant control that requires a specific class of MFA method, e.g. phishing-resistant (passkeys/FIDO2, Windows Hello, CBA).
📚 Sources
- Microsoft Learn — What is Conditional Access? (overview, Zero Trust, P1/P2 licensing). learn.microsoft.com/entra/identity/conditional-access/overview
- Microsoft Learn — Build a Conditional Access policy (assignments, conditions, grant & session controls, two-phase evaluation). learn.microsoft.com/entra/identity/conditional-access/concept-conditional-access-policies
- Microsoft Learn — Analyze Conditional Access policy impact: report-only mode & the What If tool. learn.microsoft.com/entra/identity/conditional-access/concept-conditional-access-report-only
- Microsoft Learn — Continuous Access Evaluation (critical events, claim challenge, ~28-hour tokens). learn.microsoft.com/entra/identity/conditional-access/concept-continuous-access-evaluation
- Microsoft Learn — Security defaults in Microsoft Entra ID (vs Conditional Access). learn.microsoft.com/entra/fundamentals/security-defaults
- Microsoft Learn — Conditional Access policy templates & authentication methods (passkeys/FIDO2, Authenticator). learn.microsoft.com/entra/identity/conditional-access/concept-conditional-access-policy-common
What's next?
Got the policy engine? Next, go deep on Identity Protection and PIM — how user-risk and sign-in-risk are actually calculated (the signals CA consumes here), and how just-in-time privileged roles cut standing admin access.