Break-glass account cycle
What you’re probably seeing right now
You are on this page for one of two reasons:
- You need the break-glass account now. No normal admin can sign in. Conditional Access is blocking you, MFA is down, or federation is gone. You are standing next to the safe.
- Its sign-in alert just fired, and nobody told you about a test. The alert shows one of the two emergency accounts signing in, at an hour when nobody should be.
Either way: this account can do anything in the tenant. Treat every minute it is in use as an open incident.
First 5 minutes
If you need to use it
- Confirm that normal admin paths really fail: a second admin, a second device, a second MFA method. Write what each attempt showed.
- Tell whoever watches the sign-in alert that you are about to use it. By phone, not by mail in the tenant you are locked out of.
- Two people at the safe if you can. One signs in, one writes the log.
- Sign in with the first account. If it fails, the second. Do one fix, the smallest one (see the R2 Locked out of Microsoft 365 / Entra ID runbook, path B).
Do not: send the password by mail, chat or phone photo. Do not keep working in the account once a normal admin works. Do not create new permanent Global Administrators “just in case”.
If the alert fired and nobody announced a test
- Call the people on the authorized list. Did one of them sign in? Ask directly.
- Read the sign-in record: time, IP, location, result, device (query below).
- If nobody claims it within a few minutes: it is a security incident until proven otherwise.
What to tell the manager or security lead, and when: immediately, in both cases.
“[Using:] I am using the emergency admin account to undo [change] because no normal admin can sign in. It will be closed and its password rotated within [time].”
“[Unplanned alert:] One of our emergency admin accounts signed in at [time] and nobody on the authorized list has claimed it. I am treating it as a security incident.”
If you see this, do that
Who signed in, from where?
Log Analytics or Microsoft Sentinel (same query as the alert, with more columns):
SigninLogs
| where UserId in ("<emergency-account-object-id-1>", "<emergency-account-object-id-2>")
| project TimeGenerated, UserPrincipalName, IPAddress, Location, ResultType, ResultDescription
| order by TimeGenerated desc
Announced test from the office · example output
TimeGenerated UserPrincipalName IPAddress Location ResultType ResultDescription
2026-11-20T10:02:13Z bg-01@example.onmicrosoft.com 203.0.113.20 IS 0
Unknown IP, repeated attempts · example output
TimeGenerated UserPrincipalName IPAddress Location ResultType ResultDescription
2026-11-20T02:14:07Z bg-02@example.onmicrosoft.com 198.51.100.77 NL 0
2026-11-20T02:13:41Z bg-02@example.onmicrosoft.com 198.51.100.77 NL 50126 Error validating credentials due to invalid username or password.
2026-11-20T02:13:02Z bg-02@example.onmicrosoft.com 198.51.100.77 NL 50126 Error validating credentials due to invalid username or password.
- Matches an announced test or your own emergency use: log it, continue with “Recovery procedure” below.
- Unknown source, especially failed attempts followed by a success: someone has the password. Assume the tenant is compromised. Escalate now, keep the logs, and follow your incident response plan. Rotating the password and revoking its sessions is the containment step; changes the account made go into the audit-log review.
- Failed attempts only, no success: someone knows the account name and is trying. Check the FIDO2 key is still in the safe. Escalate to the security lead.
Warning
Every action taken with this account is a Global Administrator action. Change one thing, the thing that unlocks normal administration, and write it down as you do it. Signing out late, or “tidying up while you are in”, is how an emergency becomes an unexplained change nobody can review.
Stop and escalate when
- An unplanned sign-in nobody claims.
- Both accounts fail to sign in when you need them.
- The FIDO2 key or the sealed password is missing from the safe.
- Audit logs show the account made changes nobody on the authorized list made.
- Someone not on the authorized list asks for the credentials.
About this page
Check before you use this. Placeholder IDs and names below are example data. Check Microsoft’s current emergency access documentation before you rely on any setting.
A break-glass account, also called an emergency access account, is a last-resort Global Administrator in Microsoft Entra ID. You use it only when normal admin accounts cannot sign in or cannot activate a role: a Conditional Access misconfiguration, an MFA outage, a federation failure, or the last Global Administrator leaving.
It is not a daily admin account. Any unplanned use is an incident until you prove otherwise.
What a break-glass account is
It is a cloud identity that can still reach the tenant when everything else is stuck. Typical triggers:
- Federation or the on-premises identity provider is down, so synced or federated admins cannot sign in
- Admin MFA is unavailable (lost devices, authenticator outage, or a network that blocks the only method you registered)
- A Conditional Access change locks out normal administrators
- Every Global Administrator and Privileged Role Administrator assignment is eligible, activation needs approval, and no approver is available
- The last person with Global Administrator access has left, and their account was disabled or deleted on-premises
You keep the account ready, test it on a schedule, and put it away again after any use. That is the cycle.
Why you need at least two
One account is a single point of failure. A lost key, a forgotten safe combination, or a damaged credential should not lock you out of the tenant.
Keep at least two accounts, with:
- Separate passwords and separate FIDO2 keys or passkeys
- Credentials stored in separate places, for example two safes, so one location cannot take both offline
- The same setup rules applied to both
If one fails, the other still works.
Setup
Create two or more cloud-only users and treat this as a checklist.
-
Cloud-only on
*.onmicrosoft.com. Do not sync them from Active Directory and do not federate them. They must be able to sign in even if your on-premises identity provider is down. -
Global Administrator, permanently assigned. In Privileged Identity Management, make the role assignment permanent and active, not eligible. An eligible role that needs approval will not help you in a lockout.
-
Exclude them from Conditional Access policies that block or restrict sign-in. Put the accounts in a dedicated group and exclude that group. Exclude the group from report-only policies too, as a habit: report-only does not block today, but the day someone switches a policy to On, an account that was never excluded is locked out.
-
MFA with FIDO2 security keys or passkeys. Use a phishing-resistant method that is not the same as your normal admin MFA. For example, if daily admins use the Microsoft Authenticator app, give the emergency accounts a FIDO2 security key. Certificate-based authentication is an alternative if you already run a PKI.
-
Long, unique passwords, stored offline. Keep each password in a safe, ideally split or sealed, and not on a personal device or in a cloud password manager that depends on the same tenant.
-
No mailbox or licence dependency. These accounts do not need a mailbox or a Microsoft 365 licence to sign in and use the Global Administrator role. Do not tie recovery to Exchange Online or to a licensed application being available.
-
Do not tie them to one person. No personal phone, no personal email, and no self-service password reset methods that point at an individual’s device. Credentials should be available to the authorized administrators on your list. Use a designated secure workstation if you have one.
-
Credentials must not expire. Set the password to never expire for these accounts only, and rotate it on your own schedule (see Testing cycle).
-
Exclude them from self-service password reset (SSPR). Keep the emergency access group out of the SSPR target group and never register SSPR methods on them. Watch the separate administrator reset policy Microsoft applies to admin roles by default: a Global Administrator can still be offered self-service reset even outside your SSPR group. See Self-service password reset policies.
Warning
Turning
allowedToUseSSPRoff tenant-wide (GraphauthorizationPolicy) is optional hardening with a real cost: every admin role holder loses self-service password reset at once. Treat it as a decision, not the default, write it in the change log, and check the result on the emergency accounts and on one normal admin. -
Exclude them from risk-based auto-remediation. Identity Protection user-risk and sign-in-risk policies, and risk-based Conditional Access policies, can block these accounts or force a password change or MFA registration they cannot complete. Exclude the emergency access group from those policies too, and rely on the sign-in alert instead.
-
Exclude them from unused-account and lifecycle cleanup. Inactive-user access reviews, lifecycle workflows, and home-made scripts that disable or delete accounts with no recent sign-in must skip the emergency access group by name. An account that is used four times a year looks unused.
-
Alert on any sign-in. Send Microsoft Entra sign-in logs to Log Analytics or Microsoft Sentinel and fire an alert when either account signs in. If you do not have that stack yet, at least add a monitoring check and review the sign-in logs after every test.
Mandatory MFA note. Microsoft’s mandatory MFA enforcement for the Azure portal, Microsoft Entra admin center, Microsoft Intune admin center and Microsoft 365 admin center applies to break-glass accounts as well. A Conditional Access exclusion does not turn that enforcement off. Register a passkey (FIDO2) or certificate-based authentication so the accounts stay usable and still meet the requirement. See Microsoft Learn: Manage emergency access admin accounts and Plan for mandatory Microsoft Entra multifactor authentication.
Example alert query for Log Analytics or Microsoft Sentinel (replace the placeholders with the object IDs of your two accounts):
SigninLogs
| where UserId in ("<emergency-account-object-id-1>", "<emergency-account-object-id-2>")
| project TimeGenerated, UserPrincipalName, UserId, IPAddress, ResultType, ResultDescription
Set the alert logic to fire when the count is greater than 0.
Testing cycle
Microsoft’s published minimum is to validate the accounts at least every 90 days, and also after IT staff changes or a change to your Microsoft Entra subscriptions. Build a simple cycle on top of that.
Every quarter, and after every Conditional Access policy change:
- Tell monitoring staff that a planned test is coming, so the alert is expected
- Sign in with each account and confirm you can perform an administrative task
- Confirm the sign-in alert fired
- Confirm MFA or self-service password reset has not been registered to a personal device
- Confirm you can still reach the keys and the offline password store
- Confirm the accounts are still excluded from blocking and risk-based Conditional Access, SSPR, and inactive-account cleanup
- Document: date, tester, result (pass or fail), and whether the alert fired
Every year:
- Rotate each account’s password
- Review each FIDO2 key or passkey. Replace a worn, lost or ageing key, and confirm the second account’s key is still independent
- Review the list of people authorized to use the accounts
- Change safe combinations, and also do this whenever someone with access leaves
Recovery procedure if they are ever used
Only the people on the authorized list may use a break-glass account. Anyone else who asks for the credentials is a reason to stop and raise an incident.
- Trigger. Confirm that normal admin accounts really cannot be used: lockout, identity-provider or MFA outage, Conditional Access misconfiguration, or no remaining Global Administrator.
- Sign in from a designated secure workstation if you have one, using the first available emergency account. If that account fails, use the second.
- Fix the root cause. For example, correct the Conditional Access policy, restore a normal admin account, or appoint a new Global Administrator. Do only what is needed to restore normal administration.
- Log every action as you go: who signed in, from where, what was changed, and when.
- Re-secure the emergency account:
- Rotate its password
- Re-check the FIDO2 keys or passkeys
- Review sign-in logs and audit logs for that account
- Confirm the Conditional Access, risk policy, SSPR and lifecycle-cleanup exclusions are still correct and still limited to these accounts
- Write a short post-incident note. Was this a planned test, a real emergency, or misuse? What was fixed? What will you change so you do not need the account next time?
Treat unplanned use as a security incident until the review says otherwise.
After it’s back up
- Signed out of the emergency account. Normal admins work again.
- Password rotated and resealed, FIDO2 key back in the safe and checked.
- Sign-in and audit logs for the account exported to the incident record.
- Exclusions still correct (Conditional Access, risk policies, SSPR, lifecycle cleanup).
- Post-incident note: test, real emergency or misuse; what was changed; what you will change so you need the account less.
- Unplanned use? Continue with after an incident: work out what happened.
The cycle
Diagram source (Mermaid)
%%{init: {"flowchart": {"curve": "linear", "padding": 20, "nodeSpacing": 52, "rankSpacing": 60, "htmlLabels": true}, "themeVariables": {"fontFamily": "Segoe UI, Inter, system-ui, sans-serif", "fontSize": "18px"}}}%%
flowchart TD
classDef node fill:#1e293b,stroke:#2dd4bf,stroke-width:2px,color:#f8fafc
classDef warn fill:#1e293b,stroke:#f59e0b,stroke-width:2px,color:#f8fafc
classDef test fill:#1e293b,stroke:#64748b,stroke-width:1.5px,color:#e2e8f0
N[Normal operation]:::node
E[Emergency trigger]:::warn
R[Recovery]:::node
S[Re-securing]:::node
T[Quarterly test]:::test
N -->|emergency| E
E --> R
R --> S
S -->|back to normal| N
N -->|every 90 days| T
T --> NGuidance on this page follows Microsoft’s current emergency access documentation. Re-check that article when you review the accounts, because enforcement details can change.