Forum Discussion
Simon Shaw
May 24, 2021Copper Contributor
License prefix format
I am trying to upgrade from the MSOnline powershell module to the MicrosoftTeams module. Previously, the Get-MsolAccountSku returned the AccountSkuId is in the format tenantname:licensename e.g. ...
teams1535
Microsoft
May 26, 2021Hi Simon Shaw,
Get-AzureADSubscribedSku will provide all sku details.
if you want per user basis.
$a = Get-MsolUser -UserPrincipalName $UPN | select -ExpandProperty licenses
$b = $a.AccountSkuId
Get-AzureADSubscribedSku will provide all sku details.
if you want per user basis.
$a = Get-MsolUser -UserPrincipalName $UPN | select -ExpandProperty licenses
$b = $a.AccountSkuId
- Simon ShawMay 30, 2021Copper ContributorIsn't the Get-MsolUser cmdlet part of the MSOnline powershell module which was end of life 3 months ago?