M365IdentityPosture

1.0.0

Comprehensive security posture assessment and identity governance reporting framework for Microsoft 365 and Azure environments.

Current Release (v1.0): Authentication Context Inventory
- Complete discovery and analysis of authentication context usage across all Microsoft 365 services
- Purview sensitivity labels with embedded authentication requirements
- Condit
Comprehensive security posture assessment and identity governance reporting framework for Microsoft 365 and Azure environments.

Current Release (v1.0): Authentication Context Inventory
- Complete discovery and analysis of authentication context usage across all Microsoft 365 services
- Purview sensitivity labels with embedded authentication requirements
- Conditional Access policies referencing authentication contexts
- Privileged Identity Management (PIM) policies for directory roles, groups, and Azure resources
- SharePoint sites with direct or inherited authentication context assignments
- Microsoft 365 Groups and Teams with context-enforcing sensitivity labels
- Protected actions (RBAC) requiring authentication contexts
- Cross-service correlation with rich HTML reporting and metrics dashboard

Designed as an extensible framework for future identity and security analytics including Access Package reporting,
Role Assignment auditing, Conditional Access gap analysis, and Identity Protection insights.
Show more

Minimum PowerShell version

7.0

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name M365IdentityPosture

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name M365IdentityPosture

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2025 Sebastian Flæng Markdanner. All rights reserved.

Package Details

Author(s)

  • Sebastian Flæng Markdanner

Tags

Microsoft365 M365 Reporting AuthenticationContext ConditionalAccess MicrosoftGraph Azure EntraID AzureAD PIM PrivilegedIdentityManagement Purview SensitivityLabels SharePoint SharePointOnline SPO Teams MicrosoftTeams Security Compliance Governance IdentityGovernance ZeroTrust RBAC

Functions

Invoke-AuthContextInventoryReport

PSEditions

Core

Dependencies

This module has no dependencies.

Release Notes

## Version 1.0.0 - 2025-10-21
Initial release of M365IdentityPosture module

### Features
- Authentication Context inventory across all Microsoft 365 services
- Purview sensitivity label analysis with authentication context detection
- Conditional Access policy mapping and analysis
- Privileged Identity Management (PIM) comprehensive coverage:
 - Directory role management policies
 - Group-based PIM with role assignments
 - Azure resource PIM (optional)
- SharePoint Online direct and inherited context detection
- Microsoft 365 Groups/Teams label inheritance tracking
- Protected actions (RBAC) authentication requirements
- Rich HTML reporting with runtime theme switching
- Cross-service correlation and metrics dashboard

### Technical Highlights
- PowerShell 7+ cross-platform support
- Dynamic module loading for optimal performance
- Comprehensive error handling and logging
- Memory-efficient processing for large tenants
- Modular architecture for future expansion

### Requirements
- PowerShell 7.0 or later
- Microsoft Graph and service-specific modules (auto-loaded)
- Global Reader or equivalent permissions

### Known Limitations
- Read-only operations (no tenant modifications)
- Azure PIM requires subscription-level access
- Large tenant processing may take extended time

For complete documentation, visit:
https://github.com/Noble-Effeciency13/M365IdentityPosture

FileList

Version History

Version Downloads Last updated
1.0.0 (current version) 6 10/21/2025