Get started now

8 Best Practices for Conditional Access Policies in Entra ID

Conditional Access best practices come down to a short list: start from Microsoft’s own managed policies, secure break-glass access before you enforce anything, require phishing-resistant MFA rather than generic MFA, block legacy authentication, and test every change in report-only before it goes live. The stakes are not abstract — Microsoft saw an average of more than 7,000 password attacks happen per second in 2024, and Conditional Access is the control that decides which of those attempts even get evaluated. Work through the eight practices below and you close most of that exposure without locking out the people who actually need access.

Quick fix: Review the Microsoft-managed policies already sitting in your tenant in report-only state, then move administrators onto phishing-resistant authentication. That one change addresses both password theft and legacy-protocol abuse at once — the two attack paths Microsoft’s own managed policies are built to close first.

Conditional Access policies

The 8 Conditional Access best practices

1. Start from Microsoft-managed policies, then extend

Before you build anything from scratch, check what Microsoft has already created for you. Microsoft-managed policies are automatically created in your tenant in a Report-only state, covering ten baseline controls including blocking legacy authentication, blocking device code flow, requiring MFA for admins in Microsoft admin portals, requiring MFA for all users, and requiring phishing-resistant authentication for admins. You can exclude users, change the policy state, or duplicate a managed policy for further customization, but organizations can’t rename or delete them outright. Leave one in report-only too long, though, and Microsoft will enable it for you: policies left in Report-only are turned on no less than 30 days after they’re introduced.

Most of these target “All resources” (the current name for what used to be “All cloud apps”), so use “Filter for applications” to narrow scope where you need to, rather than building a parallel policy from zero. If you’re specifically hardening Microsoft Teams rather than the whole tenant, our 5 Conditional Access policies for Microsoft Teams security covers a narrower Teams-only starter set — this article is about the identity-wide baseline those Teams policies sit inside of.

2. Secure break-glass access before you enforce anything

Every blocking policy you turn on carries the same risk: getting it wrong locks out the people who could otherwise fix it. Set up emergency access before that happens. Maintain at least two emergency access accounts for redundancy, and make sure they are cloud-only accounts using the *.onmicrosoft.com domain rather than accounts that are federated or synchronized from on-premises. Microsoft’s current recommendation for authenticating these accounts is passwordless — a passkey (FIDO2) or certificate-based authentication — not a password. Run validation drills on these accounts at least every 90 days, and see what to do if a policy locks everyone out below for exactly what to exclude them from.

3. Require phishing-resistant MFA, not just “MFA”

MFA is still the single highest-leverage control available: it blocks more than 99.2% of account compromise attacks. But not all MFA is equal, and Microsoft now defines three distinct authentication strengths rather than treating “MFA” as one setting:

Authentication strengthWhat it covers
Multifactor authentication strengthThe general MFA requirement
Passwordless MFA strengthMFA without a password as one of the factors
Phishing-resistant MFA strengthFIDO2 security key, Windows Hello for Business (or platform credential), or Microsoft Entra certificate-based authentication (multifactor)

Require the phishing-resistant tier for administrators at minimum. This isn’t optional forever, either: Microsoft’s mandatory MFA rollout has been running in phases — enforcement in the Azure portal, Entra admin center, and Intune admin center began in the second half of 2024, extended to the Microsoft 365 admin center from February 2025, with full lockout from February 9, 2026. A second phase covering programmatic access (Azure CLI, Azure PowerShell, the Azure mobile app, infrastructure-as-code tools, and the REST API for create/update/delete operations) started October 1, 2025, with an extension option that closed on July 1, 2026. If you haven’t checked where your organization stands against these dates, do that before anything else in this list.

4. Block legacy authentication and abusable auth flows

Legacy authentication protocols don’t support modern MFA, which is exactly why attackers still use them: based on Microsoft’s analysis, more than 97% of credential stuffing attacks and more than 99% of password spray attacks use legacy authentication protocols. Blocking legacy auth and device code flow are both now Microsoft-managed policies rather than something you have to build unassisted — and if you’re specifically thinking of this as an Exchange Online configuration task, it no longer is. Basic authentication is fully retired at the Exchange Online service level; per Microsoft, it is “now disabled in all tenants… no one (you or Microsoft support) can re-enable Basic authentication in your tenant.” Legacy auth blocking is now an Entra tenant-level control, enforced through Conditional Access.

Device code flow deserves the same attention for a specific reason: “device code flow is rarely used by customers, but is frequently used by attackers.” Restricting device code flow, along with blocking authentication transfer, are both documented recommended policies for organizations on Entra ID P1.

