Forum Discussion
michaelketting
Sep 18, 2019Copper Contributor
GPO for "Allow extensions from other store"
You can manually enable the option to get extensions from other stores. https://techcommunity.microsoft.com/t5/Discussions/Extensions-Chrome-or-Microsoft-Store/m-p/469515/highlight/true#M1602 Is ...
smokie128
Feb 25, 2020Copper Contributor
ashishpoddar Thank you for providing this information.
Is there a way to self-host the extensions that i want to force-install? I want to implement an extension in an air-gapped network where the extension stores aren't available.
Unfortunately, the documentation is incomplete in that regard.
ashishpoddar
Microsoft
Mar 01, 2020smokie128 We are yet to update our documentation for the same. However the Chromium guidelines apply. Here are some high level pointers.
- Create crx file of extension and host it to shared directory (manifest.json file of extension should not contain "key" attribute and should have update_url attribute pointing to correct place). The shared location should not require any authentication else force install will fail.
- Creates updates.xml file with crx file hosted url, version and extension id. (Check this link for details: (https://developer.chrome.com/apps/autoupdate)
- Set up extensionInstallsources policy to whitelist hosted url. (https://docs.microsoft.com/en-us/DeployEdge/microsoft-edge-policies#extensions)
- Set up extenionInstallForcelist policy to forceinstall extension. (https://docs.microsoft.com/en-us/DeployEdge/microsoft-edge-policies#extensions)
Let me know if this works.
- smokie128Aug 12, 2020Copper Contributor
I was able to get everything working as intended in this way.
Anyone else doing this should be aware that this changes the extension ID's, which can lead to problems with extensions that use Native Messaging (e.g. KeePassXC-Browser) - in this case you'd have to add the correct extension ID into the Native Messaging JSON file as an allowed source.
- ashishpoddarAug 12, 2020
Microsoft
smokie128 Glad to know.
I didnt understand what you mean by "Anyone else doing this should be aware that this changes the extension ID's"