Shared Responsibility Model in Azure: Who Protects What in the Cloud

Shared Responsibility Model in Azure: Who Protects What in the Cloud

A beginner-friendly guide to the Azure shared responsibility model, the simple idea that explains which security jobs belong to Microsoft, which belong to you, and how that line moves between virtual machines, platform services and software services, explained step by step with everyday analogies.

Imagine you rent a flat in a large apartment building. The building owner looks after the main gate, the guards, the lifts, the water tank and the fire alarms in the corridors. But you are the one who locks your own door, decides who gets a spare key, keeps your valuables in a safe place and switches off the stove before you leave. If a thief walks in through a door that you left open, you cannot blame the building owner, and if the lift breaks, you cannot blame yourself. Both sides have a share of the job, and trouble starts when each side thinks the other is doing it. This is the shared responsibility model in a nutshell.

In this guide we begin with that simple idea and slowly build up to identity, data, networks, compliance, monitoring and real examples of what goes wrong. No earlier knowledge of security is needed. Every new word is explained when it first appears.

1What Is the Shared Responsibility Model?

It is the agreement that divides security and operations duties between the cloud provider and the customer.

When a company runs its own data centre, it is responsible for everything: the building, the power, the cables, the servers, the software, the people and the data. When it moves to the cloud, some of these duties are handed over to the provider, because the provider owns and runs the data centres. But not every duty moves. Some always stay with the customer, because only the customer knows who should have access to its data and how its applications should behave.

The shared responsibility model describes exactly this split. In simple words, Microsoft is responsible for the security of the cloud, which means the physical buildings, the hardware and the core platform. The customer is responsible for security in the cloud, which means the data, the identities, the settings and the applications that the customer puts there.

The model is not a legal contract on its own, but it is the foundation of how Microsoft documents its services, and it is the starting point for understanding any security audit, compliance review or incident investigation in Azure.

Simple Analogy

Think of a hotel. The hotel provides the building, the reception, the cameras in the corridors and the master safety systems. You, as a guest, must lock your room, protect your key card and keep your valuables in the room safe. A hotel can be extremely secure and still lose a guest’s laptop if the guest leaves it on the lobby sofa.

Words you will meet again and again

Term 1

Security of the Cloud

The provider’s side: physical data centres, hardware, network and the foundation software that runs the services.

Term 2

Security in the Cloud

The customer’s side: data, identities, access settings, application code and configuration choices.

Term 3

IaaS, PaaS, SaaS

Three service models that move the line between provider and customer. We explain each one in detail below.

Term 4

Misconfiguration

A wrong setting, such as leaving storage open to everyone. It is the most common cause of cloud security incidents.

Term 5

Compliance

Proving that you follow laws and standards. The provider can help, but you must prove your own part.

Term 6

Defence in Depth

Using several layers of protection so that one failure does not expose everything.

3 always yours
data, devices and identities
1 always Microsoft’s
the physical data centre
The rest shifts
depending on IaaS, PaaS or SaaS

2Why Does the Model Matter?

Most cloud security failures come from misunderstanding who was supposed to do what.

New cloud users often make one of two opposite mistakes. The first mistake is to believe that the cloud provider handles everything, so nothing is left to do. A company puts customer records in a storage account, leaves it open to the internet and assumes Microsoft will protect it. The second mistake is to believe that the cloud is unsafe and that the company must do everything itself, which wastes money and effort on duties that the provider already performs better than most companies can.

Both mistakes come from not knowing where the line is. The shared responsibility model draws that line clearly. It helps teams decide where to spend their security effort, helps auditors know what to ask, and helps managers understand why a cloud migration does not remove the need for security staff.

Avoiding gaps

When both sides assume that the other is responsible, a duty is left undone. The model makes sure every duty has an owner.

Avoiding duplicated effort

Customers do not need to guard physical buildings or patch the software that runs a platform service. They can focus on what only they can protect.

Supporting audits and compliance

Auditors ask who is responsible for each control. The model gives a shared language for those conversations.

Choosing the right service type

Because the line moves with the service type, understanding the model helps you decide how much work you are willing to carry.

Planning budgets and skills

Knowing your share tells you which skills to hire and which tools to buy.

!
Common Misconception

“We moved to the cloud, so security is now Microsoft’s problem.” This is false. Microsoft secures the platform, but your data, your users and your settings stay your responsibility in every case.

3What Never Changes: The Fixed Parts

Some duties belong to the same side whatever kind of service you use.

Always the customer’s responsibility

Always Yours

Information and Data

You decide what data you store, how sensitive it is, who may see it and how long you keep it. Microsoft cannot know your business rules.

Always Yours

Devices and Endpoints

The phones, laptops and other devices used to reach your cloud systems are yours to secure, patch and manage.

Always Yours

Accounts and Identities

You decide who has accounts, how they sign in and what each account may do. Stolen passwords are a customer-side problem.

Always Microsoft’s responsibility

Always Microsoft

Physical Data Centres

Buildings, fences, guards, cameras, access badges, power, cooling and fire protection.

Always Microsoft

Physical Network

The cables, switches and routers that connect the data centres, and protection against attacks on the underlying network.

Always Microsoft

Physical Hosts

The servers themselves, including hardware replacement, firmware and the separation between customers on shared machines.

Simple Analogy

A bank keeps the vault, the guards and the cameras. Whatever kind of account you hold, you still choose your own PIN, decide who may sign for you and keep your cheque book safe. Those duties cannot be passed to the bank.

i
A Handy Way to Remember

Think “DEI” for the customer’s fixed duties: Data, Endpoints and Identities. Everything physical, from the walls to the wires, is Microsoft’s.

4The Moving Line: IaaS, PaaS and SaaS

The more of the stack the provider runs for you, the less you must secure yourself.

Cloud services come in three main styles. Each hands a different amount of work to the provider.

Infrastructure as a Service, or IaaS

You rent raw building blocks, such as virtual machines, disks and networks. You install and manage the operating system and everything above it. Azure Virtual Machines is the classic example. You have the most control, and the most to secure.

Platform as a Service, or PaaS

The provider runs the operating system and the runtime, and you bring your application and data. Azure App Service and Azure SQL Database are examples. You have less to manage, but you still control the application and its settings.

Software as a Service, or SaaS

You use a finished application, such as Microsoft 365. The provider runs almost everything. You manage your data, your users and how people use the service.

LayerOn-premisesIaaSPaaSSaaS
Information and dataCustomerCustomerCustomerCustomer
Devices and endpointsCustomerCustomerCustomerCustomer
Accounts and identitiesCustomerCustomerCustomerCustomer
Identity and directory infrastructureCustomerSharedSharedShared
ApplicationsCustomerCustomerSharedMicrosoft
Network controlsCustomerSharedSharedMicrosoft
Operating systemCustomerCustomerMicrosoftMicrosoft
Physical hostsCustomerMicrosoftMicrosoftMicrosoft
Physical networkCustomerMicrosoftMicrosoftMicrosoft
Physical data centreCustomerMicrosoftMicrosoftMicrosoft
flowchart LR
  A["On-premises: you manage all layers"] --> B["IaaS: Microsoft manages hardware, you manage OS and above"]
  B --> C["PaaS: Microsoft also manages OS and runtime"]
  C --> D["SaaS: Microsoft manages almost everything, you manage data, users and devices"]
        
FIG 1 — As you move from IaaS towards SaaS, Microsoft takes on more layers
Simple Analogy

On-premises is cooking at home from scratch. IaaS is renting a kitchen with an oven and utensils, where you bring ingredients and cook. PaaS is a meal-kit service where the prep work is done and you finish the dish. SaaS is ordering a finished dish at a restaurant. In all cases you decide what you eat and who sits at your table.

!
Important Reminder

The table is a guide, not a legal document. Responsibilities for individual services can differ in detail, so always read the security documentation of the specific Azure service you use.

5Walking Through Real Azure Services

Examples make the model concrete, so let us look at who does what for some popular services.

ServiceModelMicrosoft handlesYou handle
Virtual MachinesIaaSPhysical hosts, hypervisor, data centre, physical networkGuest operating system, patches, antivirus, firewall rules, application, accounts, data, backup
Azure App ServicePaaSOperating system and runtime patching, platform scaling, infrastructureApplication code, app settings, authentication, network access rules, data
Azure SQL DatabasePaaSEngine patching, built-in backups, infrastructure, availabilityWho can log in, firewall and network rules, data classification, query and schema design, long-term backup needs
Azure StoragePaaSHardware, replication, platform encryption at restAccess keys and tokens, public access settings, network rules, data lifecycle and protection features
Azure Kubernetes ServiceBetween IaaS and PaaSControl plane, underlying infrastructureWorker node upgrades and configuration choices, container images, pod security, network policies, secrets, workloads
Microsoft 365SaaSThe entire application, its infrastructure and updatesUser accounts, sign-in protection, device compliance, sharing settings, data classification and retention

Example: A virtual machine on the internet

Microsoft ensures the physical server is safe. But if the owner never installs operating system updates and leaves the remote desktop door open, attackers will walk in. That is entirely the customer’s side.

Example: A web app on App Service

Microsoft patches the operating system and the runtime for you. But a flaw in the application’s own code, such as unsafe handling of user input, is the customer’s to fix.

Example: A storage account with customer files

Microsoft keeps the disks safe and encrypts data at rest. But if the owner makes a container public, anyone with the link can read the files. The setting is the customer’s choice, so the exposure is the customer’s responsibility.

Example: Microsoft 365 mailboxes

Microsoft runs the mail service, but an employee who uses a weak password and no second sign-in step can lose their mailbox to a thief. Account protection is on the customer side.

Simple Analogy

A taxi company is responsible for the car being roadworthy and driven by a licensed driver. You are responsible for locking the door when you leave your bags in the back seat. Different journeys, same split of duties.

6A Layer-by-Layer Tour of the Stack

Walking up the stack from the ground floor to the data shows how each layer is protected.

1

Physical data centre

Microsoft designs, builds and guards the buildings, with layers of access control, surveillance, power backup and fire safety. Customers never touch this layer, and they cannot, which is the point.

2

Physical network and hosts

Microsoft runs the cables, switches and servers, defends against large attacks on the network and separates one customer’s workloads from another’s using virtualisation.

3

Platform and operating system

For PaaS and SaaS, Microsoft patches and secures this layer. For IaaS, the customer owns the operating system inside the virtual machine.

4

Network controls

Microsoft provides the tools, such as virtual networks, security groups and firewalls. The customer decides how to use them and which traffic to allow.

5

Applications

The customer builds and secures its own code, libraries and configuration, except in SaaS where Microsoft owns the application.

6

Identities and access

Microsoft runs the identity platform. The customer decides who exists, how they authenticate and what they may do.

7

Data and devices

The top layer is always the customer’s. Data classification, protection, retention and the security of the devices that touch it cannot be outsourced.

flowchart TD
  C["Customer always: Data, Devices, Identities"] --> S["Shared: Identity infrastructure, Network controls, Applications"]
  S --> V["Varies by service: Operating system and runtime"]
  V --> M["Microsoft always: Hosts, Network, Data centre"]
        
FIG 2 — Responsibility layers from the customer’s data down to Microsoft’s buildings
Simple Analogy

A skyscraper has foundations, a steel frame, floors, rooms and furniture. The builder is responsible for the foundations and frame. The tenant is responsible for what is inside the rooms. Somewhere in the middle, in the plumbing and the lifts, responsibilities depend on the lease.

7Your Share: Identity and Access

Identity is the new perimeter, and it is entirely in your hands.

In the old days, security meant a strong wall around the office network. In the cloud, people connect from homes, cafes and phones, so the key question is no longer “where are you?” but “who are you, and are you allowed?”. Microsoft Entra ID provides the platform for identities, but how you use it is your job.

Control 1

Multi-Factor Authentication

Require a second proof, such as a phone prompt, in addition to a password. It blocks the vast majority of password theft attacks.

Control 2

Conditional Access

Rules that decide whether to allow a sign-in based on user, device, location and risk, such as blocking sign-ins from unexpected countries.

Control 3

Role-Based Access Control

Give people only the roles they need, at the smallest scope that works. This is the principle of least privilege.

Control 4

Privileged Identity Management

Make powerful roles available only for a short time, on request and with approval, instead of leaving them permanently switched on.

Control 5

Managed Identities

Let Azure applications authenticate without storing passwords or keys in code or configuration.

Control 6

Access Reviews

Regularly check who still needs which access, and remove what is no longer needed.

Simple Analogy

An office building gives each person a badge. Reception can issue badges, but the company decides which floors each badge opens, asks for a second proof for the server room, and collects badges from people who leave. Microsoft supplies the badge system, and you run the policy.

!
Common Mistake

Giving the highest administrator role to many people “to avoid delays”, and leaving it on permanently. If one of those accounts is stolen, the attacker controls everything. Keep powerful roles few, temporary and well protected.

8Your Share: Protecting Data

Data is the reason attackers come, so protecting it is the heart of your duties.

Microsoft encrypts data at rest by default for most Azure storage and database services, using strong algorithms, and protects data in transit with secure connections. These are important protections, but they do not decide who may read the data once it is decrypted for an authorised user. That decision is yours.

1

Know your data

Find out what data you hold, where it lives and how sensitive it is. Tools can scan and label data, but people must set the rules.

2

Classify and label

Mark data as public, internal, confidential or highly restricted, so that controls match the risk.

