Azure security means protecting what you build and store in Microsoft's Azure cloud.
This guide is for students, small business owners and new developers who have just opened an Azure subscription, or are about to. You do not need to be a security expert. If your business runs a website, app or database on Azure, these first settings protect your data and your bill.
In short
- Microsoft looks after its buildings and machines. You look after your data, your settings and who can sign in.
- Everyone who manages Azure should use a second sign-in check, and Microsoft now requires one for most admin sign-ins.
- Keep the number of owners small and give each person only the access they need.
- Set a budget alert, keep a lasting activity record and keep storage private unless it truly needs to be public.
What you will learn
- Explain which parts of security Microsoft handles and which parts are yours.
- Spot the first settings to check in a new subscription.
- Check who owns your subscription and whether a budget alert is set.
- Ask the right questions if a supplier set up Azure for you.
- Billing and resource container (subscription)
- the Azure account that holds your services and receives the bill.
- Sign-in directory (Microsoft Entra ID)
- the Microsoft service that checks who people are when they sign in to Azure.
- Activity record (activity log)
- the Azure record of changes made to your services.
What is Azure security?
Think of renting a flat. The landlord fixes the roof and the wiring, but you lock the door and decide who gets a key. Azure works in the same way.
Microsoft protects the data centres, the physical servers and the network inside them. You always look after your data, your user accounts and who has access. Microsoft calls this split the shared responsibility model.[1]
Your Azure services live inside a subscription, a container that holds them and gets the bill. Each subscription trusts one sign-in directory, called Microsoft Entra ID, to check who people are.[2] Inside a subscription, related services sit together in folders called resource groups. Access and budgets set at a higher level flow down to the levels below.[3]
Where the comparison stops working: a flat comes with a lock already fitted. In Azure, some safety settings are on from the start. Others are yours to switch on, and one wrong click can undo a few.
Why does it matter?
A new subscription is often set up in a hurry, by one person, with full control. Choices made on day one tend to stay for years.
If you run a small business on Azure
What could happen: your supplier holds the only owner login, and you cannot get in if they leave.
Check this: make sure someone in your business is an owner, alongside the supplier.
If you are a student or learning Azure
What could happen: a practice project is left running, and you get a bill you did not expect.
Check this: set a small monthly budget with an email alert before you build anything.
If you are a new developer on a team
What could happen: you open up a storage area to share one file, and anyone with the link can read what is in it.
Check this: ask whether anonymous access is switched off on your storage accounts.
What does it look like?
Here is a made-up first-week check of a new subscription. A careful owner might keep a note like this.
Example only. All values are made up.
Subscription: example-shop-prod (0000-FAKE) Owners: 5 people, 1 supplier login (1) Sign-in check: MFA for all admins (2) Emergency logins: none (3) Budget alert: none (4) Activity log: 90 days only, not exported (5) Storage accounts: anonymous access allowed (6) Defender score: never looked at (7)
- Too many people with full control. Microsoft suggests no more than three owners.
- Good: every admin uses a second sign-in check.
- No backup admin login kept safe for when normal sign-in fails.
- No spending alarm, so a runaway cost may go unnoticed until the bill.
- Only the built-in 90 days. Older changes will drop out of view.
- Files could be read by anyone who has the address, if a folder is opened up.
- A free list of suggested fixes that nobody has read.
Why this is risky: each extra owner is another login that could be stolen and used to control everything. Without an alert or a lasting record, problems are found late.
The safer way: trim owners to two or three people you trust. Add two emergency logins, a budget alert and a log export. Switch off anonymous access, then read the free suggestions list.
How does it work?
These are the first settings to get right, in a sensible order. Each one is a setting in the Azure portal, the website where you manage Azure.
- Turn on a second sign-in check. Multi-factor authentication (MFA) asks for a second proof, such as a code from an app, as well as a password. Microsoft now requires MFA for people who sign in to the Azure portal and its admin tools to make changes.[4] For everyone else in your directory, a free bundle called security defaults asks all users to register for MFA and blocks older, weaker sign-in methods.[5]
- Keep owners few and access small. Give each person only the access their job needs. Microsoft suggests a maximum of three subscription owners and giving access to groups of people rather than one person at a time.[6] Our Azure Permissions for Beginners guide explains how roles work.
- Keep two emergency logins. These are spare admin accounts, kept locked away, for when normal sign-in breaks. Microsoft recommends at least two, set up only in the cloud and protected with a passkey or similar strong method.[7]
- Set a spending alarm. An Azure budget can email you when costs reach, or are forecast to reach, a limit you choose. A budget does not stop anything running. Cost data usually takes 8 to 24 hours to arrive, so the alert can come after the money is spent.[8]
- Keep a lasting activity record. The activity log keeps changes for 90 days and then deletes them. To keep them longer, you set up an export, called a diagnostic setting, to your own storage or log workspace.[9]
- Keep storage private and read the free advice. New storage accounts block anonymous access by default, and Microsoft recommends keeping it that way.[10] Microsoft Defender for Cloud also has a free tier that lists suggested fixes and gives you a secure score, where higher means less risk found.[11]


A worked example
Sana Grover runs Slate Bakery, a fictional bakery with two shops and an online ordering site. A freelance developer, Dario Corrigan, moved the site to Azure last month.
Sana reads about the rented flat idea and asks herself a simple question. Who has the keys to her flat?
She asks Dario for a short call. Together they open the subscription and look at who has access. There are four owners: Dario, two of his past contractors and an old test login. Sana is not on the list at all.
They agree a plan. Sana becomes an owner, with a second sign-in check on her phone. Dario stays an owner. The two contractors and the test login are removed. That leaves two owners, both known by name.
Next, Dario creates two emergency admin logins, each protected with a hardware security key. Sana keeps one key in the office safe, and Dario keeps the other.
Then Sana sets a monthly budget with an email alert at 80 percent. Dario sets up an export so the activity log is kept for a year.
Last, they open Defender for Cloud. The free secure score lists a storage account that allows anonymous access. Nothing on the site needs it, so Dario switches it off.
The whole check takes an afternoon. Sana now knows who holds the keys and how she would hear if something changed.
Myths and mistakes
| What people think | What is true |
|---|---|
| Microsoft secures everything in Azure. | Microsoft secures the physical cloud. Your data, accounts and access are always yours to manage.[1] |
| A budget will stop my spending at the limit. | A budget sends alerts. It does not switch anything off.[8] |
| Giving everyone the Owner role saves time. | It also means every one of those logins can change or delete everything. Give the smallest role that works. |
| Azure keeps a full history of changes. | The activity log keeps 90 days unless you export it somewhere else.[9] |
| Security tools in Azure always cost extra. | Security defaults and the basic Defender for Cloud suggestions are free.[5][11] |
What can I do this week?
- List the owners of your subscription. Remove anyone who no longer needs to be one.
- Check that each person who runs Azure uses a second sign-in check.
- Set a monthly budget with an email alert.
- Ask your developer to keep the activity log for longer and to turn off open access to files.
- Open Defender for Cloud and read the top five tips.
Checklist
- Everyone who manages Azure uses MFA.
- Security defaults, or stronger sign-in rules, are on for your directory.
- There are no more than three subscription owners, and someone from your business is one of them.
- Access is given to groups, with the smallest role that does the job.
- Two emergency admin logins exist, are protected strongly and are kept safe.
- A budget with an email alert is set on each subscription.
- The activity log is exported so it is kept for longer than 90 days.
- Anonymous access is switched off on storage accounts that do not need it.
- Someone reviews the Defender for Cloud secure score each month.
Common questions
Is Azure secure by default?
Partly. Microsoft secures its data centres, and some settings start safe, such as private storage and security defaults in many new directories. But you still choose who gets access, what they can change and how you watch for problems. Those choices are yours in every Azure service.
What is the difference between a tenant and a subscription?
A tenant is your sign-in directory in Microsoft Entra ID, which holds your users. A subscription holds your Azure services and gets the bill. One tenant can be trusted by many subscriptions, but each subscription trusts only one tenant.
Do I need to pay for Azure security tools?
Not to start. Security defaults are free, and the basic tier of Defender for Cloud gives free suggestions and a secure score. Paid tiers add more checks. We suggest getting the free basics right before you buy anything extra.
Will a budget alert stop a big bill?
No. A budget only sends an email, and cost data can take up to a day to arrive. It gives you an early warning so you can act. To switch things off automatically you need extra setup, which your developer can advise on.
Does the MFA rule apply to apps and scripts?
No. Microsoft's required MFA applies to people who sign in. Apps and automated jobs use their own identities, such as managed identities, which are not covered by it. Those need their own care. See Azure Managed Identities Security Guide.
Where next?
Ready for the detail? Read the practitioner guide: Azure Security Checklist. It goes further into privileged access, network rules, secrets, backup and logging across a whole Azure estate.
Also useful:
- Azure Permissions for Beginners
- Microsoft Entra ID for Beginners
- Shared Responsibility Model for Beginners
- CSPM for Beginners
- Azure Mandatory MFA
Related NHI Mgmt Group resources: Azure Monitor, Activity Log and Diagnostic Settings Guide · Azure RBAC and Service Principals Guide · Conditional Access vs Security Defaults
Key terms
- The split of security jobs between the cloud provider and the customer.
- Subscription
- An Azure container that holds services and receives the bill for them.
- Microsoft Entra ID
- Microsoft's cloud directory that checks who people and apps are when they sign in.
- Multi-factor authentication
- Signing in with two different kinds of proof, such as a password and a code.
- Security defaults
- A free, fixed set of Microsoft Entra sign-in protections, including MFA registration.
- Role-based access control
- Giving access through roles that bundle the actions a job needs.
- Emergency access account
- A spare admin login, kept locked away, for use when normal sign-in fails.
- Activity log
- The Azure record of changes made to services in a subscription.
Sources and further reading
- Shared responsibility in the cloud. Microsoft Learn, Microsoft. https://learn.microsoft.com/en-us/azure/security/fundamentals/shared-responsibility, accessed 28 Nov 2026.
- How Azure subscriptions are associated with Microsoft Entra ID. Microsoft Learn, Microsoft. https://learn.microsoft.com/en-us/entra/fundamentals/how-subscriptions-associated-directory, accessed 28 Nov 2026.
- Organize your Azure resources effectively. Cloud Adoption Framework, Microsoft Learn, Microsoft. https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/ready/azure-setup-guide/organize-resources, accessed 28 Nov 2026.
- Planning for mandatory multifactor authentication for Azure and other admin portals. Microsoft Learn, Microsoft. https://learn.microsoft.com/en-us/entra/identity/authentication/concept-mandatory-multifactor-authentication, accessed 28 Nov 2026.
- Security defaults in Microsoft Entra ID. Microsoft Learn, Microsoft. https://learn.microsoft.com/en-us/entra/fundamentals/security-defaults, accessed 28 Nov 2026.
- Best practices for Azure RBAC. Microsoft Learn, Microsoft. https://learn.microsoft.com/en-us/azure/role-based-access-control/best-practices, accessed 28 Nov 2026.
- Manage emergency access admin accounts. Microsoft Learn, Microsoft. https://learn.microsoft.com/en-us/entra/identity/role-based-access-control/security-emergency-access, accessed 28 Nov 2026.
- Tutorial: Create and manage budgets. Microsoft Cost Management, Microsoft Learn, Microsoft. https://learn.microsoft.com/en-us/azure/cost-management-billing/costs/tutorial-acm-create-budgets, accessed 28 Nov 2026.
- Activity log in Azure Monitor. Microsoft Learn, Microsoft. https://learn.microsoft.com/en-us/azure/azure-monitor/platform/activity-log, accessed 28 Nov 2026.
- Remediate anonymous read access to blob data. Microsoft Learn, Microsoft. https://learn.microsoft.com/en-us/azure/storage/blobs/anonymous-read-access-prevent, accessed 28 Nov 2026.
- Cloud security posture management (CSPM). Microsoft Defender for Cloud, Microsoft Learn, Microsoft. https://learn.microsoft.com/en-us/azure/defender-for-cloud/concept-cloud-security-posture-management, accessed 28 Nov 2026.