Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intune Firefox Extensions ADMX Length Limit #973

Closed
tkudya opened this issue Nov 9, 2022 · 17 comments
Closed

Intune Firefox Extensions ADMX Length Limit #973

tkudya opened this issue Nov 9, 2022 · 17 comments

Comments

@tkudya
Copy link

tkudya commented Nov 9, 2022

I am using the Firefox Intune ADMX to manage extensions installed on Browsers. I have managed to allow a few extensions but as I start adding more extensions I am no longer Able with the following message "The value must have a length of at most 1023."
Whats the available workaround to allow more extensions
image

{ "*": {
"blocked_install_message": "Please email if you think an extension should be unblocked.",
"install_sources": ["about:addons","https://addons.mozilla.org/"],
"installation_mode": "blocked",
"allowed_types": ["extension"]
},
"{@react-devtools}": {
"installation_mode": "allowed",
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/react-devtools/latest.xpi" },
"extension@redux.devtools": {
"installation_mode": "allowed",
"{446900e4-71c2-419f-a6a7-df9c091e268b}": { "installation_mode": "allowed", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/bitwarden-password-manager/latest.xpi" },
"{support@lastpass.com}": { "installation_mode": "allowed", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/lastpass-password-manager/latest.xpi"},
"{7a7a4a92-a2a0-41d1-9fd7-1e92480d612d}": {
"installation_mode": "allowed",
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/styl-us/latest.xpi" },
"{943b8007-a895-44af-a672-4f4ea548c95f}": {
"installation_mode": "allowed",
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/markdown-viewer-webext/latest.xpi" },
"installation_mode": "allowed",
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/reduxdevtools/latest.xpi" },
"uBlock0@raymondhill.net": {
"installation_mode": "allowed",
}
}

@mkaply
Copy link
Collaborator

mkaply commented Nov 10, 2022

What version of the ADMX templates are you using? That field should be a MULTI_SZ now (not a single line) and have a limit of 16384

    <multiText id="ExtensionSettings" valueName="ExtensionSettings"  maxLength="16384"/>

@tkudya
Copy link
Author

tkudya commented Nov 10, 2022

I am not using using the Custom ADMX import intune anyore but the Device Configuration - "Administrative Templates" option that's now available in Intune.
image

@mkaply
Copy link
Collaborator

mkaply commented Nov 10, 2022

Interesting. I haven't used that yet, but it sounds like they have a bug. They are not handling multiText correctly and implementing a limit that I don't have. I'll take a look.

@mkaply
Copy link
Collaborator

mkaply commented Nov 10, 2022

Yeah, this is definitely a Microsoft bug. Considering this feature is in preview, do you know of a way to report this bug to Microsoft?

@mkaply
Copy link
Collaborator

mkaply commented Nov 10, 2022

I've reported a bug through the Support Center feature. We'll see what they say.

@tkudya
Copy link
Author

tkudya commented Nov 23, 2022

@mkaply Have you managed to get an answer from Microsoft? I can raise a support ticket with Microsoft

@mkaply
Copy link
Collaborator

mkaply commented Nov 23, 2022

I'm in communication with their product manager, but opening a support ticket would be great as well.

@sky2133
Copy link

sky2133 commented Mar 3, 2023

is there a way to fix ? I have the same issue using imported firefox admx on intune, intune console just provided a single line instead multiple text, so that unable to paste the rule using json schedule

@mkaply
Copy link
Collaborator

mkaply commented Mar 3, 2023

I'll reach out to Microsoft again. Unfortunately this is their bug because they aren't honoring the maxLength in the ADMX.

Please raise a support ticket if you can.

@sky2133
Copy link

sky2133 commented Mar 9, 2023 via email

@mkaply
Copy link
Collaborator

mkaply commented Mar 9, 2023

Feel free to let them know they can reach out to me if they want to discuss further.

I'm going to close this since it';s a Microsoft issue.

@mkaply mkaply closed this as completed Mar 9, 2023
@sky2133
Copy link

sky2133 commented Mar 10, 2023 via email

@mkaply
Copy link
Collaborator

mkaply commented Mar 10, 2023

mkaply at mozilla.com

Thanks!

@htcfreek
Copy link
Contributor

Is this bug in intune fixed now?

@mkaply
Copy link
Collaborator

mkaply commented Jul 4, 2024

In order to work around this, I created one line versions of all the JSON policies.

If you search in this document:

https://mozilla.github.io/policy-templates/

for JSONOneLine

you'll find the information.

These should show up when you import the Custom ADMX/ADML

@htcfreek
Copy link
Contributor

htcfreek commented Jul 4, 2024

In order to work around this, I created one line versions of all the JSON policies.

If you search in this document:

https://mozilla.github.io/policy-templates/

for JSONOneLine

you'll find the information.

These should show up when you import the Custom ADMX/ADML

I asked for a policy I implemented in a different project. But I understood the issue wrong. Now I see that it is about the max length per text line.

@mkaply
Copy link
Collaborator

mkaply commented Jul 8, 2024

Max per textline, plus the UI is bad. It should be a multiline text field so you can paste in the JSON in regular format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants