You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
apparently some of the setting templates in the catalog have guids in uppercase, when retrieving the policy later, the guid is normalized to lowercase and can not be deployed without fixing the casing
if ($setting.settingInstance.settingInstanceTemplateReference.settingInstanceTemplateId-in$AvailableSettings.settingInstanceTemplate.settingInstanceTemplateId) {
if ($AvailableSetting.settingInstanceTemplate.settingInstanceTemplateId-cnotmatch$setting.settingInstance.settingInstanceTemplateReference.settingInstanceTemplateId) {
127
+
# update casing
128
+
Write-Information"Fixing casing for setting instance template $($AvailableSetting.settingInstanceTemplate.settingInstanceTemplateId)"
if ($AvailableSetting.settingInstanceTemplate.choiceSettingValueTemplate-cnotmatch$setting.settingInstance.choiceSettingValue.settingValueTemplateReference.settingValueTemplateId) {
133
+
# update choice setting value template
134
+
Write-Information"Fixing casing for choice setting value template $($AvailableSetting.settingInstanceTemplate.choiceSettingValueTemplate.settingValueTemplateId)"
0 commit comments