Skip to content

Bug report: Wrong telemtry and validator checks for command onenote notebook list #4315

@MathijsVerbeeck

Description

@MathijsVerbeeck

Description

In the command, the telemetry is containing the wrong options and also it is possible to pass multiple options, which shouldn't be allowed. It will not throw an error, but only return data from the first option.

Steps to reproduce

Run the command m365 onenote notebook list --userId '{id}' --groupId '{id}'.

Expected results

Error because multiple options shouldn't be allowed

Actual results

Results from the first option (In the order that the if in the method getEndpointUrl)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions