본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

v2.9 Policy Not allowing Extensions that are allowed to install.

  • 14 답장
  • 1 이 문제를 만남
  • 1 보기
  • 최종 답변자: Mike Kaply

more options

I'm trying to force the install of the Okta extension for users in my environment. I just updated to the latest admx templates and I'm not allowed to install any extensions.

My GPO JSON is as follows:

{

 "*": {
   "blocked_install_message": "Custom error message.",
   "install_sources": ["about:addons","https://addons.mozilla.org/"],
   "installation_mode": "blocked",
   "allowed_types": ["extension"]
 },
 "uBlock0@raymondhill.net": {
   "installation_mode": "force_installed",
   "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi"
 },
 "Okta": {
   "installation_mode": "force_installed",
   "install_url": "https://addons.mozilla.org/firefox/downloads/latest/okta-browser-plugin/latest.xpi"
 },
 "https-everywhere@eff.org": {
   "installation_mode": "allowed"
 }

}

Yes I'm getting the attached image on this when i'm trying to install it manually because it's not auto installing. I'm also getting the same with the allowed uBlock extension.

I'm trying to force the install of the Okta extension for users in my environment. I just updated to the latest admx templates and I'm not allowed to install any extensions. My GPO JSON is as follows: { "*": { "blocked_install_message": "Custom error message.", "install_sources": ["about:addons","https://addons.mozilla.org/"], "installation_mode": "blocked", "allowed_types": ["extension"] }, "uBlock0@raymondhill.net": { "installation_mode": "force_installed", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi" }, "Okta": { "installation_mode": "force_installed", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/okta-browser-plugin/latest.xpi" }, "https-everywhere@eff.org": { "installation_mode": "allowed" } } Yes I'm getting the attached image on this when i'm trying to install it manually because it's not auto installing. I'm also getting the same with the allowed uBlock extension.
첨부된 스크린샷

글쓴이 chris.kasprzak 수정일시

선택된 해결법

Not allowing any extensions to be manually installed is expected since you did:

"installation_mode": "blocked",

This would cover even force_installed extensions because the expectation is that they are already there.

The reason Okta install is failing is because of an incorrect ID:

Add-on downloaded from https://addons.mozilla.org/firefox/downloads/latest/okta-browser-plugin/latest.xpi had unexpected id (got plugin@okta.com expected Okta)

I saw that on the error console.

So change Okta to plugin@okta.com and you should be good.

I also verified that with your configuration I was able to install HTTPS everywhere (https://addons.mozilla.org/en-US/firefox/addon/https-everywhere/)

and everything got auto installed after that change.

문맥에 따라 이 답변을 읽어주세요 👍 0

모든 댓글 (14)

more options

선택된 해결법

Not allowing any extensions to be manually installed is expected since you did:

"installation_mode": "blocked",

This would cover even force_installed extensions because the expectation is that they are already there.

The reason Okta install is failing is because of an incorrect ID:

Add-on downloaded from https://addons.mozilla.org/firefox/downloads/latest/okta-browser-plugin/latest.xpi had unexpected id (got plugin@okta.com expected Okta)

I saw that on the error console.

So change Okta to plugin@okta.com and you should be good.

I also verified that with your configuration I was able to install HTTPS everywhere (https://addons.mozilla.org/en-US/firefox/addon/https-everywhere/)

and everything got auto installed after that change.

more options

What "error console" are you referring to?

F12 console?

I'm trying your changes as I type this.

more options

Sorry, Browser Console

Web Developer->Browser Console or Ctrl+Shift+J

I think the errors also would have shown up in about:policies in the Errors section

more options

So I made the changes and still unable to force the okta Extension.

So I cleared out all the settings under Extension Management and it won't let me install any Extensions still.

Is there something I need to reset in the registry?

more options

No, when you unset ExtensionManagement in GPO, it should go away.

So when you tried:

{

"*": {
  "blocked_install_message": "Custom error message.",
  "install_sources": ["about:addons","https://addons.mozilla.org/"],
  "installation_mode": "blocked",
  "allowed_types": ["extension"]
},
"uBlock0@raymondhill.net": {
  "installation_mode": "force_installed",
  "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi"
},
"plugin@okta.com": {
  "installation_mode": "force_installed",
  "install_url": "https://addons.mozilla.org/firefox/downloads/latest/okta-browser-plugin/latest.xpi"
},
"https-everywhere@eff.org": {
  "installation_mode": "allowed"
}

}

It didn't work?

can you go to about:policies and see if there are any errors?

more options

Well, I've recreated the policy and had it set to disable. But i'm still getting the wrong json settings in that key.

I'm trying your json now.

more options

I put in your json and I'm still getting this version in that registry key.

{

 "*": {
   "blocked_install_message": "Custom error message.",
   "install_sources": ["about:addons","https://addons.mozilla.org/"],
   "installation_mode": "blocked",
   "allowed_types": ["extension"]
 },
 "Okta": {
   "installation_mode": "force_installed",
   "install_url": "https://addons.mozilla.org/firefox/downloads/file/3701928/latest.xpi"
 }

}

I have no where this is coming from as I'm only setting it in the ExtensionSettings Policy setting.

I drop the regkey and I can install everything i want until the gpo kicks back in.

more options

Is it possible you accidentally set that in the machine policy?

What do you see at:

HKEY_CURRENT_USER\SOFTWARE\Policies\Mozilla\Firefox ExtensionSettings versus HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Firefox ExtensionSettings

in the registry?

more options

I'm looking at the HKLM as I'm applying it at machine level. I've removed the policy all together and it still re-pops in after deleting the Mozilla key.

I don't even see it under HKCU.

This is all very odd that it keeps coming down even though I've removed it from the OU.

more options

All right, let's get more detail.

Can you go to about:config and add a new string preference called:

browser.policies.loglevel

and set the value to debug

When you restart, it should give us more detail in the browser console as to where it's getting those values.

If you're up for it, we could jump on a screenshare and I'll help figure it out.

more options

After much trouble shooting and trying various resets on the client I went down all the policies applied to my workstation and noticed that there were Firefox settings in the policy that isn't for Firefox.

I'm working good now thank you for the assist!

more options

I do have one more question, wasn't there a extension that will give me the IDs of all the extensions? I thought I saw that in the documentation a bit ago.

Also is there a way to setup non-firefox hosted plugins like www.enpass.io ? It appears they aren't in the add-on store.

글쓴이 chris.kasprzak 수정일시

more options

> I do have one more question, wasn't there a extension that will give me the IDs of all the extensions? I thought I saw that in the documentation a bit ago.

This addon shows you IDs and download URLs on AMO:

https://github.com/mkaply/queryamoid/releases

> Also is there a way to setup non-firefox hosted plugins like www.enpass.io ? It appears they aren't in the add-on store.

Yes. You can download and install it and then go to about:debugging and it will show you the addon ID. (spoiler alert -it's firefox-enpass@enpass.io ) And then you can install it like any other addon using their XPI URL.

https://dl.enpass.io/stable/extensions/firefox/versions/v6.6.0-8/enpass-firefox-6.6.0.xpi

more options

Also, when you get a chance, can you pick the best reply that solves your problem?