3

Control access

Grant access by role, remove public access, and use private network paths for sensitive stores.

4

Encrypt with the right keys

Use platform-managed keys for most cases, and customer-managed keys in Key Vault where rules require your own control over keys.

5

Protect against loss

Turn on features such as soft delete, versioning and backup, so that mistakes and attacks can be reversed.

6

Retain and delete properly

Keep data as long as the law and business require, and delete it safely when the time ends.

Simple Analogy

A bank vault protects the boxes inside it from outside theft. But the bank cannot know that you wrote your PIN on the box lid or gave a copy of the key to a stranger. Strong locks help, but your own habits decide what is safe.

i
Keys: Who Holds Them?

With platform-managed keys, Microsoft handles key rotation and storage. With customer-managed keys, you control the key and can revoke it, but you also carry the risk of losing it. Choose based on your rules and your ability to manage keys well.

!
Common Mistake

Believing that “it is encrypted, so it is safe” ends the discussion. Encryption at rest does not stop an authorised but careless user, a stolen token or a public access setting from exposing the data.

9Your Share: Network Security

Microsoft protects the physical network, and you design the virtual one.

Microsoft defends the global network that connects its data centres, including protection against large floods of fake traffic. But inside your own virtual network, you decide the layout. Which servers may talk to each other? Which can reach the internet? Which can be reached from the internet? Azure gives you the tools, and you must use them carefully.

Tool

Virtual Networks and Subnets

Separate your resources into zones, so that a problem in one does not freely spread to others.

Tool

Network Security Groups

Simple allow and deny rules for traffic to and from subnets and network cards.

Tool

Azure Firewall and WAF

Central filtering for traffic, including web attacks against public applications.

Tool

Private Endpoints

Reach platform services through private addresses so they need not be exposed to the internet.

Tool

DDoS Protection

Extra defence for public addresses against floods of traffic, with a basic level included for all customers.

Tool

Bastion and Just-in-Time Access

Safer ways to administer servers without leaving management doors open to the internet.

Simple Analogy

The city guards the main roads and bridges. You decide which gates your own housing society has, who guards each gate and which internal roads are open to visitors. A strong city does not make up for leaving your own gate wide open.

!
Common Mistake

Opening remote administration ports to the whole internet for convenience. Automated attackers find them within minutes. This is a pure customer-side decision, and the incident that follows is a customer-side incident.

10Your Share: Operating Systems, Patching and Hosts

This is the layer where IaaS and PaaS differ most.

With virtual machines, the guest operating system is yours. Microsoft patches the physical host and the virtualisation layer underneath, but inside the machine you must apply operating system updates, install protection software, configure the local firewall and remove software you do not need. A server that runs unpatched for a year is an open invitation.

TaskVirtual Machine (IaaS)App Service or SQL Database (PaaS)
Patching the host machineMicrosoftMicrosoft
Patching the operating systemYouMicrosoft
Patching the runtime or database engineYouMicrosoft
Patching your application’s librariesYouYou
Endpoint protection inside the serverYouNot applicable, handled by the platform

Update management

Use automated update tools to patch machines on a schedule, test updates on a few machines first, and report which machines are out of date.

Hardened images

Start from a secure base image with unnecessary software removed, and use the same hardened image everywhere so that machines are consistent.

Endpoint protection and monitoring

Install protection and detection software, such as Microsoft Defender for Servers, and watch for signs of compromise.

Move to PaaS where possible

If you do not need control of the operating system, a PaaS service removes this whole duty from your plate and lets Microsoft carry it.

Simple Analogy

If you rent a car yourself, you must check the oil, tyres and brakes before a long trip. If you hire a chauffeur-driven car, the company does that for you. PaaS is the chauffeur-driven option, and IaaS is the self-drive option.

11Your Share: Applications and Code

Whatever you build on Azure is yours to secure, however well the platform is protected.

A platform cannot know whether your code handles user input safely, whether your login page is protected against guessing or whether your application writes secrets into log files. Application security is therefore the customer’s work in IaaS and PaaS, and Microsoft’s in SaaS.

Secure development

Follow safe coding practices, review code, scan for known weaknesses and avoid common mistakes such as injecting user input into database commands.

Dependencies and containers

Libraries and container images contain other people’s code. Track them, scan them and update them when flaws are found.

Secrets management

Never place passwords, keys or tokens in source code or configuration files. Store them in Azure Key Vault and fetch them at run time using managed identities.

Authentication and authorisation

Use standard sign-in services instead of inventing your own, and check permissions on the server, not only in the user’s browser.

Pipeline security

Protect the build and release pipeline, because an attacker who controls it can slip harmful code into your product.

Simple Analogy

A landlord provides sturdy doors and locks. If a tenant opens a shop in the flat and sells goods with a broken till system that cheats customers, the landlord’s strong doors do not fix that. The shop’s own practices are the tenant’s job.

!
Common Mistake

Relying on PaaS to “make the app secure”. PaaS secures the platform that runs your app, not the logic inside it. Vulnerabilities in your code travel with it to any platform.

12Resilience, Backup and Disaster Recovery

Availability is also a shared job, and promises have fine print.

Microsoft builds resilience into the platform: redundant power, many servers, copies of data and service-level agreements that describe expected availability. But an agreement covers the service, not your architecture. If you run an important application on a single virtual machine in a single zone, a hardware failure may take it offline, and the agreement does not make your design resilient.

Microsoft

Platform Redundancy

Resilient data centres, redundant storage options and fast replacement of failed hardware.

You

Architecture

Use availability zones, load balancing, multiple instances and multiple regions for important systems.

You

Backups

Decide what to back up, how often, how long to keep it and where. Test restores regularly.

You

Recovery Plans

Define recovery time and recovery point goals, write the steps, and rehearse them.

!
Common Mistake

Assuming that replication is the same as backup. Replication copies a deletion or a corruption to every copy. Backups, soft delete and versioning protect against mistakes and attacks that replication faithfully spreads.

Simple Analogy

A building owner provides a backup generator, but if you run a cold-storage business and never installed your own alarm for when the temperature rises, the generator alone will not save your goods. Resilience needs both layers.

13Compliance and Governance

Microsoft can prove its half, and you must prove yours.

Microsoft’s cloud services are audited against a wide range of international standards and regional rules, and the reports are available through the Microsoft Trust Center and the Service Trust Portal. These reports are valuable evidence for your own auditors. But they cover Microsoft’s responsibilities only. Your auditor will still ask how you configured the service, who has access, how you protect data and how you monitor activity.

1

Identify requirements

List the laws, standards and customer promises that apply to you, such as privacy laws, financial rules or health data rules.

2

Map responsibilities

For each requirement, decide which part Microsoft covers and which part you must cover, using the provider’s documentation and audit reports.

3

Implement controls

Apply technical settings and written procedures for your share, using tools such as Azure Policy and Defender for Cloud.

4

Collect evidence

Keep logs, reports and records that show the controls are in place and working over time.

5

Review regularly

Repeat the cycle as services, rules and your own systems change.

Tool

Azure Policy

Enforces rules automatically, such as requiring encryption or blocking public storage, across all subscriptions.

Tool

Microsoft Defender for Cloud

Assesses your configuration against security benchmarks and standards, shows a score and recommends fixes.

Tool

Service Trust Portal

Provides Microsoft’s audit reports and compliance documents for you to share with your own auditors.

Tool

Landing Zones

Pre-governed environment designs that bake in network, identity, policy and logging from the start.

Simple Analogy

A restaurant rents a kitchen in a certified food court. The food court has an inspection certificate for its building and water supply. The restaurant still needs its own hygiene certificate for how it handles food. Both certificates are needed to serve customers legally.

!
Common Mistake

Handing the auditor Microsoft’s certificates and assuming the audit is complete. Those documents prove that the platform is sound, not that your configuration is. Auditors will test your part separately.

14Monitoring and Incident Response

When something goes wrong, each side has its own part of the response.

Microsoft monitors its platform around the clock and tells customers about platform incidents through Azure Service Health. If a data centre problem affects a service, Microsoft investigates and fixes it. But Microsoft cannot see inside your applications or tell whether an authorised account is being used by a thief. Watching your own workloads, accounts and data is your duty.

Microsoft’s side

Monitors the platform, responds to platform security incidents, notifies affected customers and publishes post-incident reviews of major events.

Your side

Collects logs from your resources, watches sign-ins and activity, detects unusual behaviour in your workloads and responds to incidents inside your own environment.

Joint work

In serious cases, you may need to open a support request, share evidence and coordinate with Microsoft’s teams.

sequenceDiagram
  participant A as Attacker
  participant C as Customer Environment
  participant M as Azure Monitor and Defender
  participant T as Customer Security Team
  participant P as Microsoft Support
  A->>C: Uses stolen credentials
  C->>M: Unusual sign-in and activity logged
  M->>T: Alert raised
  T->>C: Disable account, isolate resources
  T->>P: Open case if platform help needed
  P-->>T: Guidance and platform investigation
        
