Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 681 Bytes

Get-CIPPLicenses.md

File metadata and controls

20 lines (17 loc) · 681 Bytes

Get-CIPPLicenses

SYNOPSIS

Retrieves licenses for a specific customer tenant.

DESCRIPTION

The Get-CIPPLicenses function retrieves licenses for a specific customer tenant by making a REST API call to the "/api/ListLicenses" endpoint.

PARAMETERS

-CustomerTenantID

Foo Foo
The ID of the customer tenant for which licenses need to be retrieved.

EXAMPLE 1

PS > Get-CIPPLicenses -CustomerTenantID "7ced1621-b8f7-4231-868c-bc6b1a2f1778"

EXAMPLE 2

PS > Get-CIPPLicenses -CustomerTenantID "contoso.onmicrosoft.com"