← cd ~/licences
// licences · sku
AGENT_365Agent 365
AGENT_365 is the SKU part number Microsoft uses for Agent 365. You'll see it in Graph, PowerShell, licence reports and group-based licensing errors.
| Product name | Agent 365 |
|---|---|
| String ID (SkuPartNumber) | AGENT_365 |
| GUID (SkuId) | 796a6fb4-740b-4d36-bf56-9c12ca7fa069 |
| Service plans | 12 |
Service plans included (12)
| Service plan | Name | ID |
|---|---|---|
AGENT_365 | Agent 365 | d0ce5ebb-9db0-491f-b780-8973a1d815fe |
AUDIT_FOR_AGENTS | Microsoft Purview Audit for Agents | 6d9b0ae5-e6a0-4f04-991a-e5700fd84930 |
COMMUNICATION_COMPLIANCE_FOR_AGENTS | Microsoft Purview Communication Compliance for Agents | 135fe762-031a-4e79-bd3c-ac376addddec |
COMPLIANCE_MANAGER_FOR_AGENTS | Microsoft Purview Compliance Manager for Agents | d1f65d05-a302-4861-bd35-da8933ba7655 |
DATA_LIFECYCLE_MANAGEMENT_FOR_AGENTS | Microsoft Purview Data Lifecycle Management for Agents | 30d56d35-9be2-41c1-b4b8-7a8d6f073152 |
DATA_LOSS_PREVENTION_FOR_AGENTS | Microsoft Purview Data Loss Prevention for Agents | 46d3c309-0ba7-461f-9d0e-eaca165794c2 |
DEFENDER_FOR_AI | Microsoft Defender for AI | a1c15058-5559-4c1a-ba05-8040847f91bb |
EDISCOVERY_FOR_AGENTS | Microsoft Purview eDiscovery for Agents | 92cedcb2-3fb2-40b4-9df4-f9a5603d9631 |
ENTRA_ID_GOV_FOR_ASSISTIVE_AGENTS | Microsoft Entra ID Governance for Assistive Agents | a9e85e05-1687-4958-8a4c-bdacda2943db |
ENTRA_NETWORK_CONTROLS_FOR_ASSISTIVE_AGENTS | Microsoft Entra Network Controls for Assistive Agents | 27e196a4-8b80-4930-bd65-53fd28581878 |
INFORMATION_PROTECTION_FOR_AGENTS | Microsoft Purview Information Protection for Agents | 48478b49-91a1-4ded-94f0-066db80035ca |
INSIDER_RISK_MANAGEMENT_FOR_AGENTS | Microsoft Purview Insider Risk Management for Agents | 004ddfc0-c92f-4b0a-90c5-c60646299d71 |
Is it in your tenant?
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "AGENT_365" |
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 = "796a6fb4-740b-4d36-bf56-9c12ca7fa069" } -RemoveLicenses @()Who has it?
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq 796a6fb4-740b-4d36-bf56-9c12ca7fa069)" `
-ConsistencyLevel eventual -CountVariable n -All |
Select-Object DisplayName, UserPrincipalName