Home › Studies › SC-300 › Authentication & Access › Conditional Access

Conditional Access

Policy evaluation · assignments · conditions · grant and session controls · CAE · authentication context · protected actions · templates · testing

By the tools4free.dev team · Last reviewed November 13, 2026

Practice questions for this topic →

How a sign-in is evaluated

A Conditional Access policy is an if-then statement of Assignments and Access controls. Policies are enforced after first-factor authentication is completed.

A policy must includeDetail
NameA name for the policy
AssignmentsUsers and/or groups, and target resources
Access controlsGrant or Block

Licence: Conditional Access needs Microsoft Entra ID P1. Risk-based policies (sign-in risk and user risk) need Microsoft Entra ID Protection, which is a Microsoft Entra ID P2 feature. When the licences expire, policies are not automatically disabled or deleted. You can view and delete them, but you can't update them.

Assignments and conditions

SettingWhat to know
Include usersNone, All users (including B2B guests), or select users and groups: guest or external user types, directory roles, users and groups.
Directory rolesBuilt-in roles. Administrative unit-scoped roles and custom roles aren't supported.
GroupsIf users or groups belong to more than 2048 groups, their access might be blocked.
Workload identitiesSingle tenant service principals in your tenant. Microsoft and third-party SaaS apps, including multitenant apps, and managed identities aren't covered.
Target resourcesCloud apps (All resources option), user actions, authentication context, and Global Secure Access traffic profiles.
NetworkAny location, all trusted locations, all compliant network locations, or selected named locations. Policies apply to all locations by default.
Device platformsTaken from unverified sources such as user agent strings. Use it with another policy or as part of a block statement.
Client appsBy default, new policies apply to all client app types. Legacy authentication clients don't support MFA or pass device state.
Filter for devicesInclude or exclude devices with a rule expression on device properties. Can't be used together with device state, which is deprecated.

Named locations

RuleValue
Named locations (IP ranges)No more than 195
IP ranges per named locationNo more than 2000
IP range maskOnly CIDR masks greater than /8
Trusted locationCan't be deleted until the trusted designation is removed

Grant and session controls

Grant controlWhat to know
Block accessPowerful control. Test with report-only mode and the What If tool.
Require MFAWindows Hello for Business satisfies the requirement.
Require authentication strengthBuilt-in or custom strengths from Authentication methods > Authentication strengths.
Require compliant deviceDevice must be registered in Microsoft Entra ID. Windows 10+, iOS, Android, macOS and Linux Ubuntu devices enrolled with Intune. Edge InPrivate on Windows counts as noncompliant.
Require hybrid joined deviceDomain-joined Windows down-level and Windows 10+ devices. Not supported with the device-code OAuth flow.
Require approved client appThe approved client app grant is retiring in early March 2026.
Require app protection policyNeeds a broker app on the device.
Require password changeMust be assigned to All resources, can't be combined with other controls, and users must already be registered for MFA. It doesn't use the SSPR flow.

By default, multiple controls require all of the selected controls. You can instead choose one of the selected controls. With several policies, the validation order is MFA, device state, and then terms of use.

Session controlWhat to know
Application enforced restrictionsWorks only with Exchange Online and SharePoint Online. The app gives a limited experience on unmanaged or noncompliant devices, and a full one on managed and compliant devices.
Conditional Access App ControlReverse proxy architecture integrated with Microsoft Defender for Cloud Apps.
Sign-in frequencyHow long a user can stay signed in before a new prompt. Default is a rolling window of 90 days. Works with apps that use OAuth 2.0 or OIDC.
Persistent browser sessionLets users stay signed in after closing and reopening the browser. All tabs share one session token.
Customize continuous access evaluationCAE is auto enabled as part of Conditional Access policies.
Disable resilience defaultsResilience defaults extend access to existing sessions during an outage. If disabled, access is denied when existing sessions expire.
Token protectionOnly device-bound sign-in session tokens, like Primary Refresh Tokens, are accepted.
Global Secure Access security profileBrings identity and context awareness to Microsoft Entra Internet Access security profiles.

Continuous access evaluation (CAE)

By default, access tokens are valid for one hour. CAE lets Microsoft Entra and the resource provider talk to each other, so access can be revoked within minutes instead of waiting for the token to expire. The initial implementation focuses on Exchange, Teams and SharePoint Online.

CAE scenarioDetail
Critical event evaluationDoesn't rely on Conditional Access policies, so it is available in any tenant. Events: user deleted or disabled, password changed or reset, MFA enabled for the user, administrator revokes all refresh tokens, high user risk detected by ID Protection.
Conditional Access policy evaluationExchange Online, SharePoint Online, Teams and Microsoft Graph synchronize key policies, so users lose access immediately after a network location change.

Authentication context and protected actions

Plan, templates, test and troubleshoot

Templates

Test and troubleshoot

ToolWhat it does
Report-only modeEvaluates a policy at sign-in without enforcing it. Not available for the user actions scope. Results: Success, Failure, User action required, Not applied. Users aren't prompted.
What IfSimulates a sign-in. Includes only enabled and report-only policies. Requires identity, target resource, device platform and client app. Doesn't test service dependencies. Enter the App ID, not app groups.
Sign-in logsThe Conditional Access tab shows the policies that applied. Filter by correlation ID. Audience reporting shows all resources requested.
Insights and reporting workbookNeeds Microsoft Entra ID P1 and a Log Analytics workspace that receives sign-in logs.

Exam Tips

Tick each tip once you can answer it without looking.

“One user is in scope of two policies: one requires MFA, the other a compliant device” → The user must satisfy both. Trap: Applicable policies are not alternatives. Only inside a single policy can you pick 'Require one of the selected controls'.

“An applicable policy has the Block grant control” → Enforcement stops and the user is blocked. Trap: Other grant controls and more specific policies don't override a block.

“User is in the included group and in the excluded group” → Excluded: the exclude overrides the include. Trap: It isn't first match or most specific wins.

“Only the Finance group is targeted. Others still reach the app” → Tokens are issued by default. Add a Block policy for all users, excluding Finance. Trap: A policy that doesn't trigger doesn't deny anything.

“User added to a targeted group but not affected yet” → Policies for roles and groups are evaluated when a token is issued. Get a new token, or trigger evaluation at PIM activation. Trap: There is no retroactive effect on an existing token.

“Target admin roles in a policy” → Built-in directory roles only. Trap: Administrative unit-scoped roles and custom roles aren't supported.

“Policy scoped to users and a service principal keeps working” → Use Conditional Access for workload identities (single tenant service principals). Trap: Managed identities and multitenant or third-party SaaS apps aren't covered.

“Block Chrome OS and other unsupported platforms” → Device platforms: include any device, exclude supported platforms, Block. Trap: The platform comes from the user agent string, which can be changed.

“MFA policy blocks an old mail client” → Legacy authentication clients can't do MFA or pass device state. Exclude them or apply the policy to modern clients, or block legacy auth. Trap: The Client apps toggle isn't needed to apply a policy to all client types. New policies apply to all by default.

“Target Teams, Exchange and SharePoint consistently” → Use the Office 365 app grouping. Trap: The What If tool needs a specific App ID. Groups of apps don't match.

“Authentication context can't be assigned in an app” → Select Publish to apps (up to 99 contexts, c1-c99). Trap: The ID is read-only. The display name is only a label.

“Require a stronger sign-in before editing Conditional Access policies” → Protected action: authentication context + policy On + Conditional Access or Security Administrator to configure. Trap: If the policy is Off or Report-only, the user is asked to reauthenticate again and again. Azure PowerShell fails, Graph PowerShell works.

“Default sign-in frequency” → Rolling window of 90 days. Trap: One hour is the default access token lifetime, not the sign-in frequency.

“Revoke access within minutes after account disablement or token revocation” → Continuous access evaluation: critical events work in any tenant, tokens up to 28 hours. Trap: CAE location enforcement only sees IP-based named locations. It doesn't support guest accounts.

“See what a new policy would do without enforcing it” → Report-only mode, then check the Report-only tab in sign-in logs. Use What If for a simulated sign-in. Trap: Report-only isn't available for user actions. What If ignores service dependencies and disabled policies.

“Policy created from a template” → Report-only, and only the creating user is excluded. Trap: Break-glass accounts aren't excluded automatically. Edit the policy.

“Limit on policies per tenant” → 240, counting report-only and off policies. Trap: 195 is the limit of named locations.

Sources

Checked against Microsoft Learn on November 13, 2026.

← Authentication Methods, MFA & SSPRID Protection & Risk →