azureblog.co.uk
← cd ~/licences
// licences · sku

STREAM_P2Microsoft Stream Plan 2

STREAM_P2 is the SKU part number Microsoft uses for Microsoft Stream Plan 2. You'll see it in Graph, PowerShell, licence reports and group-based licensing errors.

Product nameMicrosoft Stream Plan 2
String ID (SkuPartNumber)STREAM_P2
GUID (SkuId)ec156933-b85b-4c50-84ec-c9e5603709ef
Service plans2

Service plans included (2)

Service planNameID
EXCHANGE_S_FOUNDATIONExchange Foundation113feb6c-3fe4-4440-bddc-54d774bf0318
STREAM_P2Microsoft Stream Plan 2d3a458d0-f10d-48c2-9e44-86f3f684029e

Is it in your tenant?

powershell3 lines
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "STREAM_P2" |
    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.

powershell3 lines
Connect-MgGraph -Scopes "User.ReadWrite.All"
Set-MgUserLicense -UserId "jane.doe@contoso.com" `
    -AddLicenses @{ SkuId = "ec156933-b85b-4c50-84ec-c9e5603709ef" } -RemoveLicenses @()

Who has it?

powershell4 lines
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq ec156933-b85b-4c50-84ec-c9e5603709ef)" `
    -ConsistencyLevel eventual -CountVariable n -All |
    Select-Object DisplayName, UserPrincipalName

Similar licences

These share the most service plans with STREAM_P2.

Search all 620 SKUs →