Lesson 1 of 4 Authentication Solutions

Understanding Identity in Microsoft Entra ID

This lesson explains tenants, identity types, tokens and licences.

Learning outcomes

After completing this lesson, you will be able to:

  • Distinguish Microsoft Entra ID from AD DS.
  • Describe the relationship between tenants and subscriptions.
  • Explain how a sign-in produces a token.
  • Identify the licence that a capability requires.

What Microsoft Entra ID provides

Microsoft Entra ID is a cloud-based identity and access management service. It answers two questions for every sign-in: who is this, and does this identity meet the conditions for access? Azure, Microsoft 365 and thousands of third-party applications rely on it, so a single identity can reach all of them through single sign-on.

Microsoft Entra ID is sometimes confused with Active Directory Domain Services (AD DS), but the two have different designs. AD DS is a directory for domain-joined computers on a private network, built on Kerberos, NTLM and LDAP, with organizational units and Group Policy. Microsoft Entra ID is an internet-facing identity provider built on modern protocols: OpenID Connect, OAuth 2.0 and SAML. It has no domain controllers to manage, no organizational units and no Group Policy. An application that needs Kerberos or LDAP cannot simply authenticate against Microsoft Entra ID, which is why later topics discuss bridging services.

Sort into groups

AD DS or Microsoft Entra ID?

Exam skills 1.2.1

Decide which directory each feature belongs to.

Log in to try this activity Interactive activities are free with an account.

Tenants and subscriptions

A tenant is an organization's dedicated instance of Microsoft Entra ID. It holds users, groups, application registrations and policies. Every Azure subscription trusts exactly one tenant to authenticate its users, while a single tenant can be trusted by many subscriptions. Authorization, by contrast, happens inside each subscription through role assignments.

Most organizations should have one workforce tenant. A second tenant creates a separate identity boundary: users need separate accounts, policies are duplicated, and collaboration becomes more complex. Separate tenants are justified by specific needs, such as isolating a subsidiary that must operate independently, or a separate external tenant for customers, covered later in this module.

The following diagram shows the interim state and the single-tenant end state.

The identity boundary after an acquisition. Each Azure subscription trusts one tenant, and the goal is one organization under one central administration team, so the long-term design is a single workforce tenant. Staff collaborate across the two tenants in the meantime, and the acquired business's users and subscriptions move into the main tenant as operations merge.
The interim collaboration method is summarized.

Types of identity

Microsoft Entra ID recognizes several types of security principal, and a sound design selects the correct type for each actor.

  • A user represents a person. Users are cloud-only, synchronized from AD DS, or guests from another organization.
  • A group collects principals so that access can be granted once. Assigning access to groups rather than to individuals is a basic design principle, as it scales and simplifies audits.
  • A service principal is the identity of an application within a tenant.
  • A managed identity is a service principal whose credentials are managed by Azure, so no secret is stored.
  • A device identity represents a registered, joined or hybrid-joined computer, and can be used as a condition for access.

How a sign-in produces a token

Understanding the sign-in flow makes later design choices clearer. An application does not see a user's password. Instead, it redirects the user to Microsoft Entra ID, which authenticates the user and issues a signed token. The application validates the token's signature and reads its claims.

  1. The application redirects the user

    The application sends the user to Microsoft Entra ID, requesting a token for itself or for an API.

  2. The user authenticates

    Microsoft Entra ID verifies the password, passkey or other method, and requests a second factor if required.

  3. Policies are evaluated

    Conditional Access evaluates the user, device, location and risk, then allows, challenges or blocks the sign-in.

  4. A token is issued

    Microsoft Entra ID issues an ID token that describes the user and an access token for the target API.

  5. The application uses the token

    The application validates the token and uses the claims to decide what the user can do.

Two protocols are used for different purposes. OpenID Connect proves who the user is, and OAuth 2.0 grants an application access to an API. SAML 2.0 is an older federation protocol still used by many enterprise applications. On AZ-305, this detail matters mainly because it explains why applications should be integrated with Microsoft Entra ID rather than storing their own passwords: the identity platform, not the application, handles multifactor authentication and policy.

Licensing as a design constraint

Many identity recommendations depend on licensing, so scenarios sometimes state the licence in order to rule an option in or out. The table below shows the capabilities that exam scenarios most frequently associate with each licence.

LicenceCapabilities a design can rely on
Microsoft Entra ID FreeUser and group management, single sign-on, security defaults, basic reports
Microsoft Entra ID P1Conditional Access, dynamic groups, group-based licensing, self-service password reset with writeback, Application Proxy
Microsoft Entra ID P2P1, plus Microsoft Entra ID Protection, Privileged Identity Management, base access reviews and entitlement management
Microsoft Entra ID Governance or Microsoft Entra SuiteAdvanced governance, including lifecycle workflows, machine learning assisted access reviews and custom extensions
Sort into groups

Minimum licence

Exam skills 1.2.1

Identify the minimum licence each capability needs.

Log in to try this activity Interactive activities are free with an account.
Worked example

Choosing the identity boundary

A company with one Microsoft Entra tenant has acquired a smaller business. The two firms will merge their operations within a year, and their staff will collaborate immediately. Subscriptions for the acquired business should be administered by the same central team. Should the acquired business remain in a second tenant permanently?

The goal is one organization under one central administration team, which points to a single workforce tenant in the long term. Each Azure subscription trusts one tenant, so central administration is simplest when all subscriptions trust the same one.

In the short term, staff can collaborate through B2B collaboration, or through cross-tenant synchronization while the firms remain separate. A permanent second tenant would duplicate users, Conditional Access policies and role assignments, with no requirement that justifies the separation. Creating one tenant per subscription would make things worse, because identity boundaries do not need to follow billing boundaries.

Check yourself

Can an application that requires LDAP authenticate directly against Microsoft Entra ID?

Show answer

No. Microsoft Entra ID uses OpenID Connect, OAuth 2.0 and SAML. An LDAP application needs AD DS or Microsoft Entra Domain Services.

Exam Tips

Remember for the exam

  • A subscription trusts one tenant; a tenant can serve many subscriptions.
  • Microsoft Entra ID uses OpenID Connect, OAuth 2.0 and SAML; AD DS uses Kerberos, NTLM and LDAP.
  • Conditional Access needs P1; Identity Protection and Privileged Identity Management need P2.
  • Lifecycle workflows need Microsoft Entra ID Governance or Microsoft Entra Suite, not P2 alone.