Break-glass (emergency access) accounts in Microsoft Entra ID
Create two cloud-only Global Administrator accounts that still work when federation, MFA devices, or Conditional Access fail, protect them with FIDO2 passkeys, and alert on every sign-in.
- Global Administrator or Privileged Role Administrator
- Two or more FIDO2 security keys per account
- Sign-in logs sent to a Log Analytics workspace
- A safe or equivalent secure storage in separate locations
A break-glass account in Microsoft Entra ID is a cloud-only Global Administrator that you only use when normal admin sign-in fails. Microsoft's guidance on emergency access accounts comes down to six steps: create two or more such accounts on the *.onmicrosoft.com domain, make the Global Administrator assignment permanent and active, sign them in with FIDO2 passkeys or certificate-based authentication, exclude them from Conditional Access policies that block or restrict sign-in, alert on every sign-in, and test them at least every 90 days. When you finish, you have accounts that still work through a federation outage, a lost MFA device, or a bad policy, and nobody can use them without the security team knowing.
Before you start
The accounts exist for specific failures that Microsoft lists. Federation is down, so sign-in redirects to an identity provider that does not answer. Admins cannot complete MFA because their devices or the phone network are unavailable. The last Global Administrator leaves or is disabled on-premises. Or every privileged role is eligible-only, activation needs approval, and no approver is left.
Do not skip MFA on these accounts. Microsoft's mandatory MFA enforcement covers the Azure portal, Microsoft Entra admin center, and Intune admin center (Phase 1, from October 2024), the Microsoft 365 admin center (from February 2025), and Azure CLI, PowerShell, mobile app, IaC tools, and REST API create, update, and delete operations (Phase 2, from October 1, 2025). Learn says break-glass accounts are not exempt. An account with only a password cannot do its job.
| Decision | Microsoft's guidance |
|---|---|
| How many | Two or more |
| Domain | Cloud-only, *.onmicrosoft.com, not federated or synced |
| Role | Global Administrator, active permanent in PIM (not eligible) |
| Auth method | Passkey (FIDO2) recommended; certificate-based auth if you already run PKI |
| Owner | Not tied to an individual or to employee phones |
| Test cadence | At least every 90 days |
1. Create the accounts
Create two cloud-only users in the Microsoft Entra admin center, for example bg-01@contoso.onmicrosoft.com and bg-02@contoso.onmicrosoft.com. Use names that do not advertise the account's purpose if you prefer, but record the mapping in your runbook.
Assign the Global Administrator role. In Privileged Identity Management, make the assignment active and permanent, not eligible, so the account never depends on PIM activation or an approver.
Check: The user's properties show no on-premises sync, and the role assignment shows as permanent active. Common failure: Creating the account on a federated custom domain. If AD FS or the external IdP is down, the account fails with it. Microsoft says to keep cloud and on-premises emergency access separate, with no dependency of one on the other. Rollback: Delete the user; the tenant keeps your other Global Administrators.
2. Register phishing-resistant credentials
Enable passkeys (FIDO2) in the Authentication methods policy, then register at least two security keys per account. Microsoft adds that emergency accounts should not use the same method as your other admin accounts: if admins use Microsoft Authenticator, use FIDO2 security keys here. The credential must not expire or be removed by automated cleanup for inactivity. Hardware keys from vendors such as Yubico work; any FIDO2 key your Authentication methods policy allows is fine.
Check: The user's authentication methods list the passkeys, and nothing tied to a personal phone. Microsoft's validation list includes confirming no MFA or SSPR is registered to an individual's device or personal details. Common failure: Registering a synced passkey on one administrator's phone. That ties the account to a person and a device, which the guidance rules out. Rollback: Remove the method from the user's authentication methods and register a new key.
3. Exclude the accounts from Conditional Access
Create a security group such as EmergencyAccess, add both accounts, and exclude the group from every Conditional Access policy that blocks or restricts sign-in. Microsoft's reasoning: a policy that requires MFA, a compliant device, or another control could make the account unusable in the emergency it exists for, and the phishing-resistant method already protects it. Report-only policies do not block access and do not need the exclusion. The Conditional Access baseline recipe builds this exclusion into every policy.
Microsoft also suggests creating disabled contingency policies whose names start with ENABLE IN EMERGENCY so an admin can enable them during an outage (deployment plan).
Check: In Conditional Access > Policies > What If, simulate a sign-in as bg-01. No blocking policy should apply.
Common failure: A new policy created from a template without the exclusion. Make the group exclusion part of your policy review checklist.
Rollback: Remove the group from a policy's exclusions only if you have a deliberate reason.
4. Store the credentials
Keep credentials known only to authorized people, in secure, fireproof safes in separate locations. Microsoft also says authorized users should work from a designated secure workstation, such as a Privileged Access Workstation, when they use these accounts. Change safe combinations regularly and whenever someone with access leaves.
Check: Two people in different locations can each reach one key without the other. Common failure: Both keys in one safe in one building. A site outage then takes out both accounts. Rollback: Re-register keys if custody is ever in doubt.
5. Alert on every sign-in
First send Entra sign-in logs to Azure Monitor. Copy each account's Object ID from Entra ID > Users. In the Azure portal, open Monitor > Alerts > + Create > Alert rule, scope it to your Log Analytics workspace, and choose Custom log search with Query type set to Aggregated logs. Use the query from Learn:
// Search for multiple Object IDs (UserIds)
SigninLogs
| where UserId == "00aa00aa-bb11-cc22-dd33-44ee44ee44ee" or UserId == "11bb11bb-cc22-dd33-ee44-55ff55ff55ff"
| project TimeGenerated, UserPrincipalName, UserId, IPAddress, ResultType, ResultDescription
Set Threshold type to Static, Operator to Greater than, Threshold value to 0, pick an evaluation frequency, and use severity 0 - Critical. Attach an action group with Email/SMS message/Push/Voice notifications to several administrators.
Check: The alert rule shows as enabled, and a test sign-in triggers it. Common failure: No sign-in data in the workspace, because the diagnostic setting was never created. The query then returns nothing and never fires. Rollback: Disable or delete the alert rule in Azure Monitor.
6. Review every use
When the alert fires, preserve the Entra and workload logs and decide whether the use was a planned drill, a real emergency, or misuse. Then check what the account did and confirm it matched authorized use.
Verify it works
Run this drill at least every 90 days, after staff changes, and when the tenant's Microsoft Entra subscriptions change:
- Tell the security monitoring team a drill is underway.
- From the designated workstation, sign in as
bg-01to the Microsoft Entra admin center with the security key. Expect success and an MFA requirement satisfied by the passkey in the sign-in log. - Perform one read-only admin task, such as reviewing role assignments.
- Confirm the Azure Monitor alert arrived within your evaluation window.
- Repeat for
bg-02, then review the authorized-user list and the runbook.
Related
Frequently asked questions
- What is a break glass account in Microsoft Entra ID?
- It is a highly privileged emergency access account, normally a Global Administrator, used only when normal admin accounts cannot sign in, for example during a federation outage, an MFA service problem, or a Conditional Access misconfiguration.
- How many break glass accounts should I have?
- Microsoft recommends two or more emergency access accounts. They should be cloud-only accounts on the onmicrosoft.com domain, not federated or synchronized from on-premises.
- Do break glass accounts need MFA after Microsoft's mandatory MFA enforcement?
- Yes. Microsoft states that break-glass and emergency access accounts must sign in with MFA for the Azure portal, Microsoft Entra admin center, Intune admin center, and Microsoft 365 admin center once enforcement begins. It recommends passkeys (FIDO2) or certificate-based authentication.
- Should break glass accounts be excluded from Conditional Access?
- Exclude them from Conditional Access policies that block or restrict sign-in, ideally through a dedicated security group. Report-only policies do not block access, so they do not need the exclusion.
- How often should break glass accounts be tested?
- Microsoft says to validate emergency access accounts at least every 90 days, and also after IT staff changes and when the tenant's Microsoft Entra subscriptions change.
Related on Start with Identity
- GuideConditional Access Policies: A Complete Implementation Guide for Microsoft Entra
Master Microsoft Entra conditional access with risk-based policies, device compliance rules, location-based restrictions, and real-world deployment patterns.
- ArticlePrivileged Access Governance Framework: Policies, Monitoring, and Break-Glass Procedures
A complete framework for governing privileged access, covering PAM policies, session monitoring strategies, credential vaulting best practices, break-glass proc
- BlogAzure AD is now Microsoft Entra ID: what actually changed
Microsoft announced the Azure AD to Entra ID rename in July 2023 and finished the visible relabelling by the end of that year. No tenant, protocol, or licence c
- BlogEntra passkey enrollment vishing targets Microsoft 365 users
An extortion crew tracked as Pink phones employees claiming they must enroll a new Entra passkey, then walks them through a relay panel that registers the attac
- RecipeFederate AWS IAM Identity Center with Microsoft Entra ID or Okta (SAML + SCIM)
Change the IAM Identity Center identity source to External identity provider, swap SAML metadata with the Entra ID or Okta gallery app, enable automatic provisi
- VendorMicrosoft Entra External ID
strong