← cd ~/licences
// licences · sku
D365_SALES_PRO_IWDynamics 365 for Sales Professional Trial
D365_SALES_PRO_IW is the SKU part number Microsoft uses for Dynamics 365 for Sales Professional Trial. You'll see it in Graph, PowerShell, licence reports and group-based licensing errors.
| Product name | Dynamics 365 for Sales Professional Trial |
|---|---|
| String ID (SkuPartNumber) | D365_SALES_PRO_IW |
| GUID (SkuId) | 9c7bff7a-3715-4da7-88d3-07f57f8d0fb6 |
| Service plans | 2 |
Service plans included (2)
| Service plan | Name | ID |
|---|---|---|
D365_SALES_PRO_IW | Dynamics 365 for Sales Professional Trial | 73f205fc-6b15-47a5-967e-9e64fdf72d0a |
D365_SALES_PRO_IW_Trial | Dynamics 365 for Sales Professional Trial | db39a47e-1f4f-462b-bf5b-2ec471fb7b88 |
Is it in your tenant?
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "D365_SALES_PRO_IW" |
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 = "9c7bff7a-3715-4da7-88d3-07f57f8d0fb6" } -RemoveLicenses @()Who has it?
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq 9c7bff7a-3715-4da7-88d3-07f57f8d0fb6)" `
-ConsistencyLevel eventual -CountVariable n -All |
Select-Object DisplayName, UserPrincipalName