How to Create Break Glass Account in Azure

Published
Length
3 min read

Luis Felipe Dias

All posts

An Azure break glass account gives your team admin access during an identity outage. Learning how to create break glass account in azure keeps your cloud open when normal logins fail. Teams use these emergency accounts when federated identity providers go down. They also help when bad login rules lock out all normal admins. Without an emergency account, a simple rule mistake can block your whole team. How to create break glass account in azure Start by making two cloud-only user accounts in

Your coding agents run with your access.

Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.

An Azure break glass account gives your team admin access during an identity outage. Learning how to create break glass account in azure keeps your cloud open when normal logins fail.

Teams use these emergency accounts when federated identity providers go down. They also help when bad login rules lock out all normal admins. Without an emergency account, a simple rule mistake can block your whole team.

How to create break glass account in azure

Start by making two cloud-only user accounts in your tenant. Use the default domain name that comes with your directory. Do not link these accounts to on-premises servers or external login tools. This keeps them working even if your main login server fails.

Assign these accounts the permanent top admin role in your tenant. Normal admins should use timed roles, but emergency accounts need permanent rights. You do not want a broken role tool to block an emergency fix.

Give each account a strong, Phishing-resistant login method. Hardware security keys work well because they do not need cell phones. If you use long passwords instead, split each password into two parts. Store each half in a separate fireproof safe in different buildings.

Next, leave at least one emergency account out of all conditional login rules. A bad rule change is the most common reason teams get locked out. If your rules apply to every user, one bad click locks everyone out.

Do not link these accounts to any single person on your team. Keep them free of user phones, personal emails, and daily work apps. Make sure their passwords never expire so they work during a crisis.

Break-Glass Access Procedures + Just-in-Time Access: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Testing and checking your emergency accounts

A setup that you never test can fail when you need it most. Set up high-priority alerts in your log tool for these specific accounts. Every login attempt should send a fast alert to your security team. If someone logs in without an outage, treat it as a major breach.

Run a test drill with your team every ninety days. Have two people fetch the keys or password halves and log in. Check that the alert fires and reaches the right people on call. Update the passwords or keys if anyone who knew them leaves the team.

What static emergency accounts leave open

Emergency accounts solve tenant lockouts, but they carry high risk once active. Once an admin logs in, they hold full control over the whole cloud. Static setup rules cannot limit what commands that user runs inside a database. They also cannot stop someone from reading raw customer data during a fix.

Standard directory logs show that a login happened and which settings changed. They do not show every query run inside your servers or databases. They also cannot mask emails, phone numbers, or card numbers in query results. Teams need deeper controls to watch and limit actions during an active session.

Govern statements and responses across databases and APIs

Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.

First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.

Frequently asked questions

How many emergency accounts should our tenant have?

Create two accounts so you have a backup if one key or password fails. Use different login methods for each account to avoid a single failure point.

Should emergency accounts use phone-based multi-factor login?

No, avoid phone apps or text messages linked to one person. Use hardware security keys stored in a safe or split long passwords instead.

How often should we test break glass logins?

Test your emergency accounts and alert rules at least once every ninety days. Also rotate credentials right away whenever a staff member with access leaves.

The query runs. The emails stay hidden.