← cd ~/licences
// licences · sku
EXPERTS_ON_DEMANDMicrosoft Threat Experts - Experts on Demand
EXPERTS_ON_DEMAND is the SKU part number Microsoft uses for Microsoft Threat Experts - Experts on Demand. You'll see it in Graph, PowerShell, licence reports and group-based licensing errors.
| Product name | Microsoft Threat Experts - Experts on Demand |
|---|---|
| String ID (SkuPartNumber) | EXPERTS_ON_DEMAND |
| GUID (SkuId) | 9fa2f157-c8e4-4351-a3f2-ffa506da1406 |
| Service plans | 1 |
Service plans included (1)
| Service plan | Name | ID |
|---|---|---|
EXPERTS_ON_DEMAND | Microsoft Threat Experts - Experts on Demand | b83a66d4-f05f-414d-ac0f-ea1c5239c42b |
Is it in your tenant?
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "EXPERTS_ON_DEMAND" |
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 = "9fa2f157-c8e4-4351-a3f2-ffa506da1406" } -RemoveLicenses @()Who has it?
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq 9fa2f157-c8e4-4351-a3f2-ffa506da1406)" `
-ConsistencyLevel eventual -CountVariable n -All |
Select-Object DisplayName, UserPrincipalName