Before assigning licenses to users, it is good practice to check how many licenses are available unless you remember this information off the top of your head.
To check available licenses, we need to use following cmdlet:
This cmdlet will return the list of SKUs your organization/company owns. As you may have noticed, there is no required parameter for this cmdlet. An optional parameter is TenantId.
[-TenantId <Guid>] specifies the unique ID of the tenant.
By default, if the TenantId is not specified, the cmdlet will use the ID of the current user. TenantId is applicable for partner users (users who are registered partners and manage multiple tenants).
This cmdlet returns the ...