Step 5

Switch it on

You change one setting. Pick a quiet midweek morning, keep the emergency accounts to hand and test straight away.

10 minutesNeeds Conditional Access Administrator

Switch it on

  1. Confirm the emergency accounts were tested this week
  2. Open the policy and set Enable policy to On

    Conditional Access › Policies › your policy › On › Save.

  3. Prove ordinary sign-in still works

    In a private browser window, sign in as a normal staff account from the school network.

  4. Prove the block works

    Run What if again with another country, or sign in from a phone using a VPN set to another country. You should be refused.

  5. Watch the sign-in logs for the rest of the day

    Filter Conditional Access to Failure. Each entry should be one you expected.

If something goes wrong

Rollback, in under two minutes

Sign in with an emergency account, open the policy and set Enable policy back to Report-only. Do not delete it. Then find out which setting was wrong before trying again.

What a blocked person sees

Microsoft shows a page saying the sign-in was successful but does not meet the criteria to access the resource. It does not mention location. Give the office a one-line script, or someone will reset a working password.

"Are you outside the UK, or using a VPN? School accounts only work from inside the UK. Turn the VPN off and try again, or contact [name] if you are travelling for school."

Your progress is kept in this browser only.