FIG 3 — Who does what during a customer-side security incident
Tool

Azure Monitor and Log Analytics

Collect metrics and logs from your resources and applications, and raise alerts.

Tool

Microsoft Defender for Cloud

Detects threats and misconfigurations across your workloads.

Tool

Microsoft Sentinel

A security information and event management service for investigating incidents across the organisation.

Tool

Azure Service Health

Tells you about Azure incidents and planned maintenance that affect your resources.

!
Common Mistake

Waiting for Microsoft to tell you about a security problem in your own environment. Microsoft cannot see your sign-ins or your data access patterns the way you can. Enable logging and alerts so that you detect your own incidents.

15Tools That Help You Carry Your Share

Microsoft cannot do your part for you, but it gives you strong tools to do it well.

NeedToolWhat it gives you
Know your security postureMicrosoft Defender for CloudSecure score, recommendations and threat detection
Enforce rules automaticallyAzure PolicyBlock, audit or fix risky settings across subscriptions
Control who can do whatMicrosoft Entra ID and RBACIdentities, roles, conditional access and privileged access
Protect secrets and keysAzure Key VaultSafe storage and access control for keys, secrets and certificates
Filter and inspect trafficNSGs, Azure Firewall, WAFLayered network defence
See what is happeningAzure Monitor, Log Analytics, SentinelLogs, alerts and incident investigation
Recover from mistakes and attacksAzure Backup and storage protection featuresBackups, soft delete, versioning and restore
Follow best practiceMicrosoft Cloud Security Benchmark and Well-Architected FrameworkGuidance and checklists for secure design

Secure Score and benchmarks

Defender for Cloud checks your resources against the Microsoft Cloud Security Benchmark, a set of recommended controls. It gives a score that shows how well you follow them and ranks recommendations by impact, so you fix the most valuable issues first. Treat the score as a guide to progress, not as a guarantee of safety.

Simple Analogy

A fitness band shows a health score and suggests steps to improve it. It cannot exercise for you, and a good score does not mean you can never fall ill. Security tools work the same way: they guide your effort but do not replace it.

i
Start with Policy

The cheapest security improvement is often to prevent mistakes. Use Azure Policy to block public storage, require encryption and enforce tags, so risky settings never get created in the first place.

16Shared Responsibility for AI Services

The same idea applies to artificial intelligence, with a few new questions.

When you use an AI service, such as a language model hosted in Azure, Microsoft is responsible for the security of the platform, the infrastructure and the model hosting. You are responsible for how you use it: the data you send, who may call it, the instructions you give it, the way you use its answers and the checks you place around it.

Microsoft

Platform and Hosting

Secures the infrastructure, isolates customers from each other and provides built-in safety systems such as content filters.

You

Data You Send

Decide what information goes into prompts and into the data the model can search, and respect privacy and confidentiality rules.

You

Access and Keys

Control who can call the service, use identities over keys, and keep credentials out of code.

You

Application Behaviour

Design prompts, safeguards and human review so outputs are used responsibly, especially for decisions that affect people.

!
Common Mistake

Letting an AI assistant search every company document without regard to who is asking. If the assistant can read confidential files, a curious user may get answers from them. Apply the same access rules to AI-driven search as to the documents themselves.

Simple Analogy

A knowledge-sharing library provides a safe reading room. But if you hand a visitor your private diary and say “answer anyone’s questions using this”, the library cannot stop the diary’s secrets from coming out in conversation.

17Design Patterns That Work Well

These approaches help teams carry their share without being overwhelmed.

Pattern: Prefer Higher-Level Services

Choose PaaS or SaaS when they meet your needs. Every layer that Microsoft operates is a layer you do not need to patch, monitor or defend.

Pattern: Responsibility Matrix

For each service, write a simple table listing each security duty and who owns it, naming a team or role on your side. Review it when architecture changes.

Pattern: Guardrails Through Policy

Use policy and landing zones to make the secure path the default and block dangerous settings automatically.

Pattern: Zero Trust

Verify every request, give least privilege, and assume a breach could happen. Identity, device health and network location are all checked each time.

Pattern: Defence in Depth

Stack controls across identity, network, application and data layers, so a single failure does not expose everything.

Pattern: Security as Code

Define security settings in templates stored in version control and review them like application code, so every environment is built the same safe way.

flowchart TD
  U["User on a Device"] --> I["Identity: MFA and Conditional Access"]
  I --> N["Network: Firewall and Private Access"]
  N --> A["Application: Secure Code and Secrets in Key Vault"]
  A --> D["Data: Classification, Encryption, Backup"]
  D --> L["Logging, Alerts and Response"]
        
