Locked Out
Someone switched on a new Conditional Access policy over the weekend. Now nobody at Contoso can sign in, including you. The CEO presents to the board at 9.
Three locks to open
- 1Find the cause. What changed, and who changed it?
- 2Fix it safely. Get people back in without opening the door to everyone.
- 3Prove it. Test a sign-in and show it works.
I can't get into Outlook. It says my device needs to be compliant? I'm presenting to the board at 9.
Forty tickets in ten minutes, all the same error. My admin account is blocked too, so I can't even look.
There's an emergency access account. Its password is in the IT safe, and the safe code is in the onboarding pack on your desk.
You escaped Locked Out
What happened
A policy requiring a compliant device sat in report-only mode for the IT pilot, then was switched to all users and turned on early on Saturday. Only 14 of 312 devices were enrolled in Intune, so almost everyone, every admin included, was blocked with AADSTS53000. The only account that still worked was the emergency access account, because the policy excluded its group.
How you'd fix it for real
- Sign in with an emergency access account that's excluded from Conditional Access.
- Find the change in the audit logs, and confirm it in a blocked user's sign-in log.
- Switch the policy back to report-only, or scope it to the pilot group, rather than deleting it.
- Use the What If tool to check who it would block before switching it on again.
- Turn it on for everyone only once devices are enrolled and compliant.
Stop it happening again
- Keep two emergency access accounts, excluded from every Conditional Access policy.
- Alert whenever an emergency access account signs in.
- Check report-only results and roll out to a pilot group before going wider.
- Make policy changes through change control, so a weekend switch-on can't happen quietly.