azureblog.co.uk
← cd ~/licences
// licences · sku

DYN365_RETAIL_TRIALDynamics 365 Commerce Trial

DYN365_RETAIL_TRIAL is the SKU part number Microsoft uses for Dynamics 365 Commerce Trial. You'll see it in Graph, PowerShell, licence reports and group-based licensing errors.

Product nameDynamics 365 Commerce Trial
String ID (SkuPartNumber)DYN365_RETAIL_TRIAL
GUID (SkuId)1508ad2d-5802-44e6-bfe8-6fb65de63d28
Service plans2

Service plans included (2)

Service planNameID
DYN365_RETAIL_TRIALDynamics 365 for Retail Trial874d6da5-2a67-45c1-8635-96e8b3e300ea
EXCHANGE_S_FOUNDATIONExchange Foundation113feb6c-3fe4-4440-bddc-54d774bf0318

Is it in your tenant?

powershell3 lines
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "DYN365_RETAIL_TRIAL" |
    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 = "1508ad2d-5802-44e6-bfe8-6fb65de63d28" } -RemoveLicenses @()

Who has it?

powershell4 lines
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq 1508ad2d-5802-44e6-bfe8-6fb65de63d28)" `
    -ConsistencyLevel eventual -CountVariable n -All |
    Select-Object DisplayName, UserPrincipalName

Similar licences

These share the most service plans with DYN365_RETAIL_TRIAL.

Search all 620 SKUs →