Get-M365LicensingReport

1.0.0

Connects to Microsoft Graph, downloads Microsoft's product-name mapping CSV,
and returns (and optionally exports) license inventory: purchased, consumed,
available, and percent used — with friendly product names.

Requires PowerShell 7.2 or later (Windows, macOS, or Linux).

Install from the PowerShell Gallery (after publish):
 Install-Script -Name Get-M365LicensingR
Connects to Microsoft Graph, downloads Microsoft's product-name mapping CSV,
and returns (and optionally exports) license inventory: purchased, consumed,
available, and percent used — with friendly product names.

Requires PowerShell 7.2 or later (Windows, macOS, or Linux).

Install from the PowerShell Gallery (after publish):
 Install-Script -Name Get-M365LicensingReport -Scope CurrentUser

Show more

Installation Options

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

Install-Script -Name Get-M365LicensingReport

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

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

Package Details

Author(s)

  • cloudguyus

Tags

Microsoft365 Entra Graph Licensing M365 Sku

Functions

Connect-LicensingReportGraph Get-M365LicensingTable Get-M365TenantSkus Get-M365LicensingUsage Export-LicensingReport

Dependencies

This script has no dependencies.

Release Notes

Initial release as Get-M365LicensingReport. Graph-connected M365/Entra licensing inventory with optional CSV export.

FileList

Version History

Version Downloads Last updated
1.0.0 (current version) 5 7/30/2026