FIG 4 — Layered defence from the user to the data, watched at every step
“The provider locks the building; you must still lock your own door.”

Stories from everyday practice show where responsibilities are met and where they slip.

The open storage container

A company stores customer documents in a storage account and, during a rushed project, makes a container public so that a partner can download files. The setting is never reversed. Months later, files appear on the internet. Microsoft’s platform worked as designed. The exposed setting was the customer’s choice and therefore the customer’s responsibility.

The unpatched virtual machine

A team lifts an old application into a virtual machine and never schedules operating system updates. A known flaw is exploited, and the machine is used to attack others. Microsoft secured the host, but the guest operating system was the customer’s duty.

The stolen administrator account

An administrator reuses a password from another website that was breached. With no second sign-in step, attackers log in and create expensive resources. Identity protection, including multi-factor authentication, was the customer’s side of the model.

The platform outage

A data centre problem affects a service for a short time. Microsoft investigates, restores service and publishes a review. Customers who designed with availability zones and multiple instances barely notice, while those with a single instance are down. Both sides played their part: Microsoft restored the platform, and the customers’ designs decided the impact.

The well-run bank

A bank uses PaaS databases, private endpoints, customer-managed keys, strict role-based access, privileged identity management and central monitoring. It keeps a responsibility matrix, shares Microsoft’s audit reports with regulators and adds its own evidence for its share. Audits are smooth because every duty has an owner.

The careful start-up

A small team with no security staff chooses managed services, turns on policy guardrails, uses managed identities and enables Defender recommendations. By choosing higher-level services, it hands many duties to Microsoft and focuses its limited time on data and identity.

Advantages of the Model

  • Gives everyone a clear way to talk about who does what
  • Lets customers rely on world-class physical and platform security
  • Reduces duplicated work and wasted effort
  • Supports audits and compliance conversations
  • Helps choose service types according to available skills

Disadvantages / Trade-offs

  • Easy to misread, leading to false confidence
  • The line differs service by service and needs reading documentation
  • Customers carry real work even in the most managed services
  • Higher-level services give less control and less visibility into internals
  • Responsibilities can change as products evolve, so reviews must be repeated

19Anti-Patterns to Avoid

These beliefs and habits regularly lead to breaches and failed audits.

ANTI-PATTERN-01 Avoid
Problem

The team assumes that moving to Azure transfers all security duties to Microsoft, so no security roles or budgets are planned.

Why It’s Harmful

Identity, data, configuration and application security are left unowned. Attackers exploit these gaps, and nobody notices until damage is done.

Correct Approach

Map duties to owners before migrating, assign a team for each customer-side duty and budget for tools and training.

ANTI-PATTERN-02 Avoid
Problem

The team treats the opposite as true: that the cloud is risky, so every control must be rebuilt by hand, even those the platform already provides.

Why It’s Harmful

Effort and money are wasted on duplicating physical and platform security, while the real customer-side risks, such as identities and settings, are neglected.

Correct Approach

Use Microsoft’s audit reports and documentation to understand what is already covered, and focus effort on your own share.

ANTI-PATTERN-03 Avoid
Problem

Teams assume that PaaS removes all patching and security work, so applications are deployed with default settings and no review.

Why It’s Harmful

The platform is patched, but the app’s code, access rules, network exposure and secrets remain weak. Default settings are often convenient, not secure.

Correct Approach

Review the security guidance for each PaaS service, harden defaults, restrict network access and secure application code.

ANTI-PATTERN-04 Avoid
Problem

Logging and alerts are not enabled, because “Microsoft would tell us if something went wrong”.

Why It’s Harmful

Microsoft cannot see misuse of your accounts or data inside your tenant. Attacks continue unnoticed for weeks, and there is no evidence to investigate afterwards.

Correct Approach

Enable diagnostic logging, collect sign-in and activity logs, alert on unusual behaviour and rehearse incident response.

ANTI-PATTERN-05 Avoid
Problem

Compliance is considered complete because Microsoft holds certifications, and the team never documents its own controls.

Why It’s Harmful

Auditors test the customer’s configuration, access and processes. Without evidence, the audit fails even though the platform is certified.

Correct Approach

Combine Microsoft’s reports with your own control documentation, policy evidence and logs, and map each requirement to an owner.

20Best Practices and a Starter Checklist

Walk through these steps whenever you start using a new Azure service.

1

Identify the service model

Decide whether the service is IaaS, PaaS or SaaS and read its security documentation to learn where the line falls.

2

Write a responsibility matrix

List duties such as patching, identity, network, data, backup and monitoring, and name an owner for each one on your side.

3

Secure identities first

Require multi-factor authentication, use conditional access, apply least privilege and protect privileged roles.

4

Protect the data

Classify it, restrict access, remove public exposure, encrypt with appropriate keys and enable protection features.

5

Design the network deliberately

Segment with subnets and security groups, prefer private endpoints, and never expose management ports to the internet.

6

Keep software current

Patch guest operating systems and application dependencies, and prefer managed services that patch for you.

7

Plan for failure and recovery

Use zones and redundancy, set up backups, test restores and document recovery steps.

8

Monitor, enforce and review

Enable logging and alerts, apply Azure Policy and Defender for Cloud, define security as code and review the matrix regularly.

!
Frequent Beginner Mistakes

Assuming security moved with the workload, leaving public access on, skipping multi-factor authentication, giving permanent administrator rights, forgetting to patch virtual machines, treating replication as backup, disabling logs to save money and treating certificates of the provider as proof of your own compliance.

21Frequently Asked Questions

Q1Is Microsoft responsible if my data is stolen from Azure?

It depends on how the theft happened. If it came from a failure of the physical or platform layer, that falls on Microsoft. If it came from stolen credentials, an open setting, an unpatched virtual machine or flawed application code, that is on the customer’s side. In practice, most incidents come from customer-side configuration or identity problems.

Q2What is always the customer’s job, whatever the service?

Information and data, devices and endpoints, and accounts and identities. These three never move to the provider, even in software-as-a-service.

Q3Does using PaaS remove my security duties?

It removes many infrastructure duties, such as operating system patching, but you still secure your application, your data, your identities and your network exposure. PaaS lowers your workload without taking it to zero.

Q4If Microsoft is certified for a standard, am I automatically compliant?

No. Microsoft’s certification covers its own responsibilities. You must still configure services correctly, control access, protect data and keep evidence for your own part of the standard.

Q5Who patches virtual machines?

Microsoft patches the physical hosts and the virtualisation layer. You patch the guest operating system and the software you install inside the virtual machine.

Q6Who is responsible for backups?

Microsoft makes redundant storage and backup features available, but you decide what to back up, how often, how long to keep it and whether restores work. Many services also have built-in backups that you should understand and extend where needed.

Q7Does the Azure service-level agreement protect me from my own design mistakes?

No. The agreement describes the availability of the service, assuming you follow its conditions. If you run an important workload on a single instance with no redundancy, a failure can still take you down, and your design decides the impact.

Q8How does the model apply to AI services?

Microsoft secures the platform and model hosting, and offers safety features. You are responsible for the data you send, who may use the service, how you use outputs and how you protect people from harm. The same layered thinking applies.

Q9How do I know exactly who is responsible for a particular service?

Read the security and compliance documentation of that service and the Microsoft Cloud Security Benchmark guidance. Then write your own responsibility matrix with an owner for every customer-side duty.

Q10What is the best first step to improve my share?

Secure identities. Require multi-factor authentication, remove unnecessary administrator rights and apply conditional access. After that, remove public exposure of data, enable logging and use policy to prevent risky settings.

22Summary and Key Takeaways

The shared responsibility model is the simple but vital idea that security in Azure is a partnership. Microsoft secures the physical data centres, network and hosts, and the platform services it runs for you. You always secure your data, devices and identities, and the more of the stack you manage yourself, the more you must secure. The line shifts between infrastructure, platform and software services, so reading the guidance for each service and keeping a clear responsibility matrix prevents dangerous gaps. With strong identity controls, thoughtful data and network design, good monitoring, policy guardrails and honest compliance evidence, you can use the cloud with confidence and keep your share of the promise.

Key Takeaways

  • Security is shared — Microsoft secures the cloud itself, and you secure what you put in it.
  • Three duties never move — data, devices and identities are always the customer’s, whatever the service model.
  • The line shifts with the model — in IaaS you manage the operating system and above, in PaaS Microsoft takes the platform, and in SaaS you manage mainly data, users and devices.
  • Misconfiguration is the main risk — public storage, open management ports and weak sign-in are customer-side choices that lead to most incidents.
  • Certificates cover only half — Microsoft’s audit reports prove its part, and you must prove your own with controls and evidence.
  • Availability needs your design too — use zones, redundancy, backups and tested recovery plans, because replication is not backup and an agreement is not an architecture.
  • Write it down and keep watching — keep a responsibility matrix with named owners, enforce guardrails with policy, enable logging and alerts, and review as services change.