SaveMyCert
Log in
5 of 5 free questions left today·for 30 a day
Describe Azure architecture and services

Azure Identity, Access & Security: AZ-900 Guide

16 min readAZ-900 · Describe Azure architecture and servicesUpdated

Azure identity, access, and security is the set of services and models that prove who a user is, decide what they may do, and protect the resources they reach, and the AZ-900 exam tests each one by its purpose. The cloud identity service is Microsoft Entra ID (formerly Azure Active Directory), which stores accounts and verifies sign-ins; Microsoft Entra Domain Services adds managed, traditional domain features; and Microsoft Entra External ID lets partners and customers sign in with their own accounts. Users prove their identity with single sign-on (SSO), multifactor authentication (MFA), or passwordless methods. Conditional Access then decides at sign-in whether to allow, block, or challenge the attempt, and Azure role-based access control (RBAC) decides which actions a user may take on which resources. Two models tie it together, Zero Trust ("never trust, always verify") and defense in depth (independent layers), while Microsoft Defender for Cloud measures your security posture and detects threats. This lesson explains each, with comparison tables for the pairs that are easiest to confuse.

What you’ll learn
  • Describe Microsoft Entra ID and Microsoft Entra Domain Services, and when each is the right directory service
  • Compare the authentication methods SSO, MFA and passwordless, including the MFA factor categories
  • Describe external identities with Microsoft Entra External ID for partners and customers
  • Explain how Conditional Access uses sign-in signals to allow, block or require controls such as MFA or a compliant device
  • Describe Azure RBAC role assignments, scope inheritance and least-privilege role choice
  • Explain the Zero Trust principles and what each defense-in-depth layer covers
  • Describe the purpose of Microsoft Defender for Cloud and what its secure score measures

Identity as the foundation of cloud security

In the cloud, identity is the starting point of security: with no office walls to keep intruders out, what protects resources is knowing who is asking and what they are allowed to do. Two words run through this whole topic.

  • Authentication answers "who are you?" and proves it, for example with a password plus a phone prompt. SSO, MFA and passwordless sign-in are authentication methods, and Microsoft Entra ID is the service that performs them.
  • Authorization answers "what are you allowed to do?" once your identity is known, for example whether you may read a storage account or delete a virtual machine. In Azure, that decision is made by Azure RBAC.

Two neighbouring ideas are often confused with these. Conditional Access sits between them: it runs at sign-in, after the user's first factor has been checked, and decides whether the sign-in may go ahead (allow it, block it, or require something extra first, such as MFA or a compliant device). It does not decide which resources a user may change. Auditing is different again: logs such as the Azure Activity log record what someone did after the fact, but recording an action never permits or prevents it.

Question being answeredConceptAzure example
Who are you?AuthenticationMicrosoft Entra ID with SSO, MFA, passwordless
Should this sign-in go ahead, and on what terms?Sign-in policyMicrosoft Entra Conditional Access
What may you do, and where?AuthorizationAzure RBAC role assignments
What did you do?AuditingActivity and sign-in logs

Directory services: Microsoft Entra ID and Domain Services

Microsoft Entra ID is Azure's cloud-based identity and directory service, the service formerly known as Azure Active Directory (Azure AD). It stores your organization's users and groups and verifies sign-ins so people and applications can reach Azure, Microsoft 365 and thousands of SaaS apps. A cloud-only organization with no on-premises servers simply creates its accounts in Microsoft Entra ID; it is also where you turn on SSO, MFA and Conditional Access. (Organizations that already run Windows Server Active Directory on-premises use Microsoft Entra Connect to synchronize those existing accounts into Microsoft Entra ID; Connect is a sync tool, not a directory of its own.)

Microsoft Entra Domain Services is a managed domain service. It provides traditional Windows Server domain features (domain join, Group Policy, and the older Kerberos and NTLM authentication protocols, plus LDAP) for applications that expect a classic domain but are moving to Azure. Microsoft Entra ID on its own does not offer these: it uses modern web sign-in protocols, so it cannot join a server to a traditional Windows Server domain or apply Group Policy to it. Domain Services fills that gap using the users and groups already in Microsoft Entra ID.

The alternative is to build your own Active Directory Domain Services (AD DS) domain controllers on Azure VMs. That gives the same domain features, but you deploy, patch, back up and monitor those VMs yourself. Domain Services is the managed option: Microsoft runs the domain controllers for you.

OptionWhat it gives youWho runs it
Microsoft Entra IDCloud directory and sign-in for Azure, Microsoft 365 and SaaS apps (SSO, MFA, Conditional Access)Microsoft (fully managed)
Microsoft Entra Domain ServicesDomain join, Group Policy, Kerberos/NTLM, LDAP for older appsMicrosoft (managed domain controllers)
AD DS domain controllers on Azure VMsThe same domain featuresYou (deploy, patch, monitor the VMs)

Authentication methods: SSO, MFA, and passwordless

Authentication is how a user proves they are who they claim to be. Azure supports three methods that the exam expects you to tell apart.

Single sign-on (SSO) lets a user sign in once and then reach many applications without signing in again. Each person has one identity used by every connected app, which helps security as well as convenience: people juggle fewer passwords, and when someone leaves, disabling that one account removes their access to every app connected to it.

Multifactor authentication (MFA) requires evidence from two or more different categories: something you know (a password or PIN), something you have (a phone, hardware token or security key), or something you are (a fingerprint or face). A password plus a code from a hardware token combines know + have. Two items from the same category (two passwords) is not MFA. Where you sign in from is not an MFA factor: location is a signal that Conditional Access can use to decide whether to ask for MFA (see the next section). Because a stolen password alone no longer works, MFA is one of the simplest strong protections available.

Passwordless authentication removes the password entirely. Microsoft Entra ID supports Windows Hello for Business, FIDO2 security keys and the Microsoft Authenticator app. Each still combines two factor categories, a device you have unlocked by a PIN you know or a biometric you are, so it is strong authentication with no password for an attacker to phish or steal. That is what sets it apart from MFA added on top of a password, where the password is still there to be stolen, and from SSO, which reduces how often you sign in but not how.

MethodWhat it doesWhat it does not do
Single sign-on (SSO)One sign-in and one identity for many appsDoes not by itself add a second factor
Multifactor authentication (MFA)Requires two or more factor categoriesUsually still relies on a password as one factor
PasswordlessReplaces the password with a device plus PIN or biometricDoes not drop to a single factor; it remains two categories

Self-service password reset, by contrast, is a way to recover a forgotten password, not a sign-in method.

External identities: Microsoft Entra External ID

External identities let people outside your organization sign in to your apps with accounts they already have, while you still control what they can reach. The Microsoft Entra capability for this is Microsoft Entra External ID, and it covers two main scenarios.

  • Business partners (B2B collaboration). You invite a partner's employee, who appears in your directory as a guest user and signs in with their own organization's work account and password. You never create or manage a password for them, and you can apply your own Conditional Access and access rules to them.
  • Customers and consumers. Your customer-facing apps let the public sign up and sign in with a social account such as Google or Facebook, or with a local account (email and password) created for your app.

Do not confuse External ID with Microsoft Entra Connect, which synchronizes your own on-premises employees into Microsoft Entra ID, or with Domain Services, which provides domain features for VMs. External ID is specifically about people who are not your employees.

Conditional Access: access based on signals

Microsoft Entra Conditional Access is a policy engine that decides, at sign-in, whether to allow access, block it, or allow it only after an extra requirement is met, such as completing MFA or using a compliant (managed) device. It runs after the user's first factor (such as a password) is checked, evaluates signals about the sign-in, and applies an if-then rule: if these conditions are true, then apply this control.

