# Conditional Access

> If-then rules at sign-in. They check device, place and risk, then allow, ask more or block.

**Field:** Software Development  
**Category:** Auth  
**Also known as:** Conditional Access Policy, Context-Aware Access, Adaptive Access

## Think of it like

Think of it like a door guard. If something looks odd, he asks for more.

## Definition

Conditional access is a set of if-then rules that run at sign-in. Each rule looks at signals, such as who you are, your device, where you are and which app you open. Then it decides. It may let you in, ask for a second factor, or block you. The rules run after the password check, not in place of it. Most big identity providers offer rules like this.

## Example

Lucy's firm uses Microsoft Entra ID, where these rules need a P1 licence. One rule asks for MFA on any laptop the firm does not manage. Another blocks sign-ins from countries where it has no staff.

## Why it matters

One set of rules guards every app at once. Staff are asked for more only when a sign-in looks risky.

## Common mistake

Turning on a strict rule for everyone at once. Try it on a small group first, or you may lock out the whole firm, admins too.

## Three principles

- **If, then.** Signals go in, and a decision comes out.
- **Three answers.** Let in, ask for more, or block.
- **After the password.** It adds to the login, not replaces it.

## Related terms

- [Multi-Factor Authentication (MFA)](https://learn.benibix.com/term/development/multi-factor-authentication)
- [Microsoft Entra ID](https://learn.benibix.com/term/development/microsoft-entra-id)
- [Identity Provider (IdP)](https://learn.benibix.com/term/development/identity-provider)
- [Zero Trust](https://learn.benibix.com/term/infrastructure/zero-trust)
- [Authentication](https://learn.benibix.com/term/development/authentication)

![Four signal boxes on the left: who, Lucy in Sales; device, a firm laptop or not; place, which country; and app, payroll. Arrows run from all four into a box of rules in the middle, which says if the laptop is unknown, then ask for MFA. Three arrows leave it for three decisions on the right: let in, ask for MFA, and block. A note under them says the rules run after the password check and before any app opens.](https://learn.benibix.com/diagrams/dev-conditional-access.svg)

---

Source: https://learn.benibix.com/term/development/conditional-access
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
