Every Microsoft 365 organization has a tenant: the private space in Microsoft's cloud that holds its users, settings, and security rules. If the people who administer the tenant cannot sign in, nobody can fix anything, including the problem that locked them out. Microsoft's guidance on emergency access accounts exists for that moment. It recommends creating two or more of them, sometimes called "break glass" accounts, to reduce the impact of accidentally losing administrative access.
The point of this article is simple: every tenant needs at least two accounts that still work when everything else stops working, and an account that was set up the old way, or never tested, may not work on the day it is needed. The old advice was to exclude the account from multifactor authentication and keep a long password in a safe. Microsoft's current guidance is different.
Why these accounts exist
Microsoft's page lists situations in which an organization might need one. Several apply to small organizations:
- Federation is down. Federated accounts sign in through another identity provider, and if that provider goes down, Microsoft notes, users might be unable to sign in.
- Multifactor authentication cannot be completed. Multifactor authentication (MFA) asks for a second proof of identity. Microsoft's example is a cell network outage that blocks the calls and texts an administrator registered.
- The last administrator leaves. Microsoft lists the departure of the person with the most recent Global Administrator access, the most powerful role in the tenant, as a situation that can call for an emergency account.
- Nobody can approve. If all administrator roles are eligible (not active), activation needs approval, and no approvers remain, Microsoft says tenant administration is effectively locked.
Microsoft's resilient access control guidance lists, as its first of four key takeaways, avoiding administrator lockout by using emergency access accounts.
What Microsoft recommends today
The guidance has changed. Microsoft's page on mandatory multifactor authentication describes enforcement for the Azure portal, the Microsoft Entra admin center, the Microsoft Intune admin center, and the Microsoft 365 admin center, with a later phase for command line tools and programming interfaces. It says break glass or emergency access accounts are also required to sign in with MFA once enforcement begins, and its FAQ says there are no exceptions for break-glass accounts.
So an account with only a password is no longer a safe design. Microsoft recommends updating emergency accounts to a passkey (FIDO2) or to certificate-based authentication, and says both satisfy the MFA requirement. A passkey (FIDO2) is a security key or similar credential that proves identity without a typed code. Microsoft marks it as the recommended choice, and offers certificates when an organization already has a public key infrastructure (PKI).
The setup decisions
| Decision | What Microsoft's guidance says |
|---|---|
| How many | Two or more, so one can cover for the other. |
| Account type | Cloud-only, using the organization's built-in onmicrosoft.com address (for example, contoso.onmicrosoft.com), and not federated or synchronized from an on-premises environment. |
| Role | Global Administrator. In Privileged Identity Management, make the assignment active permanent rather than eligible. |
| Sign-in method | A passkey (FIDO2), or certificate-based authentication. It should not use the same authentication methods as the normal administrator accounts. |
| Credential lifetime | Make sure the key or certificate does not expire, and that no cleanup of unused accounts or devices removes it. |
| Conditional Access | Exclude these accounts, and only these accounts, from policies that block or restrict sign-in. Report-only policies do not need an exclusion. |
| Where credentials are kept | Secure, fireproof safes in separate locations, known only to approved personnel. |
| Who may use them | Not tied to one individual or to personal devices. Approved personnel use a designated, secure workstation. |
Two rows need explanation. Conditional Access is the tenant's rule engine for sign-ins (see Conditional Access, designed and deployed safely). Microsoft's planning guidance recommends excluding emergency access accounts to prevent lockout due to policy misconfiguration, and the emergency access page suggests a dedicated security group, such as EmergencyAccess. Privileged Identity Management makes administrator roles temporary (see Make privilege temporary and reviewable). Emergency accounts are the deliberate exception, because a missing approver is one of the lockout situations Microsoft lists above.
Our view: the exclusion is acceptable only because the sign-in method is strong. If an account still has only a password, fix that first.
Common mistakes
How to prove they work
Creating the accounts is half the job. The other half is knowing they work and noticing when anyone uses them.
Watch every sign-in. Microsoft says to monitor sign-in and audit log activity for these accounts and to notify other administrators. Its worked example uses Azure Monitor: send the Microsoft Entra sign-in logs to a Log Analytics workspace (see Integrate Microsoft Entra logs with Azure Monitor logs), then create an alert rule that runs a query like the one below and sends email or text alerts. The query follows Microsoft's sample and only reads data. This approach needs an Azure subscription with a Log Analytics workspace, which is a store for logs. If the organization has neither, ask whoever manages its Microsoft 365 how a sign-in by these accounts will be noticed.
SigninLogs
| where UserId == "00aa00aa-bb11-cc22-dd33-44ee44ee44ee"
| project TimeGenerated, UserPrincipalName, UserId, IPAddress, ResultType, ResultDescription
Replace the sample identifier with the object ID of each emergency account, the unique identifier shown on the account's page in the Microsoft Entra admin center.
Test on a schedule. Microsoft says to validate the accounts at least every 90 days, and also after IT staff changes or when the organization's Microsoft Entra subscriptions change. A drill should include these steps from Microsoft's list:
- Tell the people who watch security alerts that a test is under way.
- Sign in with each account, confirm it can perform administrative tasks, and confirm the alert fired.
- Review and update the list of approved personnel who may use the credentials.
- Check that no one registered MFA or password reset to an individual's device or personal details.
After any real use, Microsoft recommends preserving the logs and reviewing whether it was a drill, a real emergency, or misuse. Its resilience guidance adds that you should then regenerate the credentials and physically secure the new ones.
Checklist to finish
- At least two cloud-only accounts exist, each with a passkey or certificate, tied to no person or phone.
- The keys are stored securely in separate locations.
- The accounts sit in a group excluded from Conditional Access policies that block or restrict sign-in.
- Every sign-in raises an alert that reaches more than one administrator.
- The written procedure and the list of approved personnel are current.
- A drill is scheduled at least every 90 days, and the last date is recorded.
Security and technical readiness
This article is general technical information, not advice for a specific tenant. Microsoft's sign-in rules and guidance change, so each organization should confirm the current Microsoft documentation for its own tenant before it changes any sign-in setting, and should test any change first. Desert Stack Engineering does technical implementation work and is not an assessor, and nothing here is an assessment or a promise of any security result.
Sources
- Manage emergency access accounts in Microsoft Entra IDSource checked:
- Mandatory multifactor authentication for Azure and admin portalsSource checked:
- Create a resilient access control management strategy with Microsoft Entra IDSource checked:
- Plan Your Microsoft Entra Conditional Access DeploymentSource checked:
- Integrate Microsoft Entra logs with Azure Monitor logsSource checked: