scloud by Florian Salzmann
ende

How to Resolve NamespaceMissing:Microsoft.Policies.Windows Error in Intune

  • Florian Salzmann
  • Posted on 02 Nov, 2023
  • Updated on 09 Nov, 2023
  • 02 Mins read
  • Microsoft Intune

Have you ever encountered an error while attempting to upload custom ADMX files in Intune? If you’re facing the “ADMX file referenced not found NamespaceMissing:Microsoft.Policies.Windows” error, I can relate. In this article, I’ll share my experience and guide you through the steps I took to resolve this issue and successfully upload custom ADMX files in Microsoft Intune.

Understanding the Error

Before we jump into the solution, let’s first understand the error message: “ADMX file referenced not found NamespaceMissing:Microsoft.Policies.Windows.” This error indicates that the required Windows ADMX files are either missing or improperly configured in your Intune setup.

In this Example I try to Upload the Coogle Chrome ADMX files.
More about them and why I did that you can read here: Google Chrome Single Sign On (SSO) | Azure AD | scloud

Intune ADMX NamespaceMissing:Microsoft.Policies.Windows

Solution: Uploading Windows ADMX Files

The solution to this problem lies in ensuring the necessary Windows ADMX files are present in your Intune configuration.

Luckily, there is an easy fix for that. We just need to upload the current “Windows.admx” and “Windows.adml” file before uploading our custom ADMX file.

How to Obtained Windows ADMX Files

To obtain the required Windows ADMX files, follow these steps:

  1. On an up-to-date Windows 10/11 system, navigate to this path: C:\Windows\PolicyDefinitions
  2. Copy the “Windows.admx” file from this directory.
  3. Additionally, copy the “Windows.adml” file from the “en-US” subfolder within the “PolicyDefinitions” directory.

If you don’t have access to a Windows system, you can download those two files from my GitHub:

Windows ADMX/ADML @GitHub

Uploading Windows ADMX Files to Intune

Once you have those two files, just upload them in Intune:

  1. Open Intune
  2. Navigate to “Devices > Windows> Configuration profiles > Import ADMX
  3. Press ”+ Import
  4. Upload those two files

Intune upload custom ADMX

Intune Windows.admx and Windows.adml

After that you can import your custom ADMX again, which should work now. 🎉

Validate the Solution

Here again with our example: Togeter with the Windows ADMX the Error “NamespaceMissing:Microsoft.Policies.Windows” does not appear again and the import was successful.

Intune successful imported custom ADMX, Error NamespaceMissing:Microsoft.Policies.Windows fixed

Related posts

Endpoint Privilege Management vs the Alternatives
Microsoft Intune

When Intune Endpoint Privilege Management Wins, and When It Does Not

You already run standard users. The hard part is the last exceptions. Here is how Intune Endpoint Privilege Management compares to the alternatives.

DNS Suffixes set via Intune
Microsoft Intune

Set DNS Suffixes via Microsoft Intune

Learn how to configure DNS suffixes via Microsoft Intune with a Settings Catalog profile, deploy them safely, and verify the setup on managed Windows devices.

Intune win32 app testing
Microsoft Intune

How I Create and Test Win32 Apps for Intune

How I create and test Win32 apps for Intune: templates, Sandbox and VM testing, checking detection rules locally, and running processes as System.