Conditional access is a policy-based access control mechanism that evaluates signals about a user, device, application, location and risk at the moment of sign-in and then grants, limits or blocks access accordingly. In the Identity & access domain of Cybersecurity, it acts as the decision point between authentication and authorization: it does not replace either, but decides which additional requirements apply before a session token is issued.
Conditional access is a core building block of zero trust architecture, because it replaces a single static rule such as “inside the corporate network means trusted” with context-aware decisions evaluated on every request. Most implementations sit inside an identity provider, which means the policy applies consistently to every application federated through SSO.
How conditional access evaluates a sign-in
Conditional access evaluates a sign-in by collecting signals, matching them against policies and enforcing a combined outcome. The process runs after the user presents a primary credential and before the identity provider issues tokens to the target application, so it can still demand a stronger factor or refuse the session without the application being aware of the logic.
A typical evaluation follows a fixed sequence. The engine first identifies every policy whose assignments match the request, then aggregates the required controls. When several policies apply, the most restrictive combination wins: a block in any matching policy overrides every grant, and multiple grant requirements are usually all enforced together.
- The user authenticates with a primary factor such as a password, passkey or federated assertion.
- The identity provider gathers context signals: user and group, client application, device state, IP address, country and computed risk.
- Matching policies are selected and their grant or session controls are merged.
- The user satisfies the required controls, for example MFA or a compliant device, or the request is denied.
- Tokens are issued with claims that downstream services can use for continuous enforcement.
Evaluation does not end with sign-in in mature deployments. Continuous access evaluation lets resource providers revoke a session within minutes when a critical event occurs, such as a disabled account, a password reset or a change of network location, instead of waiting for token expiration after an hour or more.
Signals and controls in a conditional access policy
Every conditional access policy combines assignments that define scope, conditions that describe context and controls that define the response. The following table lists the signals most identity platforms expose and what each one tells the policy engine.
| Signal | What it describes | Typical use in policy |
|---|---|---|
| User and group | Identity, role, membership | Stricter rules for administrators |
| Target application | Resource being requested | Extra checks for finance or HR systems |
| Device state | Managed, compliant or unknown device | Require compliance for sensitive data |
| Network location | Named IP range or country | Block sign-ins from unused countries |
| Client type | Browser, modern client, legacy protocol | Block legacy authentication |
| Sign-in risk | Probability the attempt is not genuine | Require MFA at medium risk |
| User risk | Probability the account is compromised | Force password change at high risk |
Controls fall into two families. Grant controls decide whether access is allowed and under which proof, while session controls shape what the user may do after access is granted. The second table compares the most common options.
| Control | Type | Effect on the user |
|---|---|---|
| Block access | Grant | Request is refused outright |
| Require MFA | Grant | Second factor must be completed |
| Require phishing-resistant method | Grant | Only FIDO2 or passkey accepted |
| Require compliant device | Grant | Device must pass management checks |
| Sign-in frequency | Session | Reauthentication after a set interval |
| App-enforced restrictions | Session | Download or print disabled in the app |
Conditional access compared with related access models
Conditional access is not an authorization model in itself; it is a gate that adds context to the authentication step. RBAC and ABAC decide what an authenticated identity may do inside an application, whereas conditional access decides whether and how the session may start.
| Concept | Primary question | Where it is enforced |
|---|---|---|
| Conditional access | Under which conditions may this sign-in proceed | Identity provider at token issuance |
| RBAC | Which permissions does this role hold | Application or platform |
| ABAC | Do attributes satisfy the access rule | Policy decision point per request |
| MFA | Can the user prove a second factor | Authentication step |
| Just-in-time access | Is elevated access needed right now | Privileged access workflow |
In practice these mechanisms are layered rather than chosen between. A conditional access policy might require a phishing-resistant factor for administrators, after which RBAC limits their permissions and just-in-time access activates privileged roles for a bounded period.
Designing a conditional access policy set
A sound policy set starts from a small number of broad baseline policies and adds targeted exceptions only where a business need is documented. Too many overlapping policies make outcomes hard to predict and create gaps that attackers can find by testing different clients or locations.
| Situation | Recommended control | Reason |
|---|---|---|
| All users, all cloud apps | Require MFA | Stops most password-only attacks |
| Legacy authentication clients | Block access | These protocols cannot perform MFA |
| Administrator roles | Phishing-resistant MFA | Admin tokens are high-value targets |
| Unmanaged personal devices | Browser-only, no downloads | Limits data leaving control |
| High user risk detected | Secure password change | Remediates suspected compromise |
Deployment discipline matters as much as policy content. Experienced administrators run new policies in report-only mode first, review the logged impact for one to two weeks, and keep at least two emergency access accounts excluded from every policy so that a misconfiguration cannot lock out the entire tenant.
Limitations and common mistakes
Conditional access only protects what it can see. Applications that are not federated through the identity provider, local accounts and service principals using long-lived secrets fall outside its scope, and attackers often target exactly these unprotected paths.
- Broad exclusions: excluding a whole group or country to fix one complaint silently removes protection for many accounts.
- Trusting network location alone: an office IP range does not prove the device or user is legitimate.
- Ignoring token theft: once a session token is stolen, sign-in policies are bypassed unless token binding or continuous evaluation is in place.
- Weak MFA methods: SMS codes satisfy a basic MFA requirement but remain open to phishing proxies and SIM swapping.
- No monitoring of failures: denied sign-ins are valuable signals of account takeover attempts and should feed the security operations workflow.
Risk-based conditions also depend on the quality of the vendor detection model. False positives frustrate legitimate travelers, while false negatives let well-prepared attackers through, so risk signals should complement, not replace, deterministic rules about devices and authentication strength.
A non-technical view
Think of conditional access as a smart doorman for company systems. A password gets a person to the door, but the doorman also looks at who they are, which device they carry, where they are coming from and whether anything seems unusual.
If everything looks normal, the door opens. If something is unusual, the doorman asks for extra proof, such as a code on the phone, or refuses entry. The key idea is that access depends on the situation, not only on knowing the password.
A concrete example
A regional hospital with about 4,000 staff moves its email and clinical scheduling tools to a cloud platform. The security team creates four policies: MFA for every user, a block on legacy email protocols, phishing-resistant keys for 35 administrators, and browser-only access without downloads for personal phones and tablets.
All four policies run in report-only mode for ten days. The logs reveal an old scanner that still sends mail through a legacy protocol, so the team replaces it before enforcement begins. Two months later, an attacker obtains a nurse’s password through a phishing email and attempts a sign-in from another continent. The attempt is flagged as high risk, MFA cannot be completed, and the account is locked for review. No patient data is accessed, and the incident is closed after a password reset.