5. Require compliant devices — and use device filters

Pairing sign-in conditions with device state closes the gap between “the right user” and “a device you actually trust.” Beyond a blanket compliance requirement, device filters let you scope a policy to specific device properties rather than an all-or-nothing rule, which is useful when you need an exception for a defined set of devices instead of an entire platform. Device compliance is one layer of a broader posture — see our Microsoft Teams security best practices for how it fits with the rest of your Teams-specific controls.

6. Add risk-based conditions with Entra ID Protection

Risk-based Conditional Access (which requires Entra ID P2) is often implemented around a fixed table mapping detections to High/Medium/Low risk. That table doesn’t exist in Microsoft’s documentation, and building policy around a memorized version of it is a mistake: sign-in and user risk are computed dynamically per sign-in, and only a handful of detections are fixed at a specific level. Leaked credentials, verified threat actor IP addresses, and attacker-in-the-middle detections are fixed at High. Others move: “unfamiliar sign-in properties” might fire at high, medium, or low based on the level of familiarity, and password spray detections fire only on a confirmed successful credential validation — it is not a blanket “Low” signal. Build your policy on risk level plus your intended response (require MFA, require a secure password change, or block), not on a static list of which detection means what.

For the data-protection layer that sits alongside sign-in risk, sensitivity labels control what a compromised session can actually expose, independent of whether Conditional Access allowed the sign-in through.

7. Replace IP allowlists with modern network conditions

Static IP-range named locations still work, but they don’t reflect how most organizations now connect. If you use Global Secure Access, the current recommendation is to build a Conditional Access condition on the compliant network signal instead: confirm you have a location called “All Compliant Network locations” with location type “Network Access”, and scope policies to that rather than maintaining a manual IP allowlist. This requires Global Secure Access licensing — Microsoft’s documentation doesn’t name a specific tier for it, so check current licensing before you plan a rollout.

8. Get session controls right: CAE over aggressive re-auth

The instinct to re-authenticate users constantly is understandable, but Microsoft is explicit that it backfires: “it might seem sensible to ask users for credentials often, but this approach can backfire. Users who habitually enter credentials without thinking might unintentionally provide them to malicious prompts.” Frequent reauthentication also risks MFA fatigue, which “can increase security friction to a point that it causes users to experience MFA fatigue and open the door to phishing.”

The default sign-in frequency in Microsoft Entra ID is a rolling 90-day window, and you can set a custom value anywhere from 1 hour to 90 days if a specific policy genuinely needs it tighter. One figure worth retiring from your playbook: a 3-hour idle session timeout is not a Microsoft recommendation. It’s a CIS Benchmark figure — the Microsoft 365 idle-session-timeout setting offers a range of 5 to 1,440 minutes and states no recommended maximum. Instead of tightening timeouts everywhere, lean on Continuous Access Evaluation (CAE), which allows token lifetime to extend to up to 28 hours precisely because CAE gives you near-real-time revocation when something changes — a safer trade than forcing frequent re-auth on every user.

How to structure and name your Conditional Access policies

Microsoft’s actual naming guidance is simpler than the elaborate token schemes that circulate online. Documented Microsoft guidance is to “name your policy to show: a sequence number, the cloud apps it applies to, the response, who it applies to, and when it applies.” The detailed <CANumber>-<Persona>-<PolicyType>-<App>-<Platform>-<GrantControl> token chain you’ll find in community writeups is a common convention, not something Microsoft itself specifies — useful if your team wants that level of structure, but don’t present it as Microsoft’s recommendation.

What Microsoft does explicitly recognize is persona-based design: building policies around distinct groups such as workforce users, administrators, contractors, guests, service accounts, and workload identities, rather than one policy trying to cover everyone. That mirrors the governance question most admins are already answering elsewhere — who gets to create what, and under which naming and membership rules — covered in our Microsoft Teams governance best practices.

How to test a policy before you enforce it

Never move a new policy straight to “On.” Every Conditional Access policy has an “Enable policy” field that can be set to Report-only, On, or Off — use Report-only to see the policy’s real effect against live sign-ins before it can block anyone. For a single hypothetical scenario, use the What If tool: Entra ID > Conditional Access > Policies > What If, where you can pick a user, app, and set of conditions and see which policies would apply. For trend analysis across many sign-ins over time, the Conditional Access insights and reporting workbook is the right tool, but it requires sign-in logs streamed to a Log Analytics workspace first.

If you have Security Copilot, the CA Optimization Agent can also do some of this analysis for you: it reviews up to 300 users and 150 applications in a single run, scanning a 24-hour period, and every new policy it suggests is created in report-only mode — it requires at least Entra ID P1. Note that the policy creation path itself lives under Entra ID > Conditional Access > Policies > New policy; “Entra ID > Security > Conditional Access” is not where this lives in the current admin center.

What to do if a Conditional Access policy locks everyone out

If a policy has already blocked sign-in for regular accounts, sign in with a break-glass emergency access account — the cloud-only, non-federated account you set up in practice 2. From there, switch the offending policy to Report-only or add a temporary exclusion, confirm the fix by checking the Conditional Access tab in the sign-in logs, then correct the underlying condition and re-enable it.

The nuance that matters here, and that older guidance on this topic often gets wrong: exclude emergency access accounts from Conditional Access policies that block or restrict sign-in; report-only policies don’t block access and don’t need to exclude emergency accounts. That’s an exclusion from specific policies, not a blanket exemption from security controls. In particular, mandatory MFA has no break-glass exemption at all — these accounts still need to satisfy MFA, just through a passkey or certificate-based authentication rather than a password. If you’ve seen older advice recommending an MFA-free break-glass account, that guidance has changed: build resilience through passwordless authentication and correct policy exclusions, not by leaving an account unprotected.

Conditional Access changes to act on now

Several changes are moving through Microsoft’s roadmap on fixed dates. If any of these affect policies you already have live, plan the migration now rather than after the fact.

ChangeEffective dateWhat to do
”Require approved client app” grant controlRead-only from June 30, 2026Migrate to “Require app protection policy”
Custom controlsNo new or edited controls from September 2026; full retirement in early 2027Migrate to external authentication methods
Legacy Identity Protection risk policiesRetiring October 1, 2026Migrate manually to Conditional Access
MSOnline / AzureAD PowerShell modulesAlready retiredMove remaining scripts to Microsoft Graph PowerShell

Keeping policies healthy

Policies drift. Exclusions added for a one-off exception outlive their reason, group memberships change, and a policy that made sense a year ago quietly stops matching how the organization actually works. Build a recurring review into your process: check sign-in logs for unexpected blocks or grants, revisit exclusions to confirm temporary ones are still temporary, and use the Conditional Access insights and reporting workbook to see real impact rather than assumed impact. Audit logs are the record of who changed what and when, which matters when a policy’s behavior changes and nobody remembers why. Keep the 240-policy hard limit in mind too — it’s a ceiling that’s easy to forget about until you’re near it.

A large share of Conditional Access failures aren’t policy-logic bugs — they’re configuration drift: an ad-hoc group nobody scoped correctly, a team created outside any naming standard, an exception nobody reviewed. This is the part of the problem nBold is actually built for: it governs how Microsoft 365 workspaces get created in the first place — consistent naming, membership, and structure — through governance controls, so there are fewer ad-hoc groups and one-off exceptions for your Conditional Access policies to miss in the first place. For how nBold handles the security side of that governance, see our security page.

FAQs

How many Conditional Access policies should I have?

There is no official minimum, but there is a hard maximum: Microsoft Entra ID enforces a limit of 240 Conditional Access policies per tenant, across all policy states, so treat policy count as a resource to budget rather than something to maximize. In practice, fewer broad policies with explicit exclusions are easier to audit than one policy per app or per group.

What do I do if a Conditional Access policy locks everyone out?

Sign in with a break-glass emergency access account — a cloud-only account that is not federated or synced and is excluded from policies that block or restrict sign-in. From there, switch the offending policy to report-only or add a temporary exclusion, confirm the fix in the sign-in logs, then re-enable it once the condition is corrected.

What license do I need for Conditional Access?

Conditional Access itself requires Microsoft Entra ID P1, and Microsoft 365 Business Premium also includes access to it. Risk-based policies through Identity Protection require Entra ID P2, and policies scoped to service principals require Workload Identities Premium. If a required license expires, existing policies keep running but you can no longer edit them — only view or delete.

Should break-glass accounts be excluded from MFA?

Not from mandatory MFA — Microsoft’s mandatory multifactor authentication requirement has no break-glass exemption, so these accounts must still satisfy MFA, typically via a passkey or certificate-based authentication rather than a password. What they should be excluded from is any Conditional Access policy that blocks or restricts sign-in; report-only policies don’t block access, so they don’t need the exclusion.

What’s the difference between report-only mode and the What If tool?

Report-only evaluates real sign-ins against a policy over time, without enforcing it, so you can see its actual impact in the sign-in logs before switching it on. The What If tool simulates a single hypothetical sign-in — a chosen user, app, and set of conditions — directly in the Conditional Access admin pages, which is faster for checking one specific scenario.