question

HeathDurrett avatar image
0 Votes"
HeathDurrett asked MattPedersen-5310 answered

Microsoft Edge - ManagedFavorites - GPO

Hi all,

I have a Windows domain running at Server 2016 functional level and I'm testing with Windows 10 Enterprise (1809) LTSC clients fully domain joined, fully updated.

I've installed the latest "Edge for Business" version 84.0.522.48.

I'm trying to configure it with GPO and so far the only GPO that sticks is the start page URL.

Specifically I would like advice on how to use the "ManagedFavorites" GPO to enfore company named folder with about 6 internal URLs assigned.

Below is my GPO settings (edited for privacy)...which do nothing...no Favorites folders or URLs are created?

What else do I need to turn on or configure to get this to work?



[{
"toplevel_name": "MyCompany"
},
{
"url": "http://intranet.mycompany.com/",
"name": "MyCompany Intranet"
},
{
"name": "RDWeb Portals",
"children": [{
"url": "https://internal.mycompnay.com/internalresource01.html",
"name": "Internal1"
},
{
"url": "https://internal.mycompnay.com/internalresource01.html",
"name": "Internal2"
},
{
"url": "https://internal.mycompnay.com/internalresource01.html",
"name": "Internal3"
},
{
"url": "https://internal.mycompnay.com/internalresource01.html",
"name": "Internal4"
},
{
"url": "https://internal.mycompnay.com/internalresource01.html",
"name": "Internal5"
}
]
}
]

windows-group-policyms-edge
· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello,
Thank you for posting here.

1.Would you please tell us how you configure the GPO ?
Computer Configuration\Policy\Administrative Templates\Window Edge\Configure Favorites=>Enabled
2.What do we type under the option "Configure Favorites"?
3.Do you have intune in you AD environment?

Meanwhile, I found a link to configure favorites in intune.
How to leveraged Managed Favorites for Edge on Windows
https://osddeployment.dk/2020/02/02/how-to-leveraged-managed-favorites-for-edge-on-windows/

0 Votes 0 ·

Hi,
If this question has any update or is this issue solved? Also, for the question, is there any other assistance we could provide?
Best Regards,
Daisy Zhou

0 Votes 0 ·

Hi
How are things going on your end? Please keep me posted on this issue.
If you have any further questions or concerns about this question, please let us know.
I appreciate your time and efforts.

Best Regards,
Daisy Zhou

0 Votes 0 ·

Your syntax is different from mine; the instructions in the GP editor differ from those in the documentation, and I think the documentation wins. Each value pair is in the format

 {"name":"<name>","url":"<url>"}

I.e. the order is reversed. Apart from that, the separator is only a comma, not a semi-colon as well as a comma as you seem to have.


0 Votes 0 ·

Thank you Firedog!

I managed to correct my syntax using your example and the documentation link.

No idea why I cannot accept your past as a valid Answer? The button / option is missing???

0 Votes 0 ·

1 Answer

MattPedersen-5310 avatar image
1 Vote"
MattPedersen-5310 answered

I know that I'm a bit late on this one.
However, I thought I would post, in case anyone else stumbles onto this page, looking for a solution to a similar problem.

The examples provided by "HeathDurrett" and "Firedog" both contain legitimate JSON Syntax.
The "Firedog" example contains a single group of Objects (key/value pairs) and therefore, square-brackets are not required.
However, the "HeathDurrett" example, contains Arrays (multiple groups of Objects), which require the use of square-brackets.
I should also Note that, in this case, the value order, in regards to the "url" and "name" pairs, do not matter.

If "HeathDurrett" wanted to use his example, within Group Policy, he would just need to compress his JSON Notation into a Single Line (I also prefer to remove any/all unnecessary spaces, such as those between the key/value pairs), as follows.

 [{"toplevel_name":"MyCompany"},{"url":"http://intranet.mycompany.com/","name":"MyCompany Intranet"},{"name":"RDWeb Portals","children":[{"url":"https://internal.mycompnay.com/internalresource01.html","name":"Internal1"},{"url":"https://internal.mycompnay.com/internalresource01.html","name":"Internal2"},{"url":"https://internal.mycompnay.com/internalresource01.html","name":"Internal3"},{"url":"https://internal.mycompnay.com/internalresource01.html","name":"Internal4"},{"url":"https://internal.mycompnay.com/internalresource01.html","name":"Internal5"}]}]

If you want to Test your JSON Notation, before creating a GPO, you can do so via the Windows Registry Editor.
Simply Open your Text Editor of choice, Paste in the Code Example below (or your own JSON Notation) and Save it as a .REG File.

 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge]
 "ManagedFavorites"="[{\"toplevel_name\":\"MyCompany\"},{\"url\":\"http://intranet.mycompany.com/\",\"name\":\"MyCompany Intranet\"},{\"name\":\"RDWeb Portals\",\"children\":[{\"url\":\"https://internal.mycompnay.com/internalresource01.html\",\"name\":\"Internal1\"},{\"url\":\"https://internal.mycompnay.com/internalresource01.html\",\"name\":\"Internal2\"},{\"url\":\"https://internal.mycompnay.com/internalresource01.html\",\"name\":\"Internal3\"},{\"url\":\"https://internal.mycompnay.com/internalresource01.html\",\"name\":\"Internal4\"},{\"url\":\"https://internal.mycompnay.com/internalresource01.html\",\"name\":\"Internal5\"}]}]"

NOTE:
This is the exact same Registry Key/Value that will be Added, when the resulting GPO, is applied.

When you Double-Click on the .REG File, it should Import the associated Registry Key.
Finally, Open Microsoft Edge, to see that your Managed Favorites have been Added to the Favorites Bar.

Feel free to respond with any Questions or Feedback. I'll be happy to provide my assistance, if needed.

Lastly, as I'm sure you've figured out, already, the reason why the response from "Firedog" couldn't be Set as the Answer, is because he Submitted his response as a "Comment", as opposed to an "Answer".



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.