Skip to content

Bug report: output for reports is not consistent #5040

@plamber

Description

@plamber

Priority

(Low) Something is a little off

Description

During a code review I noticed that the outputs for the reports are not consistent. For example, the O365GroupReportActivityDetailCommand that inherits from DateAndPeriodBasedReport is returning for text, csv, and markdown the same output.

It is true that this command has json and csv as only options, but then we should decide to either format this output for text and markdown or by "disabling" this type of output for the command altogether.

Steps to reproduce

  • run any report command (e.g. o365group report activitydetail) using the text, markdown, and csv output. It will always return the CSV output

Expected results

The decision is up to the team. Either format these outputs or return a message that this output type is not supported for that command

Actual results

Text, csv, and markdown output is the same

Diagnostics

No response

CLI for Microsoft 365 version

latest

nodejs version

latest

Operating system (environment)

Windows

Shell

PowerShell

cli doctor

No response

Additional Info

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions