Micke-K / IntuneManagement

Copy, export, import, delete, document and compare policies and profiles in Intune and Azure with PowerShell script and WPF UI. Import ADMX files and registry settings with ADMX ingestion. View and edit PowerShell script.
MIT License
937 stars 168 forks source link

Importing and using profiles based on ADMX templates #234

Open Filisteos opened 3 weeks ago

Filisteos commented 3 weeks ago

Hi @Micke-K ! I am using Intune Management Master version 3.9.6 I'm going to show you step by step the error I encountered and I hope you can help me:

  1. Pre-importing ADMX templates (always en-US) image

  2. Importing the profile containing ADMX template settings from Chrome.admx image

  3. Here I notice the error, and that is that the imported profile does not contain any policy: image

  4. There should really only be one policy listed which is the following policy: image

  5. The only thing I see different from the original profile I exported it from are the “?” characters in the policy name that don’t appear in the original profile. Here’s what it looks like in the original profile: image

The policy I'm working on allows device information to be collected when using Google Chrome allowing Conditional Access to be applied to Microsoft account logins from Chrome.

Thanks for your help. :)

Micke-K commented 2 weeks ago

Hello,

Sp sorry, I missed this somehow.

What version did you use to export the policy?

You should see properties in the exported file starting with #Definition_. This will not work unless you have these properties.

Custom ADMX is complicated. Each import generates new policy IDs. Even in the same tenant, and the feature has been broken a couple of times because Microsoft changed something in the background. The script will add the #Definition and #Presentation properties so it can find policy setting to import in other tenants.

Cheers!