When you look at the command spo applicationcustomizer get, in the result we have a property called Rights which is a JSON object.
Currently, we are stringifying this JSON object when it's returned from the API. There is no need to stringify this property, let's output it as a proper JSON property.
The output should look something like:
{
"ClientSideComponentId": "7096cded-b83d-4eab-96f0-df477ed7c0bc",
"ClientSideComponentProperties": "",
"CommandUIExtension": null,
"Description": null,
"Group": null,
"Id": "14125658-a9bc-4ddf-9c75-1b5767c9a337",
"ImageUrl": null,
"Location": "ClientSideExtension.ApplicationCustomizer",
"Name": "Some customizer",
"RegistrationId": null,
"RegistrationType": 0,
"Rights": {
"High": 0,
"Low": 0
},
"Scope": "Web",
"ScriptBlock": null,
"ScriptSrc": null,
"Sequence": 0,
"Title": "Some customizer",
"Url": null,
"VersionOfUserCustomAction": "16.0.1.0"
}
When you look at the command spo applicationcustomizer get, in the result we have a property called
Rightswhich is a JSON object.Currently, we are stringifying this JSON object when it's returned from the API. There is no need to stringify this property, let's output it as a proper JSON property.
The output should look something like:
{ "ClientSideComponentId": "7096cded-b83d-4eab-96f0-df477ed7c0bc", "ClientSideComponentProperties": "", "CommandUIExtension": null, "Description": null, "Group": null, "Id": "14125658-a9bc-4ddf-9c75-1b5767c9a337", "ImageUrl": null, "Location": "ClientSideExtension.ApplicationCustomizer", "Name": "Some customizer", "RegistrationId": null, "RegistrationType": 0, "Rights": { "High": 0, "Low": 0 }, "Scope": "Web", "ScriptBlock": null, "ScriptSrc": null, "Sequence": 0, "Title": "Some customizer", "Url": null, "VersionOfUserCustomAction": "16.0.1.0" }