Priority
(Low) Something is a little off
Description
When running m365 outlook calendar get without specifying userId or userName, the command doesn't fail validation and tries to execute with an error:
Steps to reproduce
- log in and execute command
m365 outlook calendar get without specifying either userId or userName
Expected results
The command should fail validation and tell that I need to specify either userId or userName. or, it should follow calendargroup-list pattern and allow execution without userId or userName
Actual results
Command executes and fails with "Error: The requested user 'undefined' is invalid."
Diagnostics
No response
CLI for Microsoft 365 version
v11.7.0-beta.ba78c1f
nodejs version
24.12.0
Operating system (environment)
Windows
Shell
PowerShell
cli doctor
No response
Additional Info
No response
Priority
(Low) Something is a little off
Description
When running
m365 outlook calendar getwithout specifyinguserIdoruserName, the command doesn't fail validation and tries to execute with an error:Steps to reproduce
m365 outlook calendar getwithout specifying eitheruserIdoruserNameExpected results
The command should fail validation and tell that I need to specify either
userIdoruserName. or, it should followcalendargroup-listpattern and allow execution withoutuserIdoruserNameActual results
Command executes and fails with "Error: The requested user 'undefined' is invalid."
Diagnostics
No response
CLI for Microsoft 365 version
v11.7.0-beta.ba78c1f
nodejs version
24.12.0
Operating system (environment)
Windows
Shell
PowerShell
cli doctor
No response
Additional Info
No response