Explore identity in Microsoft Entra ID
Introduction:
πThis module introduces identity and access management in the Microsoft Cloud, focusing on Microsoft Entra ID and its connection to Microsoft 365.
πIt covers the basics of authentication, authorization, and access tokens, then explains how identity forms the foundation of security through governance and lifecycle management.
π It also introduces the Zero Trust model, where every access request must be verified. The module explains Microsoft Entra ID architecture as the backbone for managing users, groups, and access in Microsoft 365.
πFinally, it highlights how PowerShell and Microsoft Graph can be used to automate and manage identity solutions, preparing you with the technical knowledge needed for secure identity management in the cloud.
Explain the identity landscape
How Microsoft Thinks About Identity
-
Microsoft treats identity as the foundation of security.
-
Everything — apps, devices, and users — must be tied to a trusted identity.
-
Instead of only protecting networks or devices, Microsoft focuses on protecting identities first because attacks often target user accounts.
-
This is why services like Microsoft Entra ID are central to all Microsoft Cloud solutions.\
2) Identity
Business to Business (B2B), Business to Consumer (B2C), Verifiable Credentials, (Decentralize Providers)
3) Actions
Business to Business (B2B), Authorize - Get - AuthZ, Administer - Configure, Audit - Report
4) Usage
Access applications and data, Secure - Cryptography, Dollars - Licenses
5) Maintain
Protect - Detect - Respond
1) Zero Trust First – Always verify access requests; never assume past access means future access.
2)Verified Accounts – Provide trusted identities for users and apps through Microsoft Entra ID, federation (B2B/B2C), or decentralized identity providers.
3)Core Identity Actions – Identities must authenticate and authorize to access systems, while admins govern, monitor, and maintain security
4)Use After Verification – Once credentials are confirmed, users can securely access apps, data, and other identity-driven services.
5)Stay Updated – Keep identity systems current with the latest security updates and practices.
π This flow shows that Microsoft’s approach to identity is not just about logging in, but about continuous verification, governance, and protection.
From classic identity to Zero Trust identity
In the past, when firewalls were the primary security measure, access required only a username and password. Once entered, users were granted full access. If these credentials were stolen, attackers could misuse the data and systems. This approach is known as Classic Identity.
Today, we use Zero Trust Identity, where access and data are protected with policies. Instead of relying only on usernames and passwords, every access request is verified continuously, ensuring stronger security with MFA.
Explore Zero Trust with identity
πOrganizations now operate in hybrid and multicloud environments, with employees working from different locations and devices. Traditional firewalls are no longer enough to keep everything safe.
πThat’s why the Zero Trust model is used—it assumes that no request is automatically safe. Every access attempt, whether from inside or outside the network, is verified with strict checks. In short, Zero Trust means always verify before giving access to protect people, devices, apps, and data anywhere.
Zero Trust principles - guidance for architecture design
1. Verify Explicitly
Always validate every request using as much data as possible, such as:
-
User identity and location
-
Device health
-
Service or workload context
-
Data classification
-
Anomalies and unusual behavior
2. Use Least Privilege Access
Grant users only the access they need to perform their tasks, no more. This is achieved through:
-
Just-in-time (JIT) access → temporary permissions when required
-
Just-enough-access (JEA) → minimal permissions necessary for the task
-
Risk-based adaptive policies → adjust access based on risk level
-
Data protection against out-of-band vectors (unexpected access paths)
3. Assume Breach
Work with the mindset that a breach may already exist. Limit potential damage by:
-
Segmenting access by network, user, device, and app awareness
-
Encrypting all sessions end-to-end
-
Using analytics to detect threats, monitor posture, and strengthen defenses
Deploy Zero Trust solutions
Zero Trust is a security approach that assumes no user, device, or service is automatically trustworthy, whether they are inside or outside your network. Instead, access is continuously verified before granting permissions.
The strategy covers six foundational elements:
-
Identity – Who or what is accessing resources
-
Endpoints – Devices used to access resources
-
Data – Protecting sensitive information
-
Applications (Apps) – Securing software and services
-
Infrastructure – Servers, cloud, and on-prem systems
-
Network – Communication paths and connections
Each element acts as:
-
A source of signal – provides information about activity
-
A control plane – enforces security policies
-
A resource to defend – must be protected from threats
Focus on Identity in Zero Trust
Why identity is critical:
-
Every access request comes from some identity: a person, a service, or an IoT device.
-
The identity defines the control plane — essentially, it decides whether access should be allowed.
Key Principles for Identity Security:
-
Strong Verification:
-
Confirm the identity using multi-factor authentication (MFA) or other strong methods.
-
-
Conditional Access:
-
Only allow access if it is compliant with policies (location, device health, risk level).
-
-
Least Privilege Access:
-
Give users or devices only the minimum access they need to perform their tasks.
-
Limits potential damage if an account is compromised.
-
-
Continuous Monitoring:
-
Track behavior to ensure access patterns are typical and safe.
-
Zero Trust architecture
Security Policy is Central:
Policies govern who can access what, when, and how.
Identity is the Core:
Every user, device, or service is verified before access.
Access decisions are based on identity, device health, sign-in risk, and other signals.
Integrated Solutions:
Tools like identity & access management, endpoint management, data protection, cloud security, and network security work together.
They enforce policies in real time and protect resources across the organization.
Policy Engine & Signals:
A central policy engine uses rich signals to make dynamic access decisions at critical points (networks, apps, data).
Threat Detection & Response:
SIEM and XDR solutions provide end-to-end threat visibility, detection, and response.
They help identify what matters most and act quickly to remediate threats.
Goal:
Ensure only the right people get the right access, improving both security and productivity.
1)Identity & Policy are at the heart.
2)Access is verified continuously using signals like device health and sign-in risk.
3)Apps, Data, Network, and Infrastructure are protected in real time.
4)SIEM + XDR provide full visibility and quick response.
πZero Trust continuously verifies identities, enforces policies, and integrates security tools to protect resources and respond to threats in real time.
Discuss identity as a control plane
What is a Control Plane?
-
In networking, a control plane is the part of the system that decides how traffic flows.
-
In security, it’s a tool or service that directs access to resources based on policies and criteria.
Why Identity is the Control Plane
-
Every user, app, device, or service has an identity.
-
Identity is the common denominator across networks, devices, and applications.
-
By verifying identity first, you can trust or deny access to all other resources.
-
Without knowing the identity, no other security control matters.
How it Works
-
User or device requests access.
-
Identity is verified using authentication (password, MFA, device health, etc.).
-
Access policies evaluate the request based on least privilege and compliance.
-
Access is allowed or denied to apps, data, cloud services, or on-prem resources.
Diagram: Identity as the Control Plane
Key Idea:
-
Identity is at the center of trust.
-
All access requests, whether to cloud, on-prem, apps, devices, or networks, go through the identity control plane.
-
It ensures explicit verification of every access attempt.
Explore why we have identity
“Why is identity used as the central mechanism (control plane) for granting access to resources in Zero Trust security architectures?”
Identity gives the ability:
To prove who or what, we are - Authentication
To get permissions to do something - Authorization
To report on what was done - Auditing
To IT manage and self administer an identity - Administration
| Authentication | Authorization | Administration | Auditing |
|---|---|---|---|
| User sign on experience | User sign on experience | Single view management | Track who does what, when, where and how |
| Trusted source(s) | Can a user access the resource | Application of business rules | Focused alerting |
| Federative protocols | What can they do when they access it? | Automated requests, approvals, and access assignment | In-depth collated reporting |
| Level of assurance | Entitlement management | Governance & compliance |
What is an identity provider (IdP)
An identity provider (IdP) is a system that creates, manages and stores digital identities. Microsoft Entra ID is an example. The capabilities and features of identity providers can vary. The most common components are:
- A repository of user identities
- An authentication system
- Security protocols that defend against intrusion
- Someone we trust
Feature | OIDC (OpenID Connect) | SAML (Security Assertion Markup Language) |
|---|---|---|
| Based on | OAuth 2.0 (modern) | XML standard (older) |
| Data format | JSON | XML |
| Best suited for | Web & mobile apps, APIs | Enterprise apps (SSO in corporate systems) |
| Ease of use | Lightweight, developer-friendly | More complex, heavier to implement |
| Token type | ID Token (JWT) | SAML Assertion |
| Transport | REST/HTTP APIs | Browser redirects + XML exchange |
Define identity administration
Identity administration is how identity objects are managed over the lifetime of the identity’s existence. This administration can be manual or automated. Here's a simple example of what happens without governance and administration of your identities
Identity administration provides
*A system that is highly configurable around business processes
*The agility to scale resources according to demand
*Cost savings through the distribution and automation of management
*Flexibility around synchronization, proliferation, and change control.
Common identity administration tasks
There are many common tasks performed during identity administration.
Identity Proliferation – This is about where identity records are stored in an organization. They might be in Active Directory, other directory services, or application-specific databases.
Provisioning & Deprovisioning – Provisioning means creating a new user identity and giving it access. Deprovisioning means removing that identity’s access (like deleting the account or disabling it) when it’s no longer needed.
Identity Updates – This is how user details (like phone number, role, or department) are updated. Instead of doing it manually, the goal is to make updates automated and consistent across systems.
Synchronization – This ensures that all identity systems are up to date with the latest information. Sync can happen manually, on a schedule, or automatically whenever changes occur.
Password Management – Deals with how passwords are created, reset, or recovered. Many organizations still depend on the IT helpdesk for forgotten passwords, though self-service methods are becoming common.
Group Management – Groups (like in Active Directory or LDAP) are used to assign access permissions. Managing these groups is critical but also costly and time-consuming.
Application Entitlement Management – This defines how users are granted access to applications. Coarse-grained entitlements give general access at the app level, while fine-grained entitlements control access at a more detailed level (based on user attributes).
User Interface – This is how users interact with the system to request or update identity details. In many cases, users still contact the helpdesk instead of using self-service portals.
Change Control – This is about how identity-related changes are handled. Some organizations rely on manual processes (like emails), while others use automated workflows to streamline and secure the process.
Identity management automation
πΉ PowerShell vs CLI
| Feature | PowerShell | CLI (Command Line Interface) |
|---|---|---|
| Platform | Cross-platform (Windows, macOS, Linux) | Cross-platform (Windows, macOS, Linux) |
| Runs in | Windows PowerShell or PowerShell Core | Windows Command Prompt, PowerShell, Bash, etc. |
| Type | Scripting language (used for automation) | Command-based tool (focused on executing actions) |
| Focus | Action-oriented scripting, automation, workflows | Direct command execution for quick tasks |
πΉ Example: Create a User
Using Azure CLI:





Comments
Post a Comment