← cd ~/licences
// licences · sku
PBI_PREMIUM_EM2_ADDONPower BI Premium EM2
PBI_PREMIUM_EM2_ADDON is the SKU part number Microsoft uses for Power BI Premium EM2. You'll see it in Graph, PowerShell, licence reports and group-based licensing errors.
| Product name | Power BI Premium EM2 |
|---|---|
| String ID (SkuPartNumber) | PBI_PREMIUM_EM2_ADDON |
| GUID (SkuId) | 8ecbd3c1-b108-437c-a859-e3c125e3f83f |
| Service plans | 1 |
Service plans included (1)
| Service plan | Name | ID |
|---|---|---|
PBI_PREMIUM_EM2_ADDON | Power BI Premium EM2 | 4e29abd1-ba96-44c0-8a72-e24e4fe9956e |
Is it in your tenant?
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "PBI_PREMIUM_EM2_ADDON" |
Select-Object SkuPartNumber, ConsumedUnits, @{ n = "Purchased"; e = { $_.PrepaidUnits.Enabled } }Assign it to a user
For more than a handful of people, use group-based licensing instead. The user needs a usage location set first.
Connect-MgGraph -Scopes "User.ReadWrite.All"
Set-MgUserLicense -UserId "jane.doe@contoso.com" `
-AddLicenses @{ SkuId = "8ecbd3c1-b108-437c-a859-e3c125e3f83f" } -RemoveLicenses @()Who has it?
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq 8ecbd3c1-b108-437c-a859-e3c125e3f83f)" `
-ConsistencyLevel eventual -CountVariable n -All |
Select-Object DisplayName, UserPrincipalName