Generate-M365LicenseAssignmentReport
2.5
This script connects to Microsoft 365 services and collects detailed information about
license assignments across the tenant. It produces a formatted report showing which
users have been assigned which licenses, including license details and assignment status.
The report can be exported to various formats for analysis and compliance purposes.
Installation Options
Owners
Package Details
Author(s)
- Roy Klooster
Tags
RKSolutions Microsoft365 MicrosoftEntraID MicrosoftGraph
Functions
New-HTMLReport Install-Requirements Test-MgGraphConnection Invoke-GraphRequestWithPaging Get-LicenseIdentifiers
Dependencies
This script has no dependencies.
Release Notes
Initial release - Comprehensive Microsoft 365 license assignment report with HTML output
v1.0 -2.3 - Test phase
v2.4 - Added function Test-MgGraphConnection to check for existing connections with the proper permissions
V2.5 - removed the need of "Microsoft.Graph.Beta.Identity.DirectoryManagement","Microsoft.Graph.Beta.Users", "Microsoft.Graph.Beta.Groups".
v2.5 - Powershell 7 as requirements have been fixed + faster
FileList
- Generate-M365LicenseAssignmentReport.nuspec
- Generate-M365LicenseAssignmentReport.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
2.5 (current version) | 240 | 4/15/2025 |
2.4 | 852 | 4/11/2025 |