Skip to content

Bug report: tenant report results are not correctly parsed as json #2534

Description

@appieschot

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions