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

Microsoft_Viva_SalesMicrosoft Sales Copilot

Microsoft_Viva_Sales is the SKU part number Microsoft uses for Microsoft Sales Copilot. You'll see it in Graph, PowerShell, licence reports and group-based licensing errors.

Product nameMicrosoft Sales Copilot
String ID (SkuPartNumber)Microsoft_Viva_Sales
GUID (SkuId)3227bcb2-8448-4f81-b3c2-8c2074e15a2a
Service plans2

Service plans included (2)

Service planNameID
MicrosoftSalesCopilotPremium&TrialMicrosoft Sales Copilot Premium & Trial8ba1ff15-7bf6-4620-b65c-ecedb6942766
Microsoft_Viva_Sales_PowerAutomateMicrosoft Sales Copilot Premium with Power Automatea933a62f-c3fb-48e5-a0b7-ac92b94b4420

Is it in your tenant?

powershell3 lines
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "Microsoft_Viva_Sales" |
    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 = "3227bcb2-8448-4f81-b3c2-8c2074e15a2a" } -RemoveLicenses @()

Who has it?

powershell4 lines
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq 3227bcb2-8448-4f81-b3c2-8c2074e15a2a)" `
    -ConsistencyLevel eventual -CountVariable n -All |
    Select-Object DisplayName, UserPrincipalName

Search all 620 SKUs →