Skip to content
Pro lab

Conditional Access Lab

Most identity breaches walk through a gap in the access policies: a legacy protocol that skips MFA, an admin still on SMS, an exclusion nobody remembers adding. Here you are the identity engineer at Aldermoor Freight, and you inherit a half-finished policy set.

Over 5 rounds you set MFA strength, device, location, risk and session controls for employees, admins, contractors, break-glass and service accounts. Then a what-if replay shows every sign-in being blocked, challenged or let through. Stop the attacks, lock nobody out, and finish with a policy set and rollout plan you can adapt.

0s
Seed …

Identity engineering brief

You own the access policies at Aldermoor Freight

Ines Okafor · Identity security lead

Welcome to Aldermoor Freight. You own the conditional access policy set now. The last engineer left us a half-finished tenant: a report-only legacy block, a few quick fixes nobody wrote down, and admins who still use SMS. Every round adds new sign-ins to the what-if replay, and the old ones stay in, so a change that breaks round 1 shows up in round 4.

Dev Raman · Service desk lead

And I am the one who takes the call when someone cannot sign in. Stop the attackers, yes, but I count every real person you lock out. If you lock out the break-glass accounts, nobody can fix anything on the bad day.

Who signs in

  • Employees628Office, depot and remote staff. Authenticator app registered.
  • Admins12IT and cloud admins. Most registered SMS first and a FIDO2 key second.
  • Contractors85External staff on their own laptops and phones.
  • Break-glass accounts2Two emergency admin accounts. FIDO2 keys in the safe.
  • Service accounts14Service principals and workload identities. Cannot do MFA.

Apps

Email and collaboration suiteFinance ERPAdmin portalLegacy HR app (basic auth)

Named locations · aldermoor.example

  • HQ (Leeds) · Trusted · 198.51.100.0/27
  • Branch depots · Trusted · 198.51.100.64/27
  • Datacentre egress · Trusted · 192.0.2.0/28
  • Blocked countries · Country list · Countries with no staff, customers or suppliers

Policies you inherit (Pro)

  • CA01 Require MFA, all usersOnExcludes Emergency access. Someone added "All Staff" to the exclusions while looking for the travel group.
  • CA02 Block legacy authenticationReport-onlyReport-only since spring. Email only, employees and admins only.

Five rounds, escalating · 21 sign-ins at this level

  1. 1Baseline: MFA for everyone, legacy auth gone · A password spray landed overnight. Close the basics first.+6
  2. 2Admins and the admin portal · Admins get phished like everyone else, with a bigger blast radius.+4
  3. 3Risk and location · Travellers, stolen tokens and leaked passwords.+4
  4. 4Contractors, BYOD and the finance ERP · Personal devices get email, not the money.+4
  5. 5Service accounts and break-glass · The accounts that cannot do MFA, and the ones that must never fail.+3
45%
Stopped
attacks and violations
35%
Got in
real users, no lockouts
20%
Checks
MFA strength, ToU, sessions

Classic mistakes cost extra

  • Break-glass locked out−15
  • Policy left in report-only−8
  • A whole group excluded by accident−10
  • Admins can use SMS for MFA−10

Each round you make one design call, then edit policies and run the what-if as often as you like. Shipping scores the round on every sign-in so far. Your final grade is 80% the average round score and 20% the design calls; 75% clears it. Pro: notes after your first what-if, fixes after the second.

SeedSame seed and level = same people, sign-ins and design calls.

Loading…

Sample report · illustrative data

Sample result: Conditional Access Lab debrief

Example run of the five-round lab for the fictional Aldermoor Freight tenant: policies edited, replayed against synthetic sign-ins, then shipped round by round.

Rounds shipped

RoundRound scoreDesign call
1. Baseline: MFA for everyone, legacy auth gone92%2 / 2
2. Admins and the admin portal83%2 / 2
3. Risk and location78%1 / 2
4. Contractors, BYOD and the finance ERP70%2 / 2
5. Service accounts and break-glass88%1 / 2

Final grade

Average round score
82.2%
Design calls
8 of 10 points (80%)
Final score
82% (80% round average + 20% design calls)
Pass mark
75%

Where a round loses points

A round scores 45% on attacks stopped, 35% on legitimate sign-ins let through and 20% on quality checks, then loses points for classic mistakes. In round 2 here, 9 of 10 attacks were stopped and 1 of 15 legitimate sign-ins was locked out, and leaving SMS available to admins cost a further 10 points (the other classic mistakes are locking out break-glass, 15 points, leaving a useful policy in report-only, 8, and excluding a whole core group, 10).

Made-up example data. Your own run uses your inputs. Downloads of the full report need Pro.

TL;DR

What this lab is

5 points
  • A conditional access lab in 5 rounds: you are the identity engineer at Aldermoor Freight, a fictional freight company, and you design and tune its access policy set.
  • Policies cover employees, admins, contractors, break-glass accounts and service accounts, across the email suite, a finance ERP, the admin portal and a legacy basic-auth app.
  • Conditions include device compliance, named locations, sign-in risk, user risk and client app (to block legacy authentication). Grant controls include MFA strength (phishing-resistant versus any method), compliant device, Terms of Use and password change; session controls cover sign-in frequency and persistent browser sessions.
  • A what-if replay runs up to 26 seeded sign-ins (a traveller, an admin on an unmanaged device, MFA fatigue, token replay from a new country, a legacy IMAP client, a service principal, break-glass use, a contractor on BYOD) and shows which policy applied and whether each was blocked, challenged for MFA or allowed.
  • You are scored on attacks stopped against users locked out, with penalties for four classic mistakes. Two teammates comment on every call, and the debrief exports your policy set and a rollout plan as Markdown. Runs are seeded, so a ?seed= link replays the same tenant.

