NamespaceMissing: Microsoft.Policies.Windows. Please upload it first ADMX Import Intune

In this blog post, I will show you how to fix the error message: NamespaceMissing: Microsoft.Policies.Windows. Please upload it first ADMX Import Intune. There are different methods for importing ADMX template files into Intune. You can use either the OMA-URI method or the Import ADMX option. Import ADMX option is quicker and easier than using OMA-URI.

To import an ADMX template into Intune, start by downloading the ADMX and ADML template files from the application vendor’s website and then upload them to Intune.

ADMX File Import Error in Intune

First, let’s understand at which stage this error appears when uploading ADMX files in Intune. For the demonstration purpose, I will be importing ZoomMeetings_HKLM.admx and ZoomMeetings_HKLM.adml template files, which will result in the error message: ADMX file referenced not found NamespaceMissing:Microsoft.Policies.Windows. Please upload it first.

  • Sign in to the Intune admin center > Devices > Configuration.
  • Click on Import ADMX and then click on +Import.

On the next screen, you can browse for the ADMX and ADML template files and upload them to Intune. This process may take a few seconds to complete. In some cases, the upload may fail, and the status will display Upload Failed, as shown in below screenshot:

Import ADMX intune Failed - Upload Failed Error

Click on Upload failed error link, which will provide more details about the error message. One common cause is reaching the maximum limit for ADMX template uploads, which is currently 10 files. In my case, I was importing first ADMX file into Intune, so the upload limit was not the problem. When I clicked the Upload Failed message, I found the following error details:

The upload to this ADMX file has failed. To continue, you will need to delete this upload, address the action in the error details, and try again.

Error Details:
ADMX file referenced not found NamespaceMissing:Microsoft.Policies.Windows. Please upload it first.

ADMX file referenced not found NamespaceMissing:Microsoft.Policies.Windows. Please upload it first.

Fix NamespaceMissing Microsoft Policies Windows in Intune

When you upload an ADMX template file into Intune using the Import ADMX option, it is important to identify whether the ADMX file has any dependencies.

Check if ADMX has a Dependency Prerequisite

For example, when I attempted to upload the Zoom ADMX file, it failed with the error: NamespaceMissing: Microsoft.Policies.Windows. Please upload it first. This indicates that the Zoom ADMX file depends on another ADMX file, specifically the Microsoft.Policies.Windows namespace.

You can also confirm this dependency by opening the ZoomMeetings_HKLM.admx file in notepad. In the policyNamespaces section, you will see that Microsoft.Policies.Windows is listed as a required dependency for the Zoom ADMX file.

To resolve this issue, you must upload the Microsoft.Policies.Windows ADMX file first, and then upload the Zoom ADMX file. Let’s proceed by downloading the windows.admx file and uploading it before adding the Zoom ADMX templates.

NamespaceMissing:Microsoft.Policies.Windows

Step 1: Download Windows.admx and Windows.adml Template files

Follow below steps to download windows.admx and windows.adml files:

windows.admx
  • Go to C:\Windows\PolicyDefinitions\en-US location and find the windows.adml file.
windows.adml

Step 2: Import Windows.admx and Windows.adml Template Files

Now we need to import windows.admx and windows.adml files into Intune. To import these files, follow below steps:

  • Sign in to the Intune admin center > Devices > Configuration.
  • Click on Import ADMX. Click on +Import.
  • Browse to windows.admx and windows.adml files. Click on Next and then click on Create.
Import windows.admx and windows.adml templates on Intune admin center

Step 3: Import Zoom Meeting ADMX Template files

After importing the dependent windows ADMX template files into Intune first, import Zoom ADMX template files.

  • Sign in to the Intune Admin Center > Devices > Configuration.
  • Click on Import ADMX. Click on +Import.
  • Browse the Zoom meeting app ADMX and ADML files and try to import it. This time, it will import successfully.
Import Zoom Admx template into Intune

Leave a Comment