Forum Discussion
Policy to set managed storage for an extension in Chromium Edge for Mac
Kelly_Y hi, we have the same problem 😞
I couldn't find docs on how to manage "managed storage" for our extensions in Edge on Mac.
(I did find how to manage extensions in general - but it's not the same!)
So the detailed question is: how to prepare plist config for Edge on Mac to achieve chromium functionality: https://www.chromium.org/administrators/configuring-policy-for-extensions/
MichalZieba Hi! Microsoft Edge does support the use of chrome.storage.managed API. The team is aware there is no official documentation and it is on their roadmap to work on the documentation, but currently there is no ETA. I will pass on your feedback.
Have you tried the example previously mentioned in the thread by Nir_WalkMe ?
Thanks!
-Kelly
- MichalZiebaNov 18, 2022Copper Contributor
Kelly_Y Thanks for the quick reply, I appreciate it a lot.
We're using a similar config for policies for Chrome/Edge on Windows and Chrome on Macs.
Sadly, only setting values for managed storage on Mac for Edge doesn't work. We tried a couple of possible variants, but none seems to work. That's why I was asking for docs.
API of the browser works, but we cannot set these values from the system perspective via plist.
Would be great to know what is the correct plist policy naming/schema to inject these values into managed storage. For Chromium it's com.google.Chrome.extensions.<ExtensionID>
- Kelly_YNov 18, 2022
Microsoft
MichalZieba Let me check with the team, I'll follow up with any information from them. Thanks!
-Kelly
- Kelly_YNov 22, 2022
Microsoft
MichalZieba I just heard back from the team. They said that the PLIST should be named as com.microsoft.Edge.extensions.<extension_id>.
The team has provided a sample file but Tech Community has a limitation to the type of files that can be shared and it is not letting me upload the plist file. I'll include the information directly here.
Title: com.microsoft.Edge.extensions.okmamjclngbafeplaapaihlcjiaplgom.plist
File Contents:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>TestKey</key> <string>ValueChrome</string> </dict> </plist>-Kelly