How to change the license for existing users

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:

Get-MSolAccountSku

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

Get PowerShell for Office 365 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.