--- title: "List Available Microsoft 365 License SKUs and Usage in a Tenant" slug: "dex-wf-list-m365-license-skus" updated: 2026-11-30T16:24:57Z published: 2026-11-30T16:24:57Z canonical: "documentation.sysaid.com/dex-wf-list-m365-license-skus" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.sysaid.com/llms.txt > Use this file to discover all available pages before exploring further. # List Available Microsoft 365 License SKUs and Usage in a Tenant Enumerate subscribed SKUs, consumed units, and available seats across your tenant. **Complexity:** Beginner. **Impact:** read-only + audit + licensing + cost-optimization. ## Why use this workflow Understanding what licenses your tenant owns: and how many are actually in use: is the foundation of sound license management. Microsoft 365 tenants accumulate SKUs over time: trials, add-ons, E3/E5 bundles, Power BI, Teams Phone, Defender, and more. Without periodic inventory, it is easy to over-purchase, miss expiring trials, or leave unassigned seats sitting idle. Run this workflow when you need to: - Audit license utilization before a renewal or true-up conversation with your reseller. - Find unused seats to reclaim before buying more. - Map friendly product names to the cryptic SKU part numbers (e.g. `SPE_E3` = Microsoft 365 E3). - Produce a quick snapshot report for finance, compliance, or leadership. ## Expected outcomes - A complete list of every SKU your tenant is subscribed to. - For each SKU: the total `prepaidUnits` (purchased), `consumedUnits` (assigned to users), and calculated available seats. - The `skuId` (GUID) and `skuPartNumber` needed for downstream automation (assignment, group-based licensing, reporting). - An optional CSV export suitable for sharing with finance or procurement. ## Risks and considerations This is a read-only operation, but keep the following in mind: - **Permissions:** The Graph endpoint requires `Organization.Read.All`. Attempting the call without consent returns *HTTP 403: Insufficient privileges*. - **Part numbers are not friendly names.** `SPE_E3`, `ENTERPRISEPACK`, and `STANDARDPACK` are examples: refer to Microsoft's [product names and service plan identifiers](https://learn.microsoft.com/azure/active-directory/enterprise-users/licensing-service-plan-reference) reference for translation. - **Suspended vs. warning units:** `prepaidUnits` includes `enabled`, `suspended`, and `warning` counts. Only `enabled` seats are assignable. Do not treat the total as available capacity. - **Do not share raw output externally.** SKU IDs are not secrets, but tenant license posture can be considered sensitive commercial information. ## Required permissions | Permission | Why it's needed | | --- | --- | | Organization.Read.All | Required to read tenant-wide subscription and SKU information via the subscribedSkus endpoint. | | Directory.Read.All | Alternative scope that also grants read access to subscribedSkus; useful if Organization.Read.All is not available in your consent policy. | ## Ask Dex Paste the prompt into a Dex conversation. ### Prompt for IT admins ``` List all Microsoft 365 license SKUs in our tenant along with purchased, assigned, and available seat counts. Highlight any SKUs with fewer than {threshold} seats remaining or more than {idle_threshold} unused. ``` ## Manual steps (admin center) 1. Sign in to [https://admin.microsoft.com](https://admin.microsoft.com) as a Global Reader, License Administrator, or Global Administrator. 2. In the left navigation, expand **Billing** > **Licenses**. 3. The **Licenses** page displays every SKU your tenant owns with three columns: - *Assigned*: seats in use (equivalent to `consumedUnits`). - *Available*: unassigned seats. - *Total*: purchased seats (equivalent to `prepaidUnits.enabled`). 4. Click any SKU name to drill into individual users assigned that license. 5. Use **Export** (top-right) to download the full list as CSV. ### Alternative: Microsoft Entra admin center 1. Go to [https://entra.microsoft.com](https://entra.microsoft.com). 2. Go to **Identity** > **Billing** > **Licenses** > **All products**. 3. The same SKU inventory is shown, with the additional ability to view group-based licensing assignments. ## Microsoft Graph API The `subscribedSkus` endpoint returns every SKU the tenant has purchased or been assigned. ### Request ``` GET https://graph.microsoft.com/v1.0/subscribedSkus Authorization: Bearer ``` ### Example response (truncated) ``` {  "value": [    {      "id": "_c7df2760-2c81-4ef7-b578-5b5392b571df",      "skuId": "c7df2760-2c81-4ef7-b578-5b5392b571df",      "skuPartNumber": "ENTERPRISEPREMIUM",      "appliesTo": "User",      "capabilityStatus": "Enabled",      "consumedUnits": 42,      "prepaidUnits": {        "enabled": 50,        "suspended": 0,        "warning": 0      },      "servicePlans": [ ... ]    }  ] } ``` ### Key fields - `skuId`: GUID used to assign/remove this license. - `skuPartNumber`: human-ish identifier (e.g. `ENTERPRISEPREMIUM` = Office 365 E5, `SPE_E5` = Microsoft 365 E5). - `consumedUnits`: seats currently assigned. - `prepaidUnits.enabled`: seats available for assignment. *Available = enabled - consumedUnits*. - `servicePlans[]`: individual service plans (Exchange, Teams, SPO, etc.) bundled into the SKU. ### Permission errors If you receive `HTTP 403 - Insufficient privileges to complete the operation`, the calling identity has not consented to `Organization.Read.All`. Grant admin consent in **Entra** > **App registrations** > **API permissions**, then retry. ## PowerShell The `Microsoft.Graph` module provides `Get-MgSubscribedSku`, a thin wrapper over the Graph endpoint. ### Prerequisites ``` # One-time install Install-Module Microsoft.Graph -Scope CurrentUser # Connect with the required scope Connect-MgGraph -Scopes "Organization.Read.All" ``` ### Basic query ``` Get-MgSubscribedSku |  Select-Object SkuPartNumber, SkuId,    @{N='Purchased';E={$_.PrepaidUnits.Enabled}},    ConsumedUnits,    @{N='Available';E={$_.PrepaidUnits.Enabled - $_.ConsumedUnits}} |  Sort-Object SkuPartNumber |  Format-Table -AutoSize ``` ### Export to CSV ``` Get-MgSubscribedSku |  Select-Object SkuPartNumber, SkuId,    @{N='Purchased';E={$_.PrepaidUnits.Enabled}},    ConsumedUnits,    @{N='Available';E={$_.PrepaidUnits.Enabled - $_.ConsumedUnits}} |  Export-Csv -Path .\tenant-licenses.csv -NoTypeInformation ```