Jun 05 2020 11:35 AM - edited Jun 06 2020 01:31 PM
Hi Community
Jun 06 2020 09:21 AM
Filtering by SKU or specific service is done via the same cmdlet... here's an example:
Get-MsolUser | ? {$_.Licenses.AccountSkuId -eq "tenant:ENTERPRISEPREMIUM"}
and here's an example for specific service:
Get-MsolUser | ? {$_.Licenses.ServiceStatus | ? {$_.ServicePlan.ServiceName -eq "MCOSTANDARD" -and $_.ProvisioningStatus -eq "Success"}}