azureblog.co.uk
Licence SKU

D365_FIELD_SERVICE_CONTRACTOR_GOVDynamics 365 Field Service Contractor for Government

D365_FIELD_SERVICE_CONTRACTOR_GOV is the SKU part number Microsoft uses for Dynamics 365 Field Service Contractor for Government. You'll see it in Graph, PowerShell, licence reports and group-based licensing errors.

Product nameDynamics 365 Field Service Contractor for Government
String ID (SkuPartNumber)D365_FIELD_SERVICE_CONTRACTOR_GOV
GUID (SkuId)e7965e3a-1f49-4d67-a3de-ad1ce460bbcc
Service plans3

Service plans included (3)

Service planNameID
POWERAPPS_DYN_APPS_GOVPowerApps for Dynamics 365 for Government3089c02b-e533-4b73-96a5-01fa648c3c3c
CDS_FIELD_SERVICE_CONTRACTOR_GCCCommon Data Service Field service Part Time Contractors for Government2457fe40-65be-48a1-935f-924ad6e62dba
EXCHANGE_S_FOUNDATION_GOVExchange Foundation for Government922ba911-5694-4e99-a794-73aed9bfeec8

Is it in your tenant?

powershell3 lineshover a line number for notes
Connect-MgGraph -Scopes "Organization.Read.All"
Get-MgSubscribedSku | Where-Object SkuPartNumber -eq "D365_FIELD_SERVICE_CONTRACTOR_GOV" |
    Select-Object SkuPartNumber, ConsumedUnits, @{ n = "Purchased"; e = { $_.PrepaidUnits.Enabled } }
What each line does
  1. Line 1: Signs in to Microsoft Graph with the permissions (scopes) listed.
  2. Line 2: Reads subscribed sku details from Microsoft Graph.
  3. Line 3: Keeps only the properties listed, so the output stays small.

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 lines1 changes something · hover a line number for notes
Connect-MgGraph -Scopes "User.ReadWrite.All"
Set-MgUserLicense -UserId "jane.doe@contoso.com" `
    -AddLicenses @{ SkuId = "e7965e3a-1f49-4d67-a3de-ad1ce460bbcc" } -RemoveLicenses @()
What each line does
  1. Line 1: Signs in to Microsoft Graph with the permissions (scopes) listed.
  2. Line 2: Changes a user license in Microsoft Graph. Makes a change.

Who has it?

powershell4 lineshover a line number for notes
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "assignedLicenses/any(x:x/skuId eq e7965e3a-1f49-4d67-a3de-ad1ce460bbcc)" `
    -ConsistencyLevel eventual -CountVariable n -All |
    Select-Object DisplayName, UserPrincipalName
What each line does
  1. Line 1: Signs in to Microsoft Graph with the permissions (scopes) listed.
  2. Line 2: Reads user details from Microsoft Graph.
  3. Line 4: Keeps only the properties listed, so the output stays small.

Search all 620 SKUs →

Spotted something out of date or wrong? Tell us and we'll fix it.