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)
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
ifin the methodgetEndpointUrl)