Frequently asked questions

What is the Conditional Access Lab?

A browser-based training lab where you run the access policy set for a fictional company. Over 5 rounds (baseline MFA and legacy auth, admins, risk and location, contractors and BYOD, service accounts and break-glass) you make a design call, edit policies, and replay seeded sign-ins against them to see who is blocked, challenged for MFA or allowed. Earlier sign-ins stay in the replay, so a change that breaks round 1 shows up later.

What are conditional access policies?

They are if-then rules your identity provider checks at every sign-in: if this user, on this app, under these conditions (device, location, risk, client app), then block, or grant access only with these controls (MFA, a compliant device, Terms of Use), with these session limits. Microsoft Entra calls them Conditional Access policies; other identity providers call them access policies, sign-on policies or authentication policies. The lab is vendor-neutral and uses the common model.

How do multiple policies combine?

Every enabled policy whose assignments and conditions match the sign-in applies at once. If any of them says Block, the sign-in is blocked, whatever the others say. Otherwise every grant control from every matching policy must be satisfied, so "require MFA" in one policy and "require compliant device" in another means both. The strictest session control wins. Report-only policies are evaluated and logged but never enforced. If no policy matches, the sign-in is allowed with just a password.

Why exclude break-glass accounts, and how do I still protect them?

Break-glass (emergency access) accounts exist for the day your normal controls fail: an MFA outage, a bad policy, a federation problem. Because a Block always wins, any broad block, risk, location or device policy that includes them can lock you out of your own tenant. Exclude them from those policies, but do not leave them unprotected: give them one dedicated policy that requires phishing-resistant MFA with keys held offline, and alert on every sign-in.

Why block legacy authentication separately?

Legacy protocols (IMAP, POP, SMTP AUTH and other basic-auth clients) cannot perform modern MFA or report device state. A require-MFA policy scoped to browsers and modern apps never sees them, so a sprayed password works over IMAP even when MFA is "on". Block legacy clients explicitly, for every user type and every app, and move devices like scan-to-email printers to an authenticated relay first.

What is phishing-resistant MFA, and why do admins need it?

Phishing-resistant methods such as FIDO2 security keys, passkeys and certificate-based authentication are bound to the real site, so MFA fatigue (spamming push prompts until someone approves), real-time phishing proxies and SIM swaps do not work against them. A policy that only says "require MFA" lets an admin satisfy it with SMS, the weakest method. Use an authentication-strength requirement for admins and break-glass accounts.

Does MFA stop token replay?

Not on its own. A stolen session token or cookie already carries the MFA claim from the original sign-in, so a require-MFA policy is satisfied. What stops a replay is a high sign-in risk block, a fresh sign-in forced by sign-in frequency (set to every time on risky sign-ins), no persistent browser sessions on unmanaged devices, or a compliant-device requirement that the attacker's machine cannot meet.

What is the difference between sign-in risk and user risk?

Sign-in risk scores one sign-in: an unfamiliar location, an anonymous IP, an anomalous token. User risk scores the account: leaked credentials or a confirmed compromise. A common pattern is to require a fresh MFA for medium sign-in risk, block high sign-in risk, and for high user risk require MFA plus a secure password change, so the real user can fix it without a service-desk call.

How should service accounts and workload identities be handled?

Service principals and workload identities cannot do MFA, accept Terms of Use or prove device compliance, so a user MFA policy that includes them breaks automation. Keep them out of user policies, and protect them with a block for any sign-in outside the trusted egress locations, short-lived credentials such as certificates or managed identities, and risk detections.

What are the classic mistakes the lab flags?

Four, each with a penalty: locking out a break-glass account; leaving a policy in report-only when it would have stopped an attack; excluding a whole group (such as All Staff) by accident, which removes hundreds of people from a control; and letting admins satisfy MFA with SMS. Each comes with the fix in the round feedback and the debrief.

How do difficulty, seeds and scoring work?

Rookie plays the core sign-ins with teammate notes shown from the start. Pro adds more sign-ins and checks and inherits a tenant with an accidental group exclusion; notes appear after your first what-if. Elite adds the hardest sign-ins (SIM swap, a quiet medium-risk token replay, password guessing on break-glass) and a messier inherited tenant, with no notes until you ship. Each round scores 45% attacks stopped, 35% real users let in and 20% quality checks, minus mistake penalties; the final grade is 80% rounds and 20% the design calls. The ?seed= value fixes the people, sign-ins and design calls, so a colleague can replay your exact tenant.

Is any of this real?

No. Aldermoor Freight, its people and the aldermoor.example domain are invented, every IP address is from the RFC 5737 documentation ranges, and the sign-ins are generated in your browser. The lab models how conditional access decisions combine; it does not connect to any identity provider.

The tools people use most on PlayCISO.

All tools