Microsoft Entra ID — Complete Guide

Microsoft Entra ID (formerly Azure Active Directory) is Microsoft's cloud-based identity and access management service. It manages identities for users, devices, applications, and services — the foundation of Zero Trust architecture.

Microsoft Entra ID — Complete Guide
ENTRA ID · Modern Endpoint Guides

Microsoft Entra ID

Microsoft Entra ID (formerly Azure Active Directory) is Microsoft's cloud-based identity and access management service. It manages identities for users, devices, applications, and services — the foundation of Zero Trust architecture.

Free / P1 / P2 Zero Trust SSO MFA Identity

📋 Overview & Editions

🆔 Identity Management

Central management for users, groups, devices, and service accounts.

🔑 Authentication

MFA, Passwordless, SSPR, Smart Lockout, Phishing-resistant credentials.

📜 Authorization

Conditional Access, RBAC, App Permissions, PIM for JIT access.

🔗 Application Integration

SSO for 3,000+ pre-integrated SaaS apps, plus custom app registration.

Editions Comparison

FeatureFreeP1P2
MFA (per-user)
Conditional Access
SSPR
Identity Protection (Risk)
PIM (JIT)
Access Reviews

👥 Identity Types

entra.microsoft.com › Users › All users
Home
Identity
Users → All users
Groups
Devices
Applications
Home › UsersAll users
All users (1,247 users)
+ New user
Bulk operations
Download
Display nameUser principal nameUser typeStatus
Alice Johnsonalice.johnson@contoso.comMemberActive
Bob Smithbob.smith@contoso.comMemberActive
Carol Partner (Fabrikam)carol@fabrikam.comGuestActive
Dave (Former Employee)dave.old@contoso.comMemberDisabled
💡 Filter by "Guest" to audit all external users. Review quarterly.
📸 Entra ID All Users — identify Guest accounts and disabled accounts
TypeDescriptionNotes
Member UsersInternal employeesCreated in your tenant
Guest Users (B2B)External partners, vendorsInvited via B2B collaboration
Service PrincipalsApplication identitiesUsed by apps and services
Managed IdentitiesAuto-managed service identity for Azure resourcesNo credentials to manage
Device IdentitiesAzure AD Joined / Registered / Hybrid Joined devicesUsed in Device Compliance CA

🔐 Authentication Methods

MethodPhishing Resistant?Strength
Windows Hello for Business✅ YesHighest
FIDO2 Security Key✅ YesHighest
Microsoft Authenticator (Passkey)✅ YesHigh
Certificate-Based Auth (CBA)✅ YesHigh
Microsoft Authenticator (Number Match)⚠️ PartialMedium-High
TOTP (Authenticator App code)❌ NoMedium
SMS / Voice OTP❌ NoLow
Password only❌ NoWeakest

🔄 Self-Service Password Reset (SSPR)

SSPR allows users to reset their own passwords without calling the helpdesk. Reduces IT support load and improves security by reducing phone-based social engineering attacks.

  • Require 2 authentication methods for reset
  • Methods: Authenticator App, Email, Phone, Security Questions
  • Enable SSPR Writeback for hybrid environments (syncs back to on-premises AD)
  • Monitor SSPR Activity in the Entra admin center
ℹ️
Pilot first. Enable SSPR for a pilot group before rolling out org-wide. Monitor for unexpected lockouts during the first week.

📜 Conditional Access

Conditional Access is the Zero Trust policy engine. It evaluates signals (user, device, location, app, risk) and enforces controls (Allow, Block, Require MFA, Require Compliant Device).

// Example: Block Legacy Authentication
Name: "Block Legacy Authentication"
  Users: All Users
  Cloud Apps: All Apps
  Conditions:
    Client Apps: Exchange ActiveSync clients, Other clients (legacy)
  Grant: Block Access
⚠️
Always test in Report-Only mode first. Enable a policy in Report-Only for at least 7 days and review the impact before switching to Enforce mode.

🔗 Hybrid Identity

Sync MethodDescriptionRecommendation
Password Hash Sync (PHS)Hash of hash synced to Entra ID✅ Recommended — simplest + most resilient
Pass-Through Auth (PTA)On-premises AD validates passwords in real-timeUse when PHS is not allowed by policy
Federation (ADFS)External STS (ADFS) handles authentication⚠️ Avoid — complex, single point of failure

📦 App Registration vs Enterprise Application

ConceptDescription
App RegistrationApplication definition — client ID, permissions, redirect URIs
Enterprise Application (Service Principal)Instance of the app in your tenant — where you assign users/groups
API PermissionsDelegated (user context) vs Application (daemon/service)
Admin ConsentOrg-wide consent for an application's permissions

🎭 Key Entra ID Roles

RolePermissionsRisk
Global AdministratorFull tenant control🔴 Critical — maximum 5 accounts
Privileged Role AdministratorManage role assignments and PIM🔴 Critical
Security AdministratorManage security policies and alerts🟠 High
User AdministratorCreate/manage users and groups🟡 Medium
Application AdministratorRegister and manage apps🟠 High
Conditional Access AdministratorManage CA policies🟠 High

🔎 KQL Queries

Sign-ins by Country

SigninLogs
| where TimeGenerated > ago(7d)
| summarize SignIns = count() by tostring(LocationDetails.countryOrRegion)
| order by SignIns desc
| take 20

MFA Usage Report

SigninLogs
| where TimeGenerated > ago(30d)
| summarize
    Total = count(),
    WithMFA = countif(AuthenticationRequirement == "multiFactorAuthentication"),
    WithoutMFA = countif(AuthenticationRequirement == "singleFactorAuthentication")
  by UserPrincipalName
| extend MFARate = round(100.0 * WithMFA / Total, 1)
| where Total > 5
| order by MFARate asc

Risky Sign-ins (Identity Protection)

AADRiskyUsers
| where RiskLevel in ("high", "medium")
| where RiskState == "atRisk"
| project UserPrincipalName, RiskLevel, RiskDetail, RiskLastUpdatedDateTime
| order by RiskLastUpdatedDateTime desc

✅ Checklist — Microsoft Entra ID

    🔐 Authentication
  • Enable Security Defaults OR configure Conditional Access (not both)
  • Require MFA for All Users via Conditional Access
  • Block Legacy Authentication protocols
  • Enable SSPR with 2 authentication methods
  • Roll out Phishing-Resistant MFA (WHfB / FIDO2)
  • 🛡️ Security
  • Enable PIM for all admin roles
  • Configure Break Glass accounts (2 accounts, no MFA, monitored)
  • Review Global Admin count — must not exceed 5
  • Enable Entra ID Protection (P2)
  • Block high-risk users automatically via CA policy
  • 🔗 Hybrid & Apps
  • Use Password Hash Sync (PHS) for hybrid environments
  • Audit Guest users — review and remove stale B2B accounts quarterly
  • Enable Admin Consent workflow for app permissions