Description
When using the parameter teamName instead of teamId in the command m365 teams channel remove . The confirm message is Are you sure you want to remove the channel channelname from team undefined?
the message in the code schould be Are you sure you want to remove the channel ${channel} from team ${args.options.teamId || args.options.teamName}?
Steps to reproduce
execute command m365 teams channel remove with parameter teamName
Expected results
confirm message should be `Are you sure you want to remove the channel channelName from team teamName
Actual results
The confirm message is Are you sure you want to remove the channel channelname from team undefined?
Diagnostics
No response
CLI for Microsoft 365 version
v6.0.0
nodejs version
16.18.0
Operating system (environment)
Windows
Shell
cmd
cli doctor
No response
Additional Info
No response
Description
When using the parameter
teamNameinstead ofteamIdin the commandm365 teams channel remove. The confirm message isAre you sure you want to remove the channel channelname from team undefined?the message in the code schould be
Are you sure you want to remove the channel ${channel} from team ${args.options.teamId || args.options.teamName}?Steps to reproduce
execute command
m365 teams channel removewith parameterteamNameExpected results
confirm message should be `Are you sure you want to remove the channel channelName from team teamName
Actual results
The confirm message is
Are you sure you want to remove the channel channelname from team undefined?Diagnostics
No response
CLI for Microsoft 365 version
v6.0.0
nodejs version
16.18.0
Operating system (environment)
Windows
Shell
cmd
cli doctor
No response
Additional Info
No response