When we deploy VDIs in Azure using a golden image with license_type "windows client", this setting is not being inherited.
Checking in Azure, the licensing fields remain blank which means the customer may incur additional billing.

LicenseType custom property configuration was missing from the Provisioning Scheme.
The following string needs to be added to the CustomProperties field of the Provisioning Scheme
Retrieve the existing Custom Properties for the Provisioning Scheme
Get-ProvScheme -ProvisioningSchemeName "ProvScheme Name" | select CustomProperties -ExpandProperty CustomProperties
This will give you an output:
<CustomProperties xmlns="http://schemas.citrix.com/2014/xd/machinecreation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><Property xsi:type="StringProperty" Name="UseManagedDisks" Value="true" /><Property xsi:type="StringProperty" Name="OsType" Value="Windows" /><Property xsi:type="StringProperty" Name="StorageType" Value="Premium_LRS" /><Property xsi:type="StringProperty" Name="ResourceGroups" Value="Resource Group Name" /><Property xsi:type="StringProperty" Name="Zones" Value="" /><Property xsi:type="StringProperty" Name="SchemaVersion" Value="2" /></CustomProperties>
Add the string above to this
<CustomProperties xmlns="http://schemas.citrix.com/2014/xd/machinecreation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><Property xsi:type="StringProperty" Name="UseManagedDisks" Value="true" /><Property xsi:type="StringProperty" Name="OsType" Value="Windows" /><Property xsi:type="StringProperty" Name="StorageType" Value="Premium_LRS" /><Property xsi:type="StringProperty" Name="ResourceGroups" Value="Resource Group Name" /><Property xsi:type="StringProperty" Name="Zones" Value="" /><Property xsi:type="StringProperty" Name="SchemaVersion" Value="2" /><Property xsi:type="StringProperty" Name="LicenseType" Value="Windows_Client" /></CustomProperties>
Define a customProperties variable -
$customProperties = '<CustomProperties xmlns="http://schemas.citrix.com/2014/xd/machinecreation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><Property xsi:type="StringProperty" Name="UseManagedDisks" Value="true" /><Property xsi:type="StringProperty" Name="OsType" Value="Windows" /><Property xsi:type="StringProperty" Name="StorageType" Value="Premium_LRS" /><Property xsi:type="StringProperty" Name="ResourceGroups" Value="Resource Group Name" /><Property xsi:type="StringProperty" Name="Zones" Value="" /><Property xsi:type="StringProperty" Name="SchemaVersion" Value="2" /><Property xsi:type="StringProperty" Name="LicenseType" Value="Windows_Client" /></CustomProperties>'
Set-ProvScheme -ProvisioningSchemeName "ProvScheme Name” -CustomProperties $customProperties
When we deploy VDIs in Azure using a golden image with license_type "windows client", this setting is not being inherited.