Microsoft Entra ID & Role-Based Access Control

Azure Fundamentals

Chapter 2 · Microsoft Entra ID & Role-Based Access Control

AWS Fundamentals Chapter 2 covered IAM — users, groups, roles, and policies, scoped per AWS account. Azure's own identity system is genuinely shaped differently from the very foundation up, and this chapter covers exactly how.

Microsoft Entra ID: Real Origin & Rename

Microsoft's own identity service launched 27 October 2008 as Azure Active Directory (Azure AD) — the same real month Azure itself was first announced (Chapter 1). Microsoft renamed it Microsoft Entra ID, announced 11 July 2023 and effective 15 July 2023, as part of a real, broader push to bring naming consistency across Microsoft's own cloud product line.

A Real Structural Difference From AWS IAM

Identities Live Above the Subscription, Not Inside It
AWS IAM identities are scoped per account. Entra ID identities are scoped per tenant — and one tenant can genuinely span multiple Azure subscriptions at once. A single Entra ID user or group can be granted access across several subscriptions without needing a separate identity created in each one — a real, structurally different starting point from AWS, where an IAM user only ever exists inside the one account it was created in.

The Real RBAC Scope Hierarchy

Azure's role-based access control (RBAC) applies permissions at a real, nested scope, with each level inheriting downward:

  • Management Group — the broadest real scope, grouping multiple subscriptions together.
  • Subscription — a billing and access boundary, roughly analogous to an AWS account.
  • Resource Group — Chapter 1's own real, mandatory grouping construct.
  • Resource — an individual real resource (a VM, a storage account).

A role granted at a higher level (say, a Resource Group) automatically applies to everything inside it — every resource in that group — unless overridden more narrowly at a lower level. This is a genuinely different default than AWS IAM's own flatter model, where a policy attaches directly to a specific identity rather than inheriting down a real, nested scope tree.

Real Built-in Roles

Built-in RoleReal Permissions
OwnerFull access to all resources, including the ability to grant access to others
ContributorFull access to manage resources, but cannot grant access to others
ReaderCan view existing resources, but cannot make any changes

The real, meaningful distinction between Owner and Contributor — the ability to grant access to other identities — is exactly the kind of narrow, deliberate permission split least privilege (introduced in AWS Fundamentals Chapter 2) calls for: most real day-to-day work needs Contributor, not Owner.

Role Assignments

A real Azure role assignment combines exactly three things: a role definition (what's allowed — e.g. Reader), a security principal (who — a user, group, or Managed Identity), and a scope (where — a Management Group, Subscription, Resource Group, or single Resource). This maps conceptually onto AWS's own Policy + Identity + Resource model, but structured through Azure's own real, hierarchical scope system instead of AWS's flatter policy-attachment approach.

Managed Identities

Azure's real, direct equivalent of AWS's own IAM roles for services (Chapter 3 of AWS Fundamentals) is the Managed Identity — an identity Azure automatically creates and manages for a resource (a VM, a Function App), with no credentials for you to store, rotate, or leak at all. A system-assigned Managed Identity is tied to one specific resource's own lifecycle (deleted when the resource is); a user-assigned Managed Identity exists independently and can be attached to multiple resources at once.

The Same Real Lesson, a Different Name
Exactly as AWS Fundamentals Chapter 2 recommended IAM roles over embedded access keys, Azure's own real, standard guidance is the same: attach a Managed Identity to a resource rather than embedding a service principal's credentials directly in application code.

A Real, Recent Case Study: The 2025 Entra ID Vulnerability

What Actually Happened
On 14 July 2025, a real, documented security vulnerability was discovered that could allow a user to gain administrator privileges across every Entra ID directory — a genuinely severe real scope, since Entra ID underlies identity for the whole of Azure, Microsoft 365, and connected third-party applications. Microsoft issued a real fix three days later, on 17 July 2025.

This is a real, current illustration of why identity — not any individual resource — sits at the real center of cloud security: a flaw in the identity layer itself has the potential to undermine every other real access control covered in this chapter, regardless of how carefully RBAC scopes and role assignments are otherwise configured.

AWS IAM vs. Azure RBAC

PropertyAWS IAMAzure RBAC (Entra ID)
Identity scopePer AWS accountPer tenant — can span multiple subscriptions
Permission modelPolicies attached directly to identitiesRole assignments at a nested scope (inherits downward)
Service identityIAM roleManaged Identity (system- or user-assigned)
Broadest built-in roleN/A (no single default "full access" role)Owner

Hands-On Exercises

Exercise 1

A team wants a new employee to have Contributor access to every resource in three specific subscriptions, without creating three separate identities. Explain, in your own words, how Entra ID's tenant-wide identity model makes this genuinely simpler than it would be under AWS's own per-account IAM model.

📄 View solution
Exercise 2

A Contributor role is assigned at the Resource Group level. Explain, in your own words, what real access this grants to a new resource created inside that Resource Group afterward, without any additional role assignment being made.

📄 View solution
Exercise 3

Explain, in your own words, why the real 2025 Entra ID vulnerability was potentially so severe compared to a flaw in a single Azure service, using the chapter's own point about identity sitting at the center of cloud security.

📄 View solution

Chapter 2 Quick Reference

  • Entra ID — launched Oct 2008 as Azure AD, renamed Microsoft Entra ID July 2023
  • Real structural difference: identities are scoped per tenant, spanning multiple subscriptions — unlike AWS IAM's per-account scope
  • RBAC scope hierarchy — Management Group → Subscription → Resource Group → Resource, inheriting downward
  • Built-in roles — Owner (full + can grant), Contributor (full, can't grant), Reader (view only)
  • Managed Identity — Azure's real equivalent of an IAM role for services; system-assigned or user-assigned
  • Real case study: the 2025 Entra ID privilege-escalation vulnerability (discovered 14 July, fixed 17 July) — a stark, current reminder that identity sits at the center of cloud security