Description
Executing any of the commands of type report are not correctly outputted as JSON. When parsing them using PowerShell you need the ConvertFrom-JSON twice to get propper json, and when running JMESpath queries the CLI crashes (most likely because of invalid JSON.
Steps to reproduce
Run m365 spo report activityuserdetail --period D7 --output json
Expected result
Propper formatted json as
Actual result
Twice stringified json
Environment
N/a
Description
Executing any of the commands of type
reportare not correctly outputted as JSON. When parsing them using PowerShell you need theConvertFrom-JSONtwice to get propper json, and when running JMESpath queries the CLI crashes (most likely because of invalid JSON.Steps to reproduce
Run
m365 spo report activityuserdetail --period D7 --output jsonExpected result
Propper formatted json as
Actual result
Twice stringified json
Environment
N/a