What Is Microsoft Entra ID?
Compare Entra ID with traditional Active Directory, understand tenants and subscriptions, and learn how cloud identity differs from on-premises identity.
What Is Microsoft Entra ID? is a free Cloud & IT Cert Prep lesson on CoddyKit — lesson 1 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Cloud & IT Cert Prep learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.
Introduction to Microsoft Entra ID
Microsoft Entra ID (formerly Azure Active Directory) is Microsoft's cloud-based identity and access management service. It is the identity backbone of Azure and Microsoft 365, handling authentication and authorisation for millions of users and applications worldwide. Every Azure subscription is associated with one Entra ID tenant that stores user identities and manages access to resources.
Entra ID vs Traditional Active Directory
Traditional on-premises Active Directory Domain Services (AD DS) manages identities using Kerberos and LDAP protocols, suited for domain-joined Windows machines in a corporate network. Entra ID is cloud-native and uses modern protocols — OAuth 2.0, OpenID Connect, and SAML — to authenticate users to web apps, SaaS services, and APIs from any device, anywhere. The two can coexist via Microsoft Entra Connect, which synchronises on-premises identities to the cloud.
Tenants and Directories
A tenant is a dedicated instance of Entra ID that an organisation receives when it signs up for Azure or Microsoft 365. It has its own directory of users, groups, and applications. Your tenant has a domain name like yourcompany.onmicrosoft.com, and you can add custom domains like yourcompany.com. Each Azure subscription trusts exactly one tenant for authentication.
# View your tenant information
az account show --query '{tenantId:tenantId, name:name}'
# List users in your directory
az ad user list --output tableSubscriptions and Their Relationship to Entra ID
An Azure subscription is a billing and resource boundary — it holds Azure resources like VMs, databases, and storage accounts. A subscription trusts one Entra ID tenant, meaning only identities from that tenant (or federated identities) can be granted access to resources in the subscription. Multiple subscriptions can trust the same tenant, which is how large enterprises manage many environments under one identity store.
Authentication vs. Authorisation
Understanding the distinction is fundamental. Authentication (AuthN) is the process of proving who you are — Entra ID verifies your username and password (or MFA token). Authorisation (AuthZ) is the process of determining what you are allowed to do — Azure RBAC checks your role assignments to decide which operations your identity can perform on Azure resources after authentication succeeds.
Entra ID Licence Tiers
Entra ID comes in three main editions. Free (included with any Azure subscription) provides basic user and group management, SSO for up to 10 apps, and basic security reports. P1 adds conditional access, hybrid identity with on-premises AD, and self-service group management. P2 adds identity protection with risk-based conditional access and Privileged Identity Management (PIM) for just-in-time role activation.
Creating and Managing Users
Entra ID supports cloud-only users (created directly in the directory) and synchronised users (synced from on-premises AD via Entra Connect). You can create users through the Azure portal, Microsoft 365 admin centre, Azure CLI, or PowerShell. Each user object stores attributes like display name, email, job title, department, and manager, plus authentication credentials.
# Create a new cloud-only user
az ad user create \
--display-name 'Alice Smith' \
--user-principal-name alice@yourcompany.onmicrosoft.com \
--password 'TempPass123!' \
--force-change-password-next-sign-in trueGroups: Security and Microsoft 365
Entra ID supports two group types. Security groups are used to assign permissions — add a user to a security group and grant the group an RBAC role to avoid managing individual assignments. Microsoft 365 groups bundle a shared mailbox, calendar, SharePoint site, and Teams workspace for collaboration. Groups can be assigned memberships dynamically based on user attributes, reducing manual management.
# Create a security group
az ad group create \
--display-name 'DevTeam' \
--mail-nickname DevTeam
# Add a member to the group
az ad group member add \
--group DevTeam \
--member-id <user-object-id>Application Registrations
When you want to allow an application to authenticate users via Entra ID, you create an App Registration. This represents your application in the directory and gives it a client ID. You then configure the allowed redirect URIs, API permissions, and (for confidential clients) generate a client secret or upload a certificate. The app uses OAuth 2.0 / OIDC flows to obtain access tokens on behalf of users.
# Register an application
az ad app create \
--display-name 'MyWebApp' \
--web-redirect-uris 'https://myapp.example.com/auth/callback'
# Generate a client secret
az ad app credential reset \
--id <app-id> \
--appendManaged Identities: No Secrets Needed
A managed identity is an automatically managed identity in Entra ID assigned to an Azure resource such as a VM or App Service. The resource can obtain tokens from Entra ID without any stored credentials or rotation management. System-assigned managed identities live and die with the resource; user-assigned managed identities are standalone objects that can be attached to multiple resources.
# Enable system-assigned managed identity on a VM
az vm identity assign \
--resource-group myRG \
--name myVM
# Grant that VM read access to a Key Vault
az keyvault set-policy \
--name myKeyVault \
--object-id <vm-principal-id> \
--secret-permissions get listSelf-Service Password Reset
Self-Service Password Reset (SSPR) lets users reset their own Entra ID passwords without calling the IT helpdesk, using verification methods like authenticator app, phone, email, or security questions. SSPR dramatically reduces helpdesk tickets and allows users to unblock themselves outside business hours. It is available in Entra ID P1 and P2, and can write passwords back to on-premises AD for hybrid environments.
Quick Check
Test your understanding of Microsoft Azure Fundamentals (AZ-900) concepts from this lesson.
Lesson Recap
In this lesson you learned: Entra ID is Azure's cloud-native identity service using OAuth 2.0 and OpenID Connect, tenants are dedicated directory instances that subscriptions trust for authentication, and managed identities allow Azure resources to authenticate without stored credentials. Next up we explore users, groups, and RBAC role assignments in Entra ID.
Frequently asked questions
Is the “What Is Microsoft Entra ID?” lesson free?
Yes — the full text of “What Is Microsoft Entra ID?” is free to read here on the web, and the Cloud & IT Cert Prep course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Cloud & IT Cert Prep course, upgrade to CoddyKit PRO.
What will I learn in “What Is Microsoft Entra ID?”?
Compare Entra ID with traditional Active Directory, understand tenants and subscriptions, and learn how cloud identity differs from on-premises identity. You practise Cloud & IT Cert Prep with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.
Do I need any experience to start Cloud & IT Cert Prep?
No prior experience is required. Cloud & IT Cert Prep on CoddyKit is structured for beginners through advanced learners; this is — lesson 1 of 4, so you can start here or from the beginning and move at your own pace.
How long does the “What Is Microsoft Entra ID?” lesson take?
Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.
Can I write and run code in this Cloud & IT Cert Prep lesson?
Yes. Every Cloud & IT Cert Prep lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.