Licence 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 |
|---|---|---|
VIRTUAL_AGENT_BASE | Virtual Agent Base | f6934f16-83d3-4f3b-ad27-c6e9c187b260 |
FLOW_VIRTUAL_AGENT_BASE | Power Automate for Virtual Agent | 4b81a949-69a1-4409-ad34-9791a6ec88aa |
CDS_VIRTUAL_AGENT_BASE | Common Data Service for Virtual Agent Base | 0a0a23fa-fea1-4195-bb89-b4789cb12f7f |
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 } }What each line does
- Line 1: Signs in to Microsoft Graph with the permissions (scopes) listed.
- Line 2: Reads subscribed sku details from Microsoft Graph.
- Line 3: Keeps only the properties listed, so the output stays small.
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 @()What each line does
- Line 1: Signs in to Microsoft Graph with the permissions (scopes) listed.
- Line 2: Changes a user license in Microsoft Graph. Makes a change.
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, UserPrincipalNameWhat each line does
- Line 1: Signs in to Microsoft Graph with the permissions (scopes) listed.
- Line 2: Reads user details from Microsoft Graph.
- Line 4: Keeps only the properties listed, so the output stays small.
Spotted something out of date or wrong? Tell us and we'll fix it.