Lab 03 — Identity Security
Identity is one of the most important security layers in Microsoft environments.
A user may be:
Inside the Office
Working Remotely
Using a Mobile Device
Using a Managed Laptop
Accessing Microsoft 365
Accessing Azure
Accessing SaaS ApplicationsThe security decision is no longer simply:
Is the User on the Corporate Network?A better question is:
Who Is the User?
How Did They Authenticate?
What Device Are They Using?
What Are They Trying to Access?
What Privilege Do They Have?
Is the Activity Risky?In this lab, you will assess identity security from an enterprise defender’s perspective.
Mission Information
Section titled “Mission Information”Lab: Identity Security
Level: Beginner → Intermediate
Estimated Time: 150–210 minutes
Environment: Authorized Microsoft Entra ID / Microsoft 365 training tenant
Primary Role: Identity Security Engineer
Supporting Roles: IAM Engineer, Microsoft Security Engineer, SOC Analyst, Cloud Security Engineer, Security Consultant
Mission Scenario
Section titled “Mission Scenario”Your organization has recently expanded its Microsoft cloud environment.
The tenant now contains:
Employees
Administrators
Contractors
Guest Users
Enterprise Applications
Cloud WorkloadsThe security team wants to verify that identity access is appropriately controlled.
You have been asked to review:
Users
Groups
Authentication
MFA
Conditional Access
Administrative Roles
Privileged Access
Guest Users
Applications
Workload Identities
Sign-In Activity
Audit Activity
Identity RiskYour goal is to identify:
Excessive Access
Weak Authentication
Standing Privilege
Stale Identities
Uncontrolled Guest Access
Over-Privileged Applications
Suspicious Sign-In ActivityLearning Objectives
Section titled “Learning Objectives”By completing this lab, you should be able to:
- Understand Microsoft Entra ID identity structure
- Review users
- Review groups
- Review account lifecycle
- Review authentication methods
- Understand MFA coverage
- Review Conditional Access
- Review administrative roles
- Identify standing privilege
- Understand privileged-access management
- Review guest identities
- Review application identities
- Understand enterprise applications
- Review workload identities
- Review sign-in activity
- Review audit activity
- Understand risky users and risky sign-ins conceptually
- Identify identity-security findings
- Prioritize remediation
- Build an identity-security assessment report
Identity Security Mental Model
Section titled “Identity Security Mental Model”Think:
IDENTITY ↓AUTHENTICATION ↓CONTEXT ↓ACCESS POLICY ↓AUTHORIZATION ↓RESOURCE ↓MONITORING ↓REVIEWFor privileged identities:
ELIGIBLE ↓VERIFY ↓ACTIVATE ↓USE ↓MONITOR ↓EXPIRELab Architecture
Section titled “Lab Architecture” USERS | v Microsoft Entra ID | +--------------+--------------+ | | | v v v Authentication Groups Roles | | | +--------------+--------------+ | v Access Policies | +------------+------------+ | | | v v v Microsoft 365 Azure SaaS Apps | v Security Logs | v Monitoring / ReviewPart 01 — Establish the Assessment Scope
Section titled “Part 01 — Establish the Assessment Scope”Before reviewing anything, define:
Tenant
Business Unit
User Population
Administrative Roles
Applications
Time Period
Data SensitivityDocument:
Tenant Name:
Assessment Owner:
Assessment Date:
Scope:
Excluded Systems:
Primary Contacts:Why Scope Matters
Section titled “Why Scope Matters”An identity assessment should not become:
Review Everythingwithout understanding:
Business Context
Authority
Critical Resources
Relevant IdentitiesPart 02 — Understand Identity Types
Section titled “Part 02 — Understand Identity Types”Microsoft environments may contain multiple identity types.
Examples:
Employees
Administrators
Guests
Service Accounts
Applications
Managed Identities
Automation IdentitiesYour first task is to understand:
WHO EXISTS?Identity Inventory Model
Section titled “Identity Inventory Model”For every identity capture:
Name
Type
Owner
Purpose
Enabled State
Privilege
Authentication
Last ReviewPart 03 — Review Users
Section titled “Part 03 — Review Users”Using the Microsoft Entra admin center or other approved administrative interface, review the user inventory.
Record:
Display Name
User Principal Name
User Type
Account State
Department
Manager
Created Date
Last Sign-In Where AvailableSecurity Questions
Section titled “Security Questions”For each user ask:
Is This User Still Active?
Does the Identity Have an Owner?
Is Their Access Appropriate?
Are They Privileged?
Is Their Authentication Strong Enough?Part 04 — Identify Enabled Accounts
Section titled “Part 04 — Identify Enabled Accounts”Separate:
Enabled Users
Disabled UsersAn enabled identity should have:
Business Need
Known Owner
Expected ActivityFinding Example
Section titled “Finding Example”Finding:Unnecessary Enabled User Account
Observation:An identity associated with a former orinactive business relationship remainsenabled.
Risk:Unused credentials may provide anunnecessary path to corporate resources.
Recommendation:Validate current ownership and disable theidentity if there is no active businessrequirement.Part 05 — Review Account Lifecycle
Section titled “Part 05 — Review Account Lifecycle”Identity lifecycle should follow:
JOIN ↓PROVISION ↓ASSIGN ACCESS ↓REVIEW ↓CHANGE ↓DEPROVISIONJoiner Review
Section titled “Joiner Review”For new users verify:
Manager Approval
Correct Department
Correct Groups
Minimum Access
Required ApplicationsMover Review
Section titled “Mover Review”When users change roles:
REMOVE OLD ACCESS ↓ADD NEW ACCESSDo not simply:
ADD NEW ACCESSwhile keeping everything old.
Leaver Review
Section titled “Leaver Review”For departing users consider:
Disable Access
Revoke Sessions
Remove Privilege
Transfer Required Data
Remove Group Membership
Complete OffboardingPart 06 — Review Dormant Accounts
Section titled “Part 06 — Review Dormant Accounts”Where appropriate, identify identities with no expected recent activity.
A dormant account may indicate:
Former Employee
Unused Contractor
Old Test Identity
Abandoned Administrative AccountImportant
Section titled “Important”Do not automatically remove an account purely because it has not signed in recently.
Validate:
Business Purpose
Service Dependency
Leave Status
Emergency FunctionPart 07 — Review Groups
Section titled “Part 07 — Review Groups”Groups can control access to:
Applications
Resources
Administrative Functions
Microsoft 365 ServicesReview:
Group Name
Group Type
Members
Owner
Purpose
Assigned ResourcesGroup Security Model
Section titled “Group Security Model”USERS ↓GROUP ↓RESOURCEPart 08 — Review Group Ownership
Section titled “Part 08 — Review Group Ownership”Ask:
Does Every Important Group Have an Owner?
Does the Owner Understand the Group's Purpose?
Is Membership Reviewed?Groups without clear ownership can become:
Access Accumulation PointsPart 09 — Review Group Membership
Section titled “Part 09 — Review Group Membership”Select sensitive groups and review all members.
Look for:
Unexpected Users
Guests
Former Employees
Administrative Accounts
Nested Access
Excessive MembershipFinding Example
Section titled “Finding Example”Finding:Excessive Security Group Membership
Observation:Users retain membership in a security groupafter their original business requirementhas ended.
Risk:The users may continue to access resourcesoutside their current responsibilities.
Recommendation:Perform an access review and removemembership that is no longer required.Part 10 — Authentication Review
Section titled “Part 10 — Authentication Review”Authentication answers:
Who Are You?Review which authentication methods are used across the organization.
These may include:
Passwords
Authenticator Applications
Security Keys
Certificates
Biometric Methods
Passwordless AuthenticationAuthentication Assessment Questions
Section titled “Authentication Assessment Questions”Ask:
Which Methods Are Allowed?
Which Methods Are Preferred?
Which Users Have Strong Authentication?
Which Privileged Users Have Weak Methods?
How Is Recovery Managed?Part 11 — Review MFA Coverage
Section titled “Part 11 — Review MFA Coverage”Identify whether MFA is required for:
Administrators
Remote Access
Sensitive Applications
High-Risk Users
General WorkforceSecurity Priority
Section titled “Security Priority”At minimum, privileged identities should receive particularly strong protection.
Think:
PRIVILEGE ↑AUTHENTICATION STRENGTH ↑Finding Example
Section titled “Finding Example”Finding:Privileged Identity Without Required MFA
Observation:An administrative account can authenticatewithout the organization's requiredmulti-factor authentication control.
Risk:Compromise of a single credential may leaddirectly to privileged access.
Recommendation:Require approved strong authentication forall privileged identities and monitorpolicy exceptions.Part 12 — Authentication Method Governance
Section titled “Part 12 — Authentication Method Governance”Review:
Registered Methods
Old Methods
Unused Methods
Recovery Methods
Helpdesk Reset ProceduresSecurity Lesson
Section titled “Security Lesson”Strong authentication can be undermined by:
Weak RecoveryExample:
Strong MFA ↓Weak Account Reset Process ↓Attacker Recovers AccountPart 13 — Passwordless Authentication
Section titled “Part 13 — Passwordless Authentication”Where your environment supports it, understand passwordless options conceptually.
The security objective is to reduce:
Reusable Password ExposureA high-level flow is:
USER ↓STRONG AUTHENTICATOR ↓CRYPTOGRAPHIC VERIFICATION ↓ACCESSPart 14 — Review Conditional Access
Section titled “Part 14 — Review Conditional Access”Conditional Access is a major identity-security control.
Review policies through approved administrative tools.
For each policy record:
Policy Name
Enabled State
Target Users
Target Applications
Conditions
Grant Controls
ExclusionsConditional Access Mental Model
Section titled “Conditional Access Mental Model”ACCESS REQUEST ↓WHO? ↓FROM WHAT DEVICE? ↓TO WHICH APP? ↓WHAT RISK? ↓APPLY POLICY ↓ALLOW / REQUIRE CONTROL / BLOCKPart 15 — Review Policy Coverage
Section titled “Part 15 — Review Policy Coverage”Ask:
Are Administrators Covered?
Are Sensitive Applications Covered?
Are Legacy Paths Addressed?
Are Risk-Based Controls Used Where Appropriate?
Are Exclusions Documented?Part 16 — Review Exclusions
Section titled “Part 16 — Review Exclusions”Policy exclusions deserve special attention.
An exclusion may be legitimate for:
Emergency Access
Service Dependency
Migration
Testingbut it should have:
Owner
Reason
Approval
Review DateFinding Example
Section titled “Finding Example”Finding:Uncontrolled Conditional Access Exclusion
Observation:A user or group is excluded from asecurity policy without a documentedbusiness reason or review date.
Risk:The excluded identity may bypass controlsrequired for the broader user population.
Recommendation:Validate the exclusion, document businessownership, and remove it if no longerrequired.Part 17 — Emergency Access Review
Section titled “Part 17 — Emergency Access Review”Identify emergency-access identities if the organization uses them.
Verify:
Known Owner
Strong Protection
Very Limited Use
Monitoring
Documented Procedure
Regular ValidationSecurity Principle
Section titled “Security Principle”Emergency access should not become:
Convenient Daily Administrator AccountPart 18 — Review Administrative Roles
Section titled “Part 18 — Review Administrative Roles”List administrative roles and members using the approved tenant-management interface.
Focus on:
Highly Privileged Roles
Security Roles
Identity Roles
Application Roles
Device RolesPrivileged Role Matrix
Section titled “Privileged Role Matrix”Create:
| Role | Member | Required | Permanent | Review |
|---|---|---|---|---|
| High Privilege Role | Admin-A | Yes | Review | Current |
| User Admin Role | Admin-B | Yes | Review | Current |
| Security Role | Analyst-A | Yes | Review | Current |
Part 19 — Apply Least Privilege
Section titled “Part 19 — Apply Least Privilege”Ask for every role:
Does the User Need This Role?
Could a Smaller Role Work?
Does Access Need to Be Permanent?
Can It Be Time-Limited?
When Was It Last Reviewed?Finding Example
Section titled “Finding Example”Finding:Excessive Administrative Role Assignment
Observation:An identity holds a broad administrativerole beyond the permissions required forits documented job function.
Risk:Identity compromise or misuse may provideunnecessary control over enterpriseresources.
Recommendation:Replace the broad role with the minimumadministrative role required for theapproved task.Part 20 — Standing Privilege
Section titled “Part 20 — Standing Privilege”Standing privilege means an identity is privileged continuously.
Example:
Admin User ↓Permanent High-Level RoleThe problem is:
Account Compromised ↓Privilege Immediately AvailableBetter Model
Section titled “Better Model”Where appropriate:
ELIGIBLE ↓ACTIVATE ↓JUSTIFY ↓TIME-LIMITED ACCESS ↓EXPIREPart 21 — Privileged Identity Management
Section titled “Part 21 — Privileged Identity Management”Review whether privileged access is controlled using mechanisms such as:
Eligibility
Activation
Approval
MFA
Time Limits
Audit
Access Reviewsdepending on available capabilities.
PIM Security Model
Section titled “PIM Security Model”USER ↓ELIGIBLE ROLE ↓ADMIN TASK ↓ACTIVATE ↓SECURITY REQUIREMENTS ↓TEMPORARY PRIVILEGE ↓EXPIREPart 22 — Review Access Reviews
Section titled “Part 22 — Review Access Reviews”Access reviews help answer:
Does This IdentityStill Need This Access?Review processes for:
Privileged Roles
Groups
Guests
Enterprise ApplicationsAccess Review Workflow
Section titled “Access Review Workflow”ACCESS EXISTS ↓OWNER REVIEWS ↓KEEP / CHANGE / REMOVE ↓DOCUMENT RESULTPart 23 — Review Guest Users
Section titled “Part 23 — Review Guest Users”Guest identities often support:
Partners
Consultants
Vendors
External Project TeamsReview all guest accounts.
Capture:
Guest Name
Sponsor
Resource
Created Date
Last Activity
Business ExpirationGuest Security Questions
Section titled “Guest Security Questions”Ask:
Who Invited Them?
Who Sponsors Them?
What Can They Access?
When Should Access End?
Is Their Access Reviewed?Part 24 — Identify Stale Guests
Section titled “Part 24 — Identify Stale Guests”Potential stale guest indicators include:
No Current Sponsor
Project Completed
No Expected Recent Activity
No Known Resource RequirementFinding Example
Section titled “Finding Example”Finding:Stale External Guest Identity
Observation:An external guest retains access after thedocumented project or business engagementhas ended.
Risk:External access may remain availablewithout current business authorization.
Recommendation:Validate sponsorship and remove guestaccess if the external relationship is nolonger active.Part 25 — Review Enterprise Applications
Section titled “Part 25 — Review Enterprise Applications”Enterprise applications may provide users access to SaaS or internal services.
For each application review:
Application Name
Owner
Business Purpose
User Assignment
Authentication Model
Permissions
Last ReviewEnterprise Application Model
Section titled “Enterprise Application Model”USER ↓Microsoft Entra ID ↓ENTERPRISE APPLICATION ↓BUSINESS RESOURCEPart 26 — Review Application Assignments
Section titled “Part 26 — Review Application Assignments”Ask:
Who Can Access the Application?
Is Assignment Required?
Are Groups Used?
Are Guests Included?
Does Everyone Need Access?Part 27 — Review Application Permissions
Section titled “Part 27 — Review Application Permissions”Applications may have significant access.
Review:
Requested Permissions
Approved Permissions
Administrative Consent
Business Requirement
Data AccessSecurity Principle
Section titled “Security Principle”Treat application permissions like user privilege.
Ask:
What Is the MinimumThis Application Needs?Part 28 — Review Application Owners
Section titled “Part 28 — Review Application Owners”Applications should have:
Technical Owner
Business Owner
Security ContactAn application with no known owner creates lifecycle risk.
Part 29 — Workload Identities
Section titled “Part 29 — Workload Identities”Cloud workloads may authenticate without human users.
Examples include:
Applications
Automation
Services
Managed Identities
Service PrincipalsWorkload Identity Mental Model
Section titled “Workload Identity Mental Model”APPLICATION ↓WORKLOAD IDENTITY ↓PERMISSION ↓RESOURCEPart 30 — Review Workload Identity Security
Section titled “Part 30 — Review Workload Identity Security”For every workload identity ask:
Who Owns It?
What Uses It?
What Can It Access?
How Does It Authenticate?
Are Credentials Long-Lived?
Is It Monitored?
Is It Still Needed?Part 31 — Review Secrets and Certificates
Section titled “Part 31 — Review Secrets and Certificates”Where applications use secrets or certificates, review:
Credential Type
Expiration
Owner
Rotation
Storage
Business DependencySecurity Principle
Section titled “Security Principle”Avoid:
Long-Lived Secret +High Privilege +No OwnerThis creates a high-risk identity.
Part 32 — Managed Identity Concept
Section titled “Part 32 — Managed Identity Concept”Where supported, managed identities can reduce manually managed secrets.
Conceptually:
WORKLOAD ↓MANAGED IDENTITY ↓RESOURCE PERMISSIONImportant
Section titled “Important”Managed identity reduces credential-management burden.
It does not remove the need for:
Least PrivilegePart 33 — Review Sign-In Logs
Section titled “Part 33 — Review Sign-In Logs”Sign-in logs help answer:
Who Signed In?
When?
From Where?
To Which Application?
From Which Device?
Was Authentication Successful?
Which Policies Applied?Sign-In Investigation Model
Section titled “Sign-In Investigation Model”USER ↓TIME ↓SOURCE ↓DEVICE ↓APPLICATION ↓AUTHENTICATION ↓POLICY ↓RESULTPart 34 — Establish Normal Sign-In Patterns
Section titled “Part 34 — Establish Normal Sign-In Patterns”Before declaring activity suspicious, understand:
Normal User Location
Normal Device
Normal Applications
Normal Working Hours
Normal Authentication MethodSecurity Lesson
Section titled “Security Lesson”An unfamiliar sign-in is:
Something to Investigatenot automatically:
Proof of CompromisePart 35 — Review Failed Sign-Ins
Section titled “Part 35 — Review Failed Sign-Ins”Look for patterns such as:
Repeated Failures
Multiple Locations
Multiple Applications
Unexpected Legacy Authentication
Privileged Account FailuresInvestigation Questions
Section titled “Investigation Questions”Was the User Traveling?
Was the Password Recently Changed?
Is an Old Device Using Stored Credentials?
Is This Normal Application Behavior?
Is There Evidence of Credential Guessing?Part 36 — Review Successful Sign-Ins
Section titled “Part 36 — Review Successful Sign-Ins”Successful access deserves attention too.
Particularly review:
Privileged Users
Unusual Locations
Unmanaged Devices
Unexpected Applications
High-Risk SessionsPart 37 — Review Authentication Details
Section titled “Part 37 — Review Authentication Details”Where available, assess:
Authentication Requirement
Authentication Method
MFA Result
Device State
Conditional Access ResultThis can help distinguish:
Password-Only Accessfrom:
Strongly Verified AccessPart 38 — Review Audit Logs
Section titled “Part 38 — Review Audit Logs”Audit activity helps answer:
Who Changed What?Review sensitive changes such as:
New User
New Administrator
Group Membership Change
Conditional Access Change
Application Change
Authentication Method ChangeAudit Investigation Model
Section titled “Audit Investigation Model”CHANGE ↓ACTOR ↓TIME ↓TARGET ↓OLD STATE ↓NEW STATEPart 39 — Privilege Change Investigation
Section titled “Part 39 — Privilege Change Investigation”Scenario:
User Added toHighly Privileged RoleInvestigate:
Who Added Them?
When?
Why?
Was It Approved?
Was It Permanent?
What Did the User Do Afterwards?Part 40 — New Authentication Method Scenario
Section titled “Part 40 — New Authentication Method Scenario”Scenario:
New Authentication MethodRegistered for AdministratorAsk:
Was the Administrator Expecting It?
Who Registered It?
Was Strong Verification Performed?
Were Other Suspicious Events Present?Part 41 — Identity Risk Concepts
Section titled “Part 41 — Identity Risk Concepts”Identity risk features can help highlight:
Potentially Compromised Users
Suspicious Sign-Ins
Unusual Authenticationdepending on environment and licensing.
Risk Assessment Principle
Section titled “Risk Assessment Principle”Risk signal:
≠Confirmed CompromiseUse risk as:
Investigation PriorityPart 42 — Risky Sign-In Review
Section titled “Part 42 — Risky Sign-In Review”For a risky sign-in review:
Identity
Source
Device
Application
Authentication
Conditional Access
Subsequent ActivityPart 43 — Risky User Review
Section titled “Part 43 — Risky User Review”A risky user may warrant broader investigation.
Review:
Recent Sign-Ins
Password Events
Authentication Methods
Privileged Roles
Applications
Mailbox Activity
Device Activitywhere authorized and relevant.
Part 44 — Identity Compromise Scenario
Section titled “Part 44 — Identity Compromise Scenario”Scenario:
Phishing ↓Password Stolen ↓Suspicious Sign-In ↓Cloud Application AccessYour investigation should follow:
IDENTITY ↓SIGN-IN ↓DEVICE ↓AUTHENTICATION ↓SESSION ↓APPLICATION ↓ACTIVITYPart 45 — Identity Incident Response
Section titled “Part 45 — Identity Incident Response”If compromise is confirmed, an approved response process may involve:
Restrict Account
Revoke Sessions
Reset Credentials
Review Authentication Methods
Remove Unauthorized Privilege
Review Application Access
Review Mailbox / Data Activity
Increase MonitoringImportant
Section titled “Important”Identity response should not stop at:
Password Resetbecause active sessions, application access, or changed authentication methods may still matter.
Part 46 — Review Session Risk
Section titled “Part 46 — Review Session Risk”Cloud access often relies on sessions after authentication.
Therefore:
Credential Resetand:
Session Revocationare separate security considerations.
Part 47 — Conditional Access Scenario
Section titled “Part 47 — Conditional Access Scenario”Scenario:
Privileged UserAttempts Accessfrom Unmanaged DeviceDesign goal:
IDENTITY +DEVICE +APPLICATION +RISK ↓ACCESS DECISIONDepending on policy:
Require Strong Controlor:
Restrict AccessPart 48 — Guest Scenario
Section titled “Part 48 — Guest Scenario”Scenario:
Consultant Project Ended45 Days Ago
Guest Access RemainsRecommended workflow:
Confirm Project Status ↓Validate Sponsor ↓Review Current Access ↓Remove Unnecessary Access ↓Document ClosurePart 49 — Excessive Admin Scenario
Section titled “Part 49 — Excessive Admin Scenario”Scenario:
Helpdesk UserHas Broad Tenant-Wide Admin RoleAsk:
Which Actual TasksDoes the User Perform?Then map:
TASK ↓MINIMUM ROLEPart 50 — Application Permission Scenario
Section titled “Part 50 — Application Permission Scenario”Scenario:
Reporting ApplicationOnly Reads Basic Databut possesses:
Broad Administrative PermissionReview:
Required Function
Current Permission
Minimum Permission
Business Owner
Impact of ReductionPart 51 — Build an Identity Inventory
Section titled “Part 51 — Build an Identity Inventory”Create:
| Identity | Type | Enabled | Privileged | Owner | Status |
|---|---|---|---|---|---|
| Alice | Employee | Yes | No | Manager-A | Active |
| Admin-Bob | Admin | Yes | Yes | IT | Review |
| Vendor-1 | Guest | Yes | No | Project-A | Review |
| App-01 | Workload | Yes | Review | App Team | Active |
Part 52 — Build an MFA Matrix
Section titled “Part 52 — Build an MFA Matrix”| Identity Group | MFA Required | Current State | Finding |
|---|---|---|---|
| Administrators | Yes | Review | |
| Employees | Yes/Policy | Review | |
| Guests | Policy Based | Review | |
| Emergency Access | Special Design | Review |
Part 53 — Build a Conditional Access Matrix
Section titled “Part 53 — Build a Conditional Access Matrix”| Policy | Users | Applications | Control | Exclusions |
|---|---|---|---|---|
| Admin Security | Admins | Admin Apps | Strong Authentication | Review |
| Sensitive Apps | Selected Users | Critical Apps | Compliant Device | Review |
| Risk Policy | Scoped Users | Cloud Apps | Risk Control | Review |
Part 54 — Build a Privileged Role Matrix
Section titled “Part 54 — Build a Privileged Role Matrix”| Identity | Role | Required | Permanent | Owner |
|---|---|---|---|---|
| Admin-A | High Privilege | Yes | Review | IT |
| Admin-B | User Admin | Yes | Review | IAM |
| User-C | High Privilege | No | Yes | Review |
Part 55 — Build a Guest Access Matrix
Section titled “Part 55 — Build a Guest Access Matrix”| Guest | Sponsor | Resource | Last Review | Action |
|---|---|---|---|---|
| Vendor-A | Manager-A | Project Site | Current | Keep |
| Vendor-B | Unknown | Legacy App | Old | Review |
Part 56 — Build an Application Identity Matrix
Section titled “Part 56 — Build an Application Identity Matrix”| Application | Owner | Identity Type | Privilege | Credential |
|---|---|---|---|---|
| App-A | App Team | Service Principal | Limited | Certificate |
| App-B | Unknown | Service Principal | Broad | Secret |
| Workload-C | Cloud Team | Managed Identity | Limited | Managed |
Part 57 — Identity Baseline
Section titled “Part 57 — Identity Baseline”Define expected controls:
| Control | Expected State |
|---|---|
| Privileged MFA | Required |
| Dormant Users | Disabled/Reviewed |
| Privileged Roles | Least Privilege |
| Guest Access | Sponsored and Reviewed |
| Conditional Access | Documented |
| Application Access | Least Privilege |
| Sign-In Logging | Enabled |
| Audit Logging | Enabled |
Part 58 — Compare Baseline to Reality
Section titled “Part 58 — Compare Baseline to Reality”Example:
| Control | Expected | Actual | Result |
|---|---|---|---|
| Admin MFA | Required | Missing for 1 account | Fail |
| Guest Review | Current | Several stale | Fail |
| Privilege | Minimum | Excessive assignment | Fail |
| Sign-In Logs | Available | Available | Pass |
| App Ownership | Required | Unknown owner | Fail |
Part 59 — Prioritize Identity Risk
Section titled “Part 59 — Prioritize Identity Risk”Consider:
Privilege
Authentication Strength
Exposure
Resource Sensitivity
Activity
Credential Type
Business ImpactHigh-Risk Combination
Section titled “High-Risk Combination”Privileged Account +Weak Authentication +No Conditional Access +No Monitoringshould receive higher priority.
Part 60 — Finding: Weak Privileged Authentication
Section titled “Part 60 — Finding: Weak Privileged Authentication”Finding:Weak Authentication on Privileged Identity
Observation:A privileged account does not meet theorganization's required strongauthentication standard.
Risk:Credential compromise may lead directly toadministrative access.
Recommendation:Apply the approved privilegedauthentication standard and validatepolicy enforcement.Part 61 — Finding: Standing Privilege
Section titled “Part 61 — Finding: Standing Privilege”Finding:Unnecessary Standing Administrative Access
Observation:A user retains permanent privileged accessdespite performing administrative tasksonly occasionally.
Risk:The privileged permissions remaincontinuously available if the identity iscompromised.
Recommendation:Use eligible or time-limited administrativeaccess where appropriate and reviewprivileged assignments regularly.Part 62 — Finding: Stale Guest Account
Section titled “Part 62 — Finding: Stale Guest Account”Finding:Stale Guest Access
Observation:An external identity remains enabled afterthe associated business engagement hasended.
Risk:External access may remain availablewithout current authorization.
Recommendation:Remove unnecessary guest access andestablish recurring sponsor-based reviews.Part 63 — Finding: Conditional Access Gap
Section titled “Part 63 — Finding: Conditional Access Gap”Finding:Sensitive Application Not Protected byRequired Access Policy
Observation:A sensitive enterprise application can beaccessed without the organization'sexpected device or authentication controls.
Risk:Compromised credentials may provide accesswithout additional contextual validation.
Recommendation:Apply an approved Conditional Access policyaligned with the application's risk andbusiness requirements.Part 64 — Finding: Excessive Application Permission
Section titled “Part 64 — Finding: Excessive Application Permission”Finding:Over-Privileged Application Identity
Observation:An application identity possessespermissions beyond those required for itsdocumented function.
Risk:Compromise of the workload identity couldprovide unnecessary access to enterprisedata or services.
Recommendation:Reduce permissions to the minimum requiredscope and implement recurring applicationaccess reviews.Part 65 — Finding: Unknown Application Owner
Section titled “Part 65 — Finding: Unknown Application Owner”Finding:Application Identity Without Defined Owner
Observation:An enterprise application or workloadidentity has no documented accountableowner.
Risk:Security permissions, credentials, andbusiness need may not be reviewedthroughout the application's lifecycle.
Recommendation:Assign technical and business ownership andestablish periodic identity and permissionreview.Part 66 — Identity Security Report
Section titled “Part 66 — Identity Security Report”Your final report should include the following.
1. Executive Summary
Section titled “1. Executive Summary”Document:
Tenant Assessed
Overall Identity Posture
Critical Identity Risks
Highest-Priority Recommendations2. Identity Population
Section titled “2. Identity Population”Include:
Employees
Administrators
Guests
Workload Identities
Disabled Accounts3. Authentication
Section titled “3. Authentication”Document:
MFA Coverage
Authentication Methods
Passwordless Adoption
Recovery Controls
Observed Weaknesses4. Conditional Access
Section titled “4. Conditional Access”Document:
Policies
Scope
Target Applications
Controls
Exclusions
Observed Gaps5. Privileged Access
Section titled “5. Privileged Access”Document:
Administrative Roles
Permanent Privilege
Eligible Privilege
Access Reviews
Emergency Access6. Guest Access
Section titled “6. Guest Access”Document:
Guest Population
Sponsors
Stale Guests
Application / Resource Access
Review Process7. Applications
Section titled “7. Applications”Document:
Enterprise Applications
Owners
Permissions
Assignments
Workload Identities
Credentials8. Monitoring
Section titled “8. Monitoring”Document:
Sign-In Logs
Failed Authentication
Risk Events
Audit Logs
Privileged Changes9. Findings
Section titled “9. Findings”For each finding include:
ID
Title
Severity
Observation
Evidence
Risk
Recommendation
Owner
Target DatePart 67 — Identity Security Checklist
Section titled “Part 67 — Identity Security Checklist”- Defined tenant
- Defined user population
- Identified critical applications
- Identified privileged identities
- Defined assessment period
- Reviewed enabled users
- Reviewed disabled users
- Reviewed dormant users
- Reviewed account ownership
- Reviewed lifecycle
Groups
Section titled “Groups”- Reviewed important groups
- Reviewed group owners
- Reviewed group membership
- Identified privilege creep
- Reviewed stale access
Authentication
Section titled “Authentication”- Reviewed authentication methods
- Reviewed MFA
- Reviewed privileged authentication
- Reviewed account recovery
- Understood passwordless concepts
Conditional Access
Section titled “Conditional Access”- Reviewed policies
- Reviewed user scope
- Reviewed application scope
- Reviewed conditions
- Reviewed exclusions
- Reviewed emergency access
Privileged Access
Section titled “Privileged Access”- Reviewed admin roles
- Identified standing privilege
- Reviewed least privilege
- Reviewed privileged lifecycle
- Reviewed access reviews
Guests
Section titled “Guests”- Reviewed guest inventory
- Identified sponsors
- Identified stale guests
- Reviewed access
- Reviewed expiration
Applications
Section titled “Applications”- Reviewed enterprise applications
- Reviewed owners
- Reviewed assignments
- Reviewed permissions
- Reviewed workload identities
- Reviewed credentials
Monitoring
Section titled “Monitoring”- Reviewed sign-in logs
- Reviewed failed sign-ins
- Reviewed successful sign-ins
- Reviewed audit activity
- Reviewed privileged changes
- Understood identity risk
Reporting
Section titled “Reporting”- Created identity inventory
- Created MFA matrix
- Created Conditional Access matrix
- Created privileged-role matrix
- Created guest-access matrix
- Created workload-identity matrix
- Documented findings
- Produced final report
Common Identity Security Mistakes
Section titled “Common Identity Security Mistakes”Avoid:
Relying Only on Passwords
Ignoring Guest Accounts
Giving Broad Administrator Roles
Leaving Privilege Permanent
Creating Undocumented Policy Exclusions
Ignoring Workload Identities
Using Long-Lived Application Secrets
Ignoring Sign-In Logs
Ignoring Authentication Method Changes
Keeping Dormant Accounts Enabled
Assuming MFA Solves Every Identity ThreatIdentity Security Maturity Model
Section titled “Identity Security Maturity Model”Level 1 — Basic
Section titled “Level 1 — Basic”Users
Passwords
Groups
Basic AdministrationLevel 2 — Controlled
Section titled “Level 2 — Controlled”MFA
Least Privilege
Conditional Access
Guest GovernanceLevel 3 — Managed
Section titled “Level 3 — Managed”Privileged Access Management
Access Reviews
Application Governance
Risk Detection
Central MonitoringLevel 4 — Zero Trust Identity
Section titled “Level 4 — Zero Trust Identity”Strong Authentication
Device Context
Risk Context
Time-Limited Privilege
Continuous Review
Workload Identity GovernanceCareer Connection
Section titled “Career Connection”This lab directly supports:
Identity Administrator
IAM Engineer
Identity Security Engineer
Microsoft Security Engineer
SOC Analyst
Cloud Security Engineer
Security Consultant
Security ArchitectInterview Scenario 01
Section titled “Interview Scenario 01”Why is identity considered a modern security perimeter?
Because enterprise resources can be accessed from many locations and devices, making identity and access context more important than simply trusting the corporate network.
Interview Scenario 02
Section titled “Interview Scenario 02”What is the difference between MFA and Conditional Access?
MFA=Authentication ControlConditional Access=Context-Based Access Decisionthat may require MFA.
Interview Scenario 03
Section titled “Interview Scenario 03”Why is permanent privilege risky?
Because the privilege is continuously available if the identity becomes compromised.
Interview Scenario 04
Section titled “Interview Scenario 04”Why are guest accounts important in an identity assessment?
Because external identities may retain access beyond the original business relationship if sponsorship and lifecycle controls are weak.
Interview Scenario 05
Section titled “Interview Scenario 05”Why must application identities follow least privilege?
Because compromised workload identities can access resources using their assigned permissions just like compromised human identities.
40 Identity Security Interview Questions
Section titled “40 Identity Security Interview Questions”- What is Microsoft Entra ID?
- What is an identity tenant?
- What is identity security?
- Why is identity considered a security perimeter?
- What is authentication?
- What is authorization?
- What is MFA?
- Why is MFA important?
- Is MFA enough to prevent all identity attacks?
- What is passwordless authentication?
- What is Conditional Access?
- Which signals can Conditional Access evaluate?
- What is least privilege?
- What is RBAC?
- What is a privileged identity?
- What is standing privilege?
- What is just-in-time access?
- What is Privileged Identity Management?
- Why are access reviews important?
- What is privilege creep?
- What is a guest identity?
- Why should guest accounts have sponsors?
- What is an enterprise application?
- What is application assignment?
- What is a service principal?
- What is a workload identity?
- What is a managed identity?
- Why are long-lived application secrets risky?
- What should be reviewed in sign-in logs?
- What is a failed sign-in?
- What is a risky sign-in?
- What is user risk?
- What information appears in audit activity?
- Why should authentication-method changes be monitored?
- What is an emergency-access account?
- How would you review administrator access?
- How would you investigate a suspicious sign-in?
- How would you review guest access?
- How would you assess an application identity?
- How would you perform a Microsoft identity-security assessment?
Final Identity Security Mental Model
Section titled “Final Identity Security Mental Model”When assessing identity, ask:
WHO EXISTS? ↓WHO CAN AUTHENTICATE? ↓HOW STRONG IS AUTHENTICATION? ↓WHICH GROUPS? ↓WHICH ROLES? ↓WHO IS PRIVILEGED? ↓WHICH POLICIES APPLY? ↓WHICH APPLICATIONS HAVE ACCESS? ↓WHICH GUESTS EXIST? ↓WHAT DO THE LOGS SHOW? ↓IS ACCESS STILL REQUIRED?Mission Accomplished
Section titled “Mission Accomplished”You have now assessed Microsoft identity security across:
Users
Groups
Authentication
MFA
Conditional Access
Administrative Roles
Privileged Access
Guest Identities
Enterprise Applications
Workload Identities
Sign-In Activity
Audit Activity
Identity RiskThe key lesson is:
Identity SecurityIs Not Just AuthenticationIt is the continuous control of:
WHO +HOW +WHAT +WHEN +FROM WHERE +WITH WHICH PRIVILEGEWhat’s Next?
Section titled “What’s Next?”➡️ Lab 04 — Microsoft 365 Security
In the next lab, you will move from identity security into the wider Microsoft 365 tenant.
You will assess:
Microsoft 365 Tenant ↓Administrative Access ↓Exchange Online ↓Email Security ↓Teams ↓SharePoint ↓OneDrive ↓External Sharing ↓Data Protection ↓Audit ↓Security Alerts ↓Tenant Security FindingsYour Microsoft lab sequence continues:
Lab 01 — Active Directory ↓Lab 02 — Endpoint Security ↓Lab 03 — Identity Security ↓Lab 04 — Microsoft 365 Security ↓Lab 05 — Windows Security ↓Runbook 01 — Active Directory Assessment ↓Runbook 02 — Microsoft 365 Security Review ↓Runbook 03 — Windows Security Assessment