Understanding Microsoft Entra ID for Security
This lesson explains how Microsoft Entra ID is organized, what a token is, and how licensing shapes the features in this domain.
Learning outcomes
After completing this lesson, you will be able to:
- Explain why identity is central to Zero Trust.
- Describe tenants, security principals and tokens.
- Distinguish Microsoft Entra roles from Azure roles.
- Identify which features need P1, P2 or Governance licences.
Identity as the control plane
In a traditional datacentre, the network perimeter decided who could reach a system. In a cloud environment, a resource is reachable from anywhere that its endpoint permits, so the question of who is making the request carries most of the weight. Microsoft Entra ID, formerly Azure Active Directory, is the cloud identity service that answers that question for Azure, Microsoft 365 and thousands of other applications. An attacker who obtains a privileged identity does not need to defeat a firewall, because the attacker can simply sign in and use the management interfaces as an administrator would.
This is why a Zero Trust approach starts with identity. The model has three principles: verify explicitly, use least privilege access, and assume breach. Each control in this module maps to one of them. Authentication methods and Conditional Access verify explicitly. Privileged Identity Management applies least privilege over time as well as over scope. Monitoring and short session lifetimes assume that a credential may already be compromised.
Tenants and directory objects
A tenant is a dedicated instance of Microsoft Entra ID that an organization receives when it signs up for a Microsoft cloud service. It is a security boundary: identities and role assignments in one tenant have no authority in another unless a trust is explicitly configured. Azure subscriptions trust exactly one tenant, which supplies the identities that can be granted access to the resources in that subscription.
The directory holds several kinds of security principal, and it is important to distinguish them, because exam scenarios often turn on which kind is making a request. The following terms recur throughout this study guide.
- User
- A person's account, either a member of the tenant or a guest invited from another organization.
- Group
- A collection of principals. Assigning access to a group is easier to audit than assigning it to individuals.
- Service principal
- The identity of an application in a tenant, which receives permissions and role assignments.
- Managed identity
- A special service principal for an Azure resource, whose credentials the platform rotates.
- Agent identity
- An identity account for an AI agent, covered in the module on agent identities.
Authentication, authorization and tokens
Authentication proves who a principal is, and authorization decides what that principal may do. Microsoft Entra ID performs authentication and issues tokens. Authorization is partly in the token, in claims such as roles and scopes, and partly in the resource provider that evaluates the request.
A client signs in and receives an access token, which it presents to a resource, and usually a refresh token, which it presents to Microsoft Entra ID for new access tokens without another sign-in. An access token is a bearer credential, so anyone who holds it can use it until it expires. This explains why token theft has become a leading attack: a stolen token already satisfies multifactor authentication. Controls such as token protection and continuous access evaluation, both described later in this module, address exactly that weakness.
Conditional Access is evaluated when a token is requested, not on each request to the resource. By default, an access token lasts about an hour, so a change in the user's circumstances would not take effect until the next token request unless continuous access evaluation applies.
The following diagram shows the tokens exchanged between a client, Microsoft Entra ID and a resource.

Tokens and their limits
Two role systems
Candidates must keep two authorization systems apart. Microsoft Entra roles control the directory and Microsoft 365 services: resetting passwords, managing applications, or configuring Conditional Access. Azure roles control Azure resources: creating a virtual machine or reading a storage account. Global Administrator is a directory role, and it gives no access to Azure resources by default. Owner is an Azure role, and it gives no rights in the directory.
A Global Administrator can elevate access to become User Access Administrator at the root management group. This option exists so that an organization can recover control of its subscriptions, and its use should be rare and monitored. The following comparison summarizes how the systems differ.
Licence tiers
Microsoft Entra features depend on licensing, and an exam question may offer a correct feature that the scenario's licence cannot use. The following table shows the tiers as they apply to this module.
| Tier | Security features relevant to this exam |
|---|---|
| Microsoft Entra ID Free | Users and groups, single sign-on, and security defaults. |
| Microsoft Entra ID P1 | Conditional Access, authentication strengths, custom directory roles and access to private network connector groups. |
| Microsoft Entra ID P2 | Everything in P1, plus ID Protection, risk-based Conditional Access and Privileged Identity Management. |
| Microsoft Entra ID Governance | An add-on that provides Privileged Identity Management, entitlement management and advanced access reviews. |
Security defaults are a free, preconfigured setting available to all customers. They require users to register for multifactor authentication, block legacy authentication and protect privileged activity. They are a sound starting point for a small tenant, but they offer no exclusions or conditions. A tenant that has Conditional Access policies should turn security defaults off, because the two cannot be combined.
Which licence tier?
Identifying which role system applies
A help desk team must reset passwords for users in the Sales department only. A separate operations team must restart virtual machines in one resource group. Both teams must receive the least privilege possible. What should you assign?
The two tasks belong to different systems. Resetting a password is a directory action, so it calls for a Microsoft Entra role. The department limit points to an administrative unit that contains the Sales users, with the Helpdesk Administrator role assigned at that scope. A tenant-wide assignment would exceed the need.
Restarting a virtual machine is an Azure action, so it calls for an Azure role such as Virtual Machine Contributor, assigned at the resource group. Assigning a broad role such as Contributor at the subscription would also work technically, but it fails the requirement for least privilege.
A Global Administrator cannot see any virtual machines in a subscription. Why not?
Show answer
Global Administrator is a directory role, and it gives no Azure resource access by default. The person needs an Azure role, or must elevate access at the root scope.
Exam Tips
Remember for the exam
- Keep Microsoft Entra roles and Azure roles apart: directory versus resources.
- Conditional Access needs P1, whereas risk-based policies and PIM need P2 or Governance.
- A stolen token can defeat MFA, so look for token protection and continuous access evaluation.
- Security defaults and Conditional Access are alternatives, not partners.