The signals are properties of the sign-in attempt itself:

  • User or group: who is signing in, including members of a Microsoft Entra directory role such as Global Administrator.
  • Location: where the user is signing in from, as an IP address range or country. It is not the Azure region where the target resources are deployed.
  • Device: the device in use and whether it is managed or compliant.
  • Application: which cloud app the user is trying to reach.
  • Risk: the calculated risk of the sign-in, such as an unfamiliar location or atypical travel (sign-ins from places too far apart to reach in the time between them).

What a user is allowed to do on a resource is not a Conditional Access condition: a user's Azure RBAC role assignments (permissions on subscriptions, resource groups and resources) are evaluated later, when they act on that resource. Do not confuse these with Microsoft Entra directory roles such as Global Administrator, which describe who the user is in the directory and can be targeted by a Conditional Access policy. The two work together but answer different questions. Conditional Access decides whether and how the user gets in; RBAC decides what they can do on which resources once in. A requirement such as "finance staff must sign in from a compliant device, and may only read the billing storage account" therefore needs both: a Conditional Access policy for the device requirement and an RBAC role assignment at the storage account for the read-only permission. Neither tool can do the other's job.

A concrete example: a policy that requires MFA for anyone in the Global Administrator role means a stolen admin password alone is stopped at the MFA prompt. Another common policy blocks sign-ins from countries where the company has no staff.

Azure role-based access control (RBAC)

Azure role-based access control (Azure RBAC) is the authorization system for Azure resources: it decides which actions a signed-in user, group or application may perform, and where. You grant access by creating a role assignment, which has three parts: the security principal (who), the role definition (what actions), and the scope (where). This makes it easy to follow least privilege: give each person only the access their job needs.

Scope and inheritance. Scopes form a hierarchy: management group, subscription, resource group, resource. A role assigned at one level is inherited by everything below it: a role at the subscription applies to every resource group in it, including resource groups created later, and to every resource inside them. The scope therefore sets the reach of an assignment: the broader the scope, the more resources it covers, and an assignment cannot be "carved out" further down by a lower-level role.

Common built-in roles:

RoleManage resources?Grant access to others?
ReaderView onlyNo
ContributorYes, create and manage all resourcesNo
OwnerYes, full managementYes
User Access AdministratorNoYes, manages role assignments only

Azure also has many resource-specific built-in roles, such as Virtual Machine Contributor, which can manage virtual machines but not grant access to others. Least privilege means combining two choices: the role with the smallest set of actions that still covers the job, and the narrowest scope that still covers the resources involved.

RBAC versus Azure Policy. The two are easy to mix up. RBAC controls who may act on resources. Azure Policy controls what resources may look like, for example only allowed regions or VM sizes, and applies to everyone, including Owners. Giving a developer rights to manage one resource group is RBAC; stopping anyone from deploying outside approved regions is Azure Policy. (Azure Policy itself is covered with governance tools in the management and governance domain.)

Zero Trust and defense in depth

Two security models shape how Azure protects resources, and the exam expects you to recognize each by what it does.

Zero Trust is summed up as "never trust, always verify." No request is trusted because of where it comes from, even inside the corporate office. Microsoft states three principles:

  • Verify explicitly: authenticate and authorize every request using all available signals (identity, location, device health, risk). MFA and Conditional Access put this into practice.
  • Use least-privilege access: give only the access needed, and only for as long as needed, for example just-in-time access that expires. Azure RBAC at a narrow scope puts this into practice.
  • Assume breach: design as though an attacker is already inside, and limit the damage (the "blast radius"). In practice this means segmenting networks and access so a compromised server cannot reach everything, encrypting traffic end to end, and using monitoring to spot threats quickly.

Defense in depth uses multiple independent layers of security, so that if one layer fails another still protects the data at the center (often pictured as an onion). The layers, from the outside in:

LayerWhat it covers
Physical securityAccess to datacenter buildings and hardware
Identity and accessWho can sign in and what they may do (SSO, MFA, RBAC, auditing sign-ins)
PerimeterThe edge of your network facing the internet, such as DDoS protection and perimeter firewalls
NetworkTraffic between your resources: segmenting subnets, deny-by-default rules (for example network security group rules), limiting inbound internet access
ComputeSecuring virtual machines themselves: patching, endpoint protection, controlling VM access
ApplicationBuilding apps securely and keeping secrets out of code
DataProtecting the data itself, such as encryption and access controls on databases and storage

The two models fit together but are not the same:

ModelCore ideaIn practice
Zero TrustNever grant implicit trust; verify every requestVerify explicitly, least privilege, assume breach
Defense in depthStack independent layers so one failure is not fatalPhysical, identity, perimeter, network, compute, application, data

Network segmentation shows up in both, as the network layer of defense in depth and as a way to assume breach in Zero Trust.

Microsoft Defender for Cloud

Microsoft Defender for Cloud is Azure's service for measuring and improving your cloud security. It has two jobs: security posture management and workload protection.

For posture management, it continuously assesses your resources against security best practices, lists prioritized recommendations (such as "enable MFA for these accounts" or "restrict this open port"), and summarizes the result as a secure score. The secure score measures how closely your resources follow those security recommendations: fix recommendations and the score rises.

For workload protection, it watches running resources such as virtual machines, storage, databases and containers, and raises security alerts when it detects suspicious activity. Through Azure Arc and multicloud connectors it can also cover on-premises servers and resources in other clouds, giving one view across a hybrid estate.

Several other security numbers sit near the secure score; keep them apart:

Number or viewWhat it showsWhere it lives
Secure scoreHow well resources follow security recommendationsMicrosoft Defender for Cloud
Security alertsActive threats detected on workloadsMicrosoft Defender for Cloud (workload protection)
Risky sign-ins and risky usersSign-ins that look compromisedMicrosoft Entra ID Protection
Policy complianceShare of resources that meet your own Azure Policy assignmentsAzure Policy compliance view

Defender for Cloud does not assign roles (that is RBAC), block sign-ins (that is Conditional Access) or enforce allowed SKUs and regions at deployment (that is Azure Policy).

Tip. Identity questions reward knowing each service's purpose and the boundary with its nearest neighbour. Expect pairs to separate: Microsoft Entra ID (cloud directory, formerly Azure AD) vs Domain Services (managed domain join, Group Policy, Kerberos) vs self-run AD DS domain controllers; SSO vs MFA vs passwordless, and which factor categories a sign-in combines; External ID (partners and customers using their own accounts) vs Entra Connect (syncing your own staff). Scenario questions combine Conditional Access (sign-in signals: allow, block, or require MFA or a compliant device) with RBAC (actions on resources at a scope that is inherited downward), and ask for the least-privilege role. Know the three Zero Trust principles, what each defense-in-depth layer covers, and what the Defender for Cloud secure score measures.

Key takeaways
  • Microsoft Entra ID (formerly Azure AD) is the cloud identity and directory service; Microsoft Entra Domain Services adds managed domain join, Group Policy and Kerberos/NTLM without you running domain controllers, unlike self-managed AD DS on Azure VMs.
  • SSO gives one identity and one sign-in for many apps; MFA needs two or more factor categories (know, have, are), and location is not one of them; passwordless replaces the password with a device plus PIN or biometric, still two categories.
  • Microsoft Entra External ID lets partners (B2B guests using their own work accounts) and customers (social or local accounts) sign in while you control access.
  • Conditional Access acts at sign-in on signals about the attempt (user, sign-in location, device, app, risk) to allow, block or require controls such as MFA or a compliant device; it does not grant permissions on resources.
  • Azure RBAC authorizes actions on resources through role assignments (principal + role + scope) that are inherited downward; Owner can grant access, Contributor cannot, User Access Administrator manages access only, and roles such as Virtual Machine Contributor narrow permissions further.
  • Azure Policy governs what resources may look like; RBAC governs who may act on them; logs record what was done.
  • Zero Trust: verify explicitly, use least privilege (including just-in-time access) and assume breach (segment, encrypt end to end, limit blast radius). Defense in depth stacks independent layers from physical to data.
  • Microsoft Defender for Cloud scores security posture (secure score = how closely resources follow its recommendations) and raises threat alerts for workloads, including hybrid and multicloud ones.

Frequently asked questions

What is Microsoft Entra ID and what was it called before?

Microsoft Entra ID is Azure's cloud-based identity and directory service. It stores user accounts and groups and verifies sign-ins so people and applications can securely access Azure, Microsoft 365 and other cloud apps. It was formerly known as Azure Active Directory (Azure AD); Microsoft renamed it to Microsoft Entra ID, but the service and its capabilities are the same, so either name may appear in exam questions.

When do you need Microsoft Entra Domain Services instead of Microsoft Entra ID alone?

You need Microsoft Entra Domain Services when applications moving to Azure VMs expect a traditional Windows Server domain: domain join, Group Policy, or Kerberos and NTLM authentication. Microsoft Entra ID on its own does not provide those features. Domain Services is managed, so Microsoft runs the domain controllers; the alternative of building AD DS domain controllers on Azure VMs gives the same features but leaves you to deploy, patch and monitor them.

What is the difference between authentication and authorization?

Authentication proves who you are, for example with a password and a phone prompt; in Azure it is handled by Microsoft Entra ID through methods such as SSO, MFA and passwordless sign-in. Authorization decides what you are allowed to do once your identity is known, such as whether you may delete a virtual machine; for Azure resources that is Azure role-based access control (RBAC). Conditional Access sits at sign-in and decides whether the sign-in may proceed, and logs only record what was done.

Is location an MFA factor?

No. Multifactor authentication combines two or more of three factor categories: something you know (a password or PIN), something you have (a phone, token or security key) and something you are (a fingerprint or face). The location a user signs in from is a signal that Microsoft Entra Conditional Access can evaluate, for example to require MFA for sign-ins from outside the corporate network, but it is not itself an authentication factor.

How is Conditional Access different from Azure RBAC?

Microsoft Entra Conditional Access acts at sign-in: it evaluates signals about the attempt, such as the user, the location they sign in from, the device and the sign-in risk, and then allows it, blocks it, or requires a control such as MFA or a compliant device. Azure RBAC acts afterwards, deciding which actions the user may take on which Azure resources based on their role assignments and scope. A user's Azure RBAC role assignments are not a Conditional Access condition (though Microsoft Entra directory roles such as Global Administrator can be targeted), so requirements covering both sign-in and permissions need both tools.

What are external identities in Azure?

External identities let people outside your organization sign in to your apps with accounts they already have while you control their access. Microsoft Entra External ID covers business partners, who are invited as guest users and sign in with their own organization's work account (B2B collaboration), and customers, who sign in with a social account such as Google or with a local account. It is different from Microsoft Entra Connect, which synchronizes your own on-premises employees.

What are the three principles of Zero Trust?

Zero Trust, summed up as "never trust, always verify", has three principles. Verify explicitly: authenticate and authorize every request using signals such as identity, location and device health. Use least-privilege access: grant only the access needed, for only as long as needed, for example just-in-time access. Assume breach: design as if an attacker is already inside, segmenting access and encrypting traffic end to end to limit the damage.

What does the secure score in Microsoft Defender for Cloud measure?

The secure score in Microsoft Defender for Cloud measures how closely your resources follow its security recommendations, so fixing recommendations raises the score. It is not a count of threat alerts (those come from Defender for Cloud workload protection), not a count of risky sign-ins (that is Microsoft Entra ID Protection) and not your compliance with your own Azure Policy assignments (that is the Azure Policy compliance view).

Source

This lesson covers the "Describe Azure architecture and services" domain of the official AZ-900 exam guide. Vendors revise their guides — check the source for the current version.

Sign up free to mark lessons complete, bookmark topics and track your exam readiness.

Spotted a mistake in this lesson?