Bug Description
When importing the generated JSON into a GPO policy setting ("Configure favorites"), the GPO editor only displays [ as the policy value instead of the full JSON array. The generated JSON file itself appears to be correct (as visible in a text editor), but the value is not properly stored/imported into the GPO.
Expected Behavior
The GPO policy setting "Configure favorites" should contain the full JSON array with all favorites entries (toplevel items and URLs).
Steps to Reproduce
- Generate favorites JSON using ManagedFavsGenerator
- Open Group Policy Management Editor
- Navigate to the "Configure favorites" policy setting
- Import / paste the generated JSON
- Confirm and reopen the policy setting
Result: The policy value shows only [ instead of the complete JSON.
Environment
- Windows (GPO via Group Policy Management Editor)
- Generated JSON example:
[
{
"toplevel_name": "managedFavs"
},
{
"name": "Citrix",
"url": "https://citrix.com"
},
{
"name": "Wiki",
"url": "https://wikipedia.org"
},
{
"name": "Copilot",
"url": "https://m365.cloud.microsoft/chat"
}
]
Logs or Error Messages
No explicit error message — the GPO editor silently truncates the value to [.
Additional Context
Screenshot shows the GPO editor displaying only [ as the value for "Configure favorites", while the Notepad in the background shows the complete and valid JSON content.
Possible causes:
- JSON value exceeds a character limit for GPO string policies
- Special characters or encoding issue causes early termination
- The JSON needs to be on a single line (minified) for GPO compatibility
Bug Description
When importing the generated JSON into a GPO policy setting ("Configure favorites"), the GPO editor only displays
[as the policy value instead of the full JSON array. The generated JSON file itself appears to be correct (as visible in a text editor), but the value is not properly stored/imported into the GPO.Expected Behavior
The GPO policy setting "Configure favorites" should contain the full JSON array with all favorites entries (toplevel items and URLs).
Steps to Reproduce
Result: The policy value shows only
[instead of the complete JSON.Environment
[ { "toplevel_name": "managedFavs" }, { "name": "Citrix", "url": "https://citrix.com" }, { "name": "Wiki", "url": "https://wikipedia.org" }, { "name": "Copilot", "url": "https://m365.cloud.microsoft/chat" } ]Logs or Error Messages
No explicit error message — the GPO editor silently truncates the value to
[.Additional Context
Screenshot shows the GPO editor displaying only
[as the value for "Configure favorites", while the Notepad in the background shows the complete and valid JSON content.Possible causes: