Wednesday 5 December 2018

1809 PolicyDefinitions Error in non en-US ADML templates for MicrosoftEdge.adml

Issue
Downloading and installing in Active Directory the latest 1809 policy Definition files - ADMX and Language specific ADML files, results in errors during gpresult for the non en-US template files for MicrosoftEdge.adml

Solution
My quick fix was to copy the en-US MicrosoftEdge.adml file into the non en-US folders until we get an update from Microsoft.

I have raised a ticket with Microsoft for this.

Details
using powershell to parse the xml (adml files) and doing a comparison with en-US version shows a lot of missing ID Tags:

[xml]$a =  Get-Content D:\admx\PolicyDefinitions\en-US\Windows.adml

[xml]$b = Get-Content D:\\admx\PolicyDefinitions\fr-FR\Windows.adml

Compare-Object  $(($a | Select-Xml -XPath "//@id").Node.Value) $(($b | Select-Xml -XPath "//@id").Node.Value)

InputObject                                                       SideIndicator
-----------                                                       -------------
PreventTabPreloading                                              =>          
PreventTabPreloading_Explain                                      =>          
PreventTabPreloadingDropdown_PreventTabPreloading                 =>          
PreventTabPreloadingDropdown_AllowTabPreloading                   =>          
PreventTabPreloading                                              =>          
SUPPORTED_INTERNET_BROWSER_RS5_DisplayName                        <=          
PreventCertErrorOverrides                                         <=          
PreventCertErrorOverrides_Explain                                 <=          
AllowFullScreenMode                                               <=          
AllowFullScreenMode_Explain                                       <=          
AllowPrinting                                                     <=          
AllowPrinting_Explain                                             <=          
AllowSavingHistory                                                <=          
AllowSavingHistory_Explain                                        <=          
AllowSideloadingOfExtensions                                      <=          
AllowSideloadingOfExtensions_Explain                              <=          
ConfigureFavoritesBar                                             <=          
ConfigureFavoritesBar_Explain                                     <=          
ConfigureHomeButton                                               <=          
ConfigureHomeButton_Explain                                       <=          
ConfigureHomeButton_StartPage                                     <=          
ConfigureHomeButton_NewTabPage                                    <=          
ConfigureHomeButton_SpecificPage                                  <=          
ConfigureHomeButton_HideHomeButton                                <=          
ConfigureOpenEdgeWith                                             <=          
ConfigureOpenEdgeWith_Explain                                     <=          
ConfigureOpenEdgeWithList_EdgeStartPage                           <=          
ConfigureOpenEdgeWithList_NewTabPage                              <=          
ConfigureOpenEdgeWithList_PreviousPages                           <=          
ConfigureOpenEdgeWithList_ProvisionedHomePages                    <=          
PreventTurningOffRequiredExtensions                               <=          
PreventTurningOffRequiredExtensions_Explain                       <=          
SetHomeButtonURL                                                  <=          
SetHomeButtonURL_Explain                                          <=          
SetNewTabPageURL                                                  <=          
SetNewTabPageURL_Explain                                          <=          
ShowMessageWhenOpeningSitesInInternetExplorer_Show_ContinueInEdge <=          
ShowMessageWhenOpeningSitesInInternetExplorer_Hide_ContinueInEdge <=          
UnlockHomeButton                                                  <=          
UnlockHomeButton_Explain                                          <=          
AllowTabPreloading                                                <=          
AllowTabPreloading_Explain                                        <=          
AllowTabPreloadingDropdown_AllowTabPreloading                     <=          
AllowTabPreloadingDropdown_PreventTabPreloading                   <=          
ConfigureTelemetryForMicrosoft365Analytics                        <=          
ConfigureTelemetryForMicrosoft365Analytics_Explain                <=          
ZonesList_IntranetOnly                                            <=          
ZonesList_InternetOnly                                            <=          
ZonesList_Both                                                    <=          
ZonesList_None                                                    <=          
AllowPrelaunch                                                    <=          
AllowPrelaunch_Explain                                            <=          
AllowPrelaunchDropdown_AllowPrelaunch                             <=          
AllowPrelaunchDropdown_PreventPrelaunch                           <=          
ConfigureKioskMode                                                <=          
ConfigureKioskMode_Explain                                        <=          
ConfigureKioskResetAfterIdleTimeout                               <=          
ConfigureKioskResetAfterIdleTimeout_Explain                       <=          
ConfigureOpenEdgeWith_Presentation                                <=          
ConfigureHomeButton_Presentation                                  <=          
SetHomeButtonURL_Presentation                                     <=          
SetNewTabPageURL_Presentation                                     <=          
PreventTurningOffRequiredExtensions_Presentation                  <=          
AllowTabPreloading                                                <=          
AllowPrelaunch                                                    <=          
ConfigureTelemetryForMicrosoft365Analytics_Presentation           <=          
ConfigureKioskMode_Presentation                                   <=          
ConfigureKioskResetAfterIdleTimeout_Presentation                  <=          
ShowMessageWhenOpeningSitesInInternetExplorer_Presentation        <=