Skip to content

aad license list

Lists commercial subscriptions that an organization has acquired

Usage

m365 aad license list [options]

Options

-h, --help [help]
Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are options, examples, remarks, response, full. Default is full.
--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
Output type. json,text,csv,md. Default json
--verbose
Runs command with verbose logging
--debug
Runs command with debug logging

Examples

List all licenses within the tenant

m365 aad license list

Response

[
  {
    "capabilityStatus": "Enabled",
    "consumedUnits": 1,
    "id": "48a80680-7326-48cd-9935-b556b81d3a4e_c7df2760-2c81-4ef7-b578-5b5392b571df",
    "skuId": "c7df2760-2c81-4ef7-b578-5b5392b571df",
    "skuPartNumber": "ENTERPRISEPREMIUM",
    "appliesTo": "User",
    "prepaidUnits": {
      "enabled": 10000,
      "suspended": 0,
      "warning": 0
    },
    "servicePlans": [
        {
            "servicePlanId": "8c098270-9dd4-4350-9b30-ba4703f3b36b",
            "servicePlanName": "ADALLOM_S_O365",
            "provisioningStatus": "Success",
            "appliesTo": "User"
        }
    ]
  }
]
id                                                                         skuId                                 skuPartNumber
-------------------------------------------------------------------------  ------------------------------------  ----------------------
48a80680-7326-48cd-9935-b556b81d3a4e_c7df2760-2c81-4ef7-b578-5b5392b571df  c7df2760-2c81-4ef7-b578-5b5392b571df  ENTERPRISEPREMIUM
id,skuId,skuPartNumber
48a80680-7326-48cd-9935-b556b81d3a4e_c7df2760-2c81-4ef7-b578-5b5392b571df,c7df2760-2c81-4ef7-b578-5b5392b571df,ENTERPRISEPREMIUM
# aad license list

Date: 14/2/2023

## 48a80680-7326-48cd-9935-b556b81d3a4e_c7df2760-2c81-4ef7-b578-5b5392b571df

Property | Value
---------|-------
capabilityStatus | Enabled
consumedUnits | 1
id | 48a80680-7326-48cd-9935-b556b81d3a4e_c7df2760-2c81-4ef7-b578-5b5392b571df
skuId | c7df2760-2c81-4ef7-b578-5b5392b571df
skuPartNumber | ENTERPRISEPREMIUM
appliesTo | User
prepaidUnits | {"enabled":10000,"suspended":0,"warning":0}
servicePlans | [{"servicePlanId":"8c098270-9dd4-4350-9b30-ba4703f3b36b","servicePlanName": "ADALLOM_S_O365","provisioningStatus": "Success","appliesTo": "User"}]