← cd ~/licences
// licences · sku
VIRTUAL_AGENT_BASEPower Virtual Agent
VIRTUAL_AGENT_BASE is the SKU part number Microsoft uses for Power Virtual Agent. You'll see it in Graph, PowerShell, licence reports and group-based licensing errors.
| Product name | Power Virtual Agent |
|---|---|
| String ID (SkuPartNumber) | VIRTUAL_AGENT_BASE |
| GUID (SkuId) | e4e55366-9635-46f4-a907-fc8c3b5ec81f |
| Service plans | 3 |
Service plans included (3)
| Service plan | Name | ID |
|---|---|---|
CDS_VIRTUAL_AGENT_BASE | Common Data Service for Virtual Agent Base | 0a0a23fa-fea1-4195-bb89-b4789cb12f7f |
FLOW_VIRTUAL_AGENT_BASE | Power Automate for Virtual Agent | 4b81a949-69a1-4409-ad34-9791a6ec88aa |
VIRTUAL_AGENT_BASE | Virtual Agent Base | f6934f16-83d3-4f3b-ad27-c6e9c187b260 |
Is it in your tenant?
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "VIRTUAL_AGENT_BASE" |
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 = "e4e55366-9635-46f4-a907-fc8c3b5ec81f" } -RemoveLicenses @()Who has it?
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq e4e55366-9635-46f4-a907-fc8c3b5ec81f)" `
-ConsistencyLevel eventual -CountVariable n -All |
Select-Object DisplayName, UserPrincipalName