(41) Intune ADMX File Upload Error Referenced Not Found - NamespaceMissing
- Mr B SOE way
- Jan 18, 2023
- 1 min read
As part of my current project for uplifting a customer's Intune environment, I came across this issue with uploading both DriveMapping.admx and DriveMapping.adml, the Drive Mapping files can be found here.
The previous post that was covered about the list of ADMX files that can be uploaded to Intune: https://soeintunedevice.wixsite.com/home/post/30-list-of-custom-admx-templates-to-upload-to-intune
The error I got was this: "ADMX file referenced not found NamingspaceMissing:Microsoft.Policies.Windows. Please upload it first"

The reason behind this is failure is because imported ADMX and ADML have several limitations, where some files will require the Windows.admx and Windows.adml as a prerequisite. These files will have to be uploaded first.
Solution:
1. Download and install Administrative Templates for Windows 10 2022 https://www.microsoft.com/en-us/download/details.aspx?id=104677
2. The policy definitions will be here: C:\Program Files (x86)\Microsoft Group Policy\Windows 10 October 2022 Update (22H2)\PolicyDefinitions
3. Under Import ADMX, delete the failed DriveMapping.admx
4. Select Import, and upload the following:
ADMX file: Windows.admx
ADML file: Windows.adml

5. Select Create. This will upload the files to Intune. Select Refresh to see the changes.

6. Once done, you will see it as Available.

7. Proceed to re-upload the DriveMapping.admx and DriveMapping.adml files

Select Create.

8. Now it shows it as Available.

9. To create the profile for Drive Mapping, go to Windows then Configuration Profiles then select Create Profile then select the following:
Platform: Windows 10 and later
Profile type: Templates
Template Name: Imported Administrative Templates (Preview)
Name: Windows - Mapped Drives
Configuration Settings, enter in search with:
Drive R: Fill in the blanks - select Enabled
Drive S: Fill in the blanks - select Enabled
Drive X: Fill in the blanks - select Enabled

Comments