Skip to content

Conditional Access

noun · also CA policy, Conditional Access policy · Microsoft Learn: What is Conditional Access?

Microsoft Entra ID's policy engine that decides, at each sign-in, whether to allow access, require MFA or another control, or block.

Conditional Access evaluates every sign-in to Microsoft Entra ID against a set of policies. Each policy has assignments (which users, which apps, under which conditions such as location, device platform or sign-in risk) and controls (block, or grant access only if the user satisfies MFA, uses a compliant device, accepts terms of use, and so on).

The idea is simple: instead of one rule for everyone, access depends on context. A sign-in from a managed laptop in the office can be smooth, while the same account signing in from an unknown device in another country has to prove more. It is the practical engine behind zero trust in Microsoft environments.

How a policy is built

  • Users and groups: who the policy applies to, and who is excluded. Emergency access accounts should be excluded from most policies and watched closely instead. See emergency access account.
  • Target resources: all cloud apps, specific apps such as Exchange Online, or user actions such as registering security information.
  • Conditions: sign-in risk and user risk (with Entra ID P2), device platform, locations, client apps (which is how you target legacy authentication), and authentication flows such as device code flow.
  • Grant controls: block access, or require MFA, an authentication strength such as phishing-resistant MFA, a compliant or hybrid joined device, or an approved app.
  • Session controls: sign-in frequency, persistent browser sessions, app-enforced restrictions and token protection.

All policies that apply to a sign-in are evaluated together, and every requirement must be met. A block in any applicable policy wins.

Example

A common baseline policy requires MFA for all users on all cloud apps, with a second policy that blocks legacy authentication protocols, which cannot do MFA at all. A stricter policy can require phishing-resistant methods for administrators, and another blocks device code flow except for the few devices that need it. The Conditional Access starter set describes these policies and how to roll them out.

Rolling out safely

  • Use report-only mode first. It records what a policy would have done without enforcing it, so you can check the impact in the sign-in logs.
  • Exclude emergency access accounts, or a misconfigured policy can lock everyone out, including you.
  • Check Microsoft-managed policies before creating your own: eligible tenants may already have some in report-only mode.
  • Change one thing at a time and watch the results for a few days.

Reading it in investigations

The ConditionalAccessStatus field in sign-in logs tells you whether policies applied (success), blocked the sign-in (failure) or did not apply at all (notApplied). The sign-in details show each policy and its result.

  • notApplied on a suspicious sign-in is often the most important finding of an investigation, because it points to a gap that attackers will use again: an excluded user, an app outside the policy, a legacy protocol.
  • failure after a correct password means the attacker knows the password, even though access was blocked. Treat it as a compromised password.
  • Report-only results show what would have happened under a policy you have not enforced yet, which is useful evidence for tightening it.

Common mistakes

  • Large exclusion groups that nobody reviews.
  • Policies scoped to "selected apps" that leave new apps unprotected.
  • Forgetting registration: if anyone can add an MFA method from anywhere, an attacker with a password can too.
  • Enforcing without testing, which leads to outages and then to exceptions that never get removed.

Why it matters for a SOC analyst

Conditional Access decides what an attacker with a stolen password can actually do. In every identity investigation, check which policies applied, which did not and why. Gaps you find, such as a user outside the MFA policy or a legacy protocol still allowed, are as important to report as the attack itself, because closing them is what prevents the next one.

Articles that use this term

  • Multi-factor authentication

    Signing in with two or more different kinds of proof, such as a password plus a phone or security key, so a stolen password alone is not enough.

  • Zero trust

    A security model that grants no implicit trust based on network location: every access request is verified, limited and continuously evaluated.

  • Phishing-resistant MFA

    Authentication methods, such as passkeys, FIDO2 keys and Windows Hello for Business, that cannot be relayed or approved by a phished user.

  • Least privilege

    Giving every user, service and application only the access it needs to do its job, and only for as long as it needs it.

  • MFA fatigue

    An attack that floods a user with MFA push prompts, using a stolen password, until the user approves one out of confusion or annoyance.

  • Adversary-in-the-middle phishing

    Phishing that relays the victim's sign-in to the real site through an attacker's proxy, stealing the session cookie after MFA succeeds.

  • Legacy authentication

    Older sign-in protocols, such as POP, IMAP and basic-auth SMTP, that send a username and password and cannot perform multifactor authentication.

  • Emergency access account

    A highly privileged account kept aside for emergencies, such as a misconfigured access policy or an MFA outage, so administrators can never be fully locked out.