You change one setting. Pick a quiet midweek morning, keep the emergency accounts to hand and test straight away.
Switch it on
- Confirm the emergency accounts were tested this week
- Open the policy and set Enable policy to On
Conditional Access › Policies › your policy › On › Save.
- Prove ordinary sign-in still works
In a private browser window, sign in as a normal staff account from the school network.
- 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.
- 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
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."


