Description
Right now it is possible to pass any value as --channelId option.
Steps to reproduce
Run m365 teams channel member set --teamId {teamId} --channelId "Invalid ID" --userName {userName} --role owner.
Expected results
Should show an error saying that the --channelId value is invalid.
Actual results
Graph error.
Diagnostics
No response
CLI for Microsoft 365 version
v5.2.0
nodejs version
v16.11.1
Operating system (environment)
Windows
Shell
Windows PowerShell
cli doctor
No response
Additional Info
No response
Description
Right now it is possible to pass any value as
--channelIdoption.Steps to reproduce
Run
m365 teams channel member set --teamId {teamId} --channelId "Invalid ID" --userName {userName} --role owner.Expected results
Should show an error saying that the
--channelIdvalue is invalid.Actual results
Graph error.
Diagnostics
No response
CLI for Microsoft 365 version
v5.2.0
nodejs version
v16.11.1
Operating system (environment)
Windows
Shell
Windows PowerShell
cli doctor
No response
Additional Info
No response