mozilla / policy-templates

Policy Templates for Firefox
Mozilla Public License 2.0
1.12k stars 398 forks source link

ADMX Import Issue on Intune #993

Open detharonil opened 1 year ago

detharonil commented 1 year ago

When importing Firefox's ADMX files using Intune's preview feature documented here, the settings themselves are not available within Intune unless the "revision" attribute matches between the mozilla.admx/adml files and the firefox.admx/adml files. I was able to fix this by manually editing the mozilla.admx/adml files to match the "revision" attribute, but matching up the values may need to be done as a part of the release process to ensure compatibility.

Other third-party templates (Google Chrome, Zoom, etc. ADMX files) seem to circumvent this by keeping the revision at 1.0, but I'm not sure whether that's sound advice.

mkaply commented 1 year ago

Interesting. I'll start bumping the mozilla admx/adml with firefox.

mkaply commented 1 year ago

FYI, there are issues with our JSON policies with the new Intune feature. I've reported it to them.

mkaply commented 1 year ago

I just ran a test with the existing ADMX/ADML problems and it's working for me.

image

image

MarkusatBLM commented 1 year ago

Piggyback on that issue report, the import was unsuccessfull either for me. At first.... There is a difference in the version of mozilla.admx (4.8, instead of 1.0 as pictured in your screenshot). Mozilla ADMX Screenshot 2023-06-06 164130

Firefox settings aren't visible under the Settings Catalog or "Templates --> Administrative templates", but under the preview feature "Templates --> Imported Administrative templates (preview)" only.

I see Chrome settings just fine in all possible templates or the catalog. So, maybe there is something missing in those ADMX files, hence the issue?

mkaply commented 1 year ago

As far as I know, we will only show under Imported Administrative Templates.

That's what the doc says.

timmgreen commented 9 months ago

Has anyone tried this under User Configuration? I have imported the templates and created a configuration policy. Assigned to user group but not getting the policies applied.

I followed the same steps for the Zoom ADMX and had no issues.

Under HKCU\Software\Policies I see keys for Google and Zoom but nothing for Mozilla or Firefox.

timmgreen commented 9 months ago

Piggyback on that issue report, the import was unsuccessfull either for me. At first.... There is a difference in the version of mozilla.admx (4.8, instead of 1.0 as pictured in your screenshot). Mozilla ADMX Screenshot 2023-06-06 164130

Firefox settings aren't visible under the Settings Catalog or "Templates --> Administrative templates", but under the preview feature "Templates --> Imported Administrative templates (preview)" only.

I see Chrome settings just fine in all possible templates or the catalog. So, maybe there is something missing in those ADMX files, hence the issue?

I believe Chrome has been added to the settings catalog natively. I have not imported Chrome ADMX and I have configured Chrome settings through the settings catalog.

mkaply commented 9 months ago

The versions don't match because I don't update mozilla.admx with every release (it doesn't change)

I am able to import and use these with no problem.

timmgreen commented 9 months ago

The versions don't match because I don't update mozilla.admx with every release (it doesn't change)

I am able to import and use these with no problem.

Just checked and the policies did show up today. Working fine now. I guess Intune took a while to process.