Skip to main content

entra license list

Lists commercial subscriptions that an organization has acquired

Usage

m365 entra license list [options]

Alias

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 options.

--query [query]

JMESPath query string. See http://jmespath.org/ for more information and examples.

-o, --output [output]

Output type. json, text, csv, md, none. Default json.

--verbose

Runs command with verbose logging.

--debug

Runs command with debug logging.

Examples

List all licenses within the tenant.

m365 entra license list

Response

[
{
"accountName": "contoso",
"accountId": "a9b44919-790b-4843-9b45-1923b8c3d61f",
"appliesTo": "User",
"capabilityStatus": "Enabled",
"consumedUnits": 1,
"id": "48a80680-7326-48cd-9935-b556b81d3a4e_c7df2760-2c81-4ef7-b578-5b5392b571df",
"skuId": "c7df2760-2c81-4ef7-b578-5b5392b571df",
"skuPartNumber": "ENTERPRISEPREMIUM",
"subscriptionIds": [
"b079cd48-7a9e-4d8b-af82-60f3adefe53b"
],
"prepaidUnits": {
"enabled": 10000,
"suspended": 0,
"warning": 0,
"lockedOut": 0
},
"servicePlans": [
{
"servicePlanId": "8c098270-9dd4-4350-9b30-ba4703f3b36b",
"servicePlanName": "ADALLOM_S_O365",
"provisioningStatus": "Success",
"appliesTo": "User"
}
]
}
]
CTRL + M