azureblog.co.uk
← 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 nameAgent 365
String ID (SkuPartNumber)AGENT_365
GUID (SkuId)796a6fb4-740b-4d36-bf56-9c12ca7fa069
Service plans12

Service plans included (12)

Service planNameID
AGENT_365Agent 365d0ce5ebb-9db0-491f-b780-8973a1d815fe
AUDIT_FOR_AGENTSMicrosoft Purview Audit for Agents6d9b0ae5-e6a0-4f04-991a-e5700fd84930
COMMUNICATION_COMPLIANCE_FOR_AGENTSMicrosoft Purview Communication Compliance for Agents135fe762-031a-4e79-bd3c-ac376addddec
COMPLIANCE_MANAGER_FOR_AGENTSMicrosoft Purview Compliance Manager for Agentsd1f65d05-a302-4861-bd35-da8933ba7655
DATA_LIFECYCLE_MANAGEMENT_FOR_AGENTSMicrosoft Purview Data Lifecycle Management for Agents30d56d35-9be2-41c1-b4b8-7a8d6f073152
DATA_LOSS_PREVENTION_FOR_AGENTSMicrosoft Purview Data Loss Prevention for Agents46d3c309-0ba7-461f-9d0e-eaca165794c2
DEFENDER_FOR_AIMicrosoft Defender for AIa1c15058-5559-4c1a-ba05-8040847f91bb
EDISCOVERY_FOR_AGENTSMicrosoft Purview eDiscovery for Agents92cedcb2-3fb2-40b4-9df4-f9a5603d9631
ENTRA_ID_GOV_FOR_ASSISTIVE_AGENTSMicrosoft Entra ID Governance for Assistive Agentsa9e85e05-1687-4958-8a4c-bdacda2943db
ENTRA_NETWORK_CONTROLS_FOR_ASSISTIVE_AGENTSMicrosoft Entra Network Controls for Assistive Agents27e196a4-8b80-4930-bd65-53fd28581878
INFORMATION_PROTECTION_FOR_AGENTSMicrosoft Purview Information Protection for Agents48478b49-91a1-4ded-94f0-066db80035ca
INSIDER_RISK_MANAGEMENT_FOR_AGENTSMicrosoft Purview Insider Risk Management for Agents004ddfc0-c92f-4b0a-90c5-c60646299d71

Is it in your tenant?

powershell3 lines
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.

powershell3 lines
Connect-MgGraph -Scopes "User.ReadWrite.All"
Set-MgUserLicense -UserId "jane.doe@contoso.com" `
    -AddLicenses @{ SkuId = "796a6fb4-740b-4d36-bf56-9c12ca7fa069" } -RemoveLicenses @()

Who has it?

powershell4 lines
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

Search all 620 SKUs →