teams channel set
Updates properties of the specified channel in the given Microsoft Teams team
Usage
m365 teams channel set [options]
Options
--teamId [teamId]The ID of the team where the channel to update is located. Specify either
teamIdorteamNamebut not both.--teamName [teamName]The display name of the team where the channel to update is located. Specify either
teamIdorteamNamebut not both.-i, --id [id]The ID of the channel to update. Specify either
idornamebut not both.--name [name]The name of the channel to update. Specify either
idornamebut not both.--newName [newName]The new name of the channel.
--description [description]The description of the channel.
-h, --help [help]Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are
options,examples,remarks,permissions,response,full. Default isoptions.--query [query]JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]Output type.
json,text,csv,md,none. Defaultjson.--verboseRuns command with verbose logging.
--debugRuns command with debug logging.
Examples
Set new description and display name for the specified channel in the given Microsoft Teams team
m365 teams channel set --teamId "00000000-0000-0000-0000-000000000000" --name Reviews --newName Projects --description "Channel for new projects"
Set new display name for the specified channel in the given Microsoft Teams team
m365 teams channel set --teamId "00000000-0000-0000-0000-000000000000" --name Reviews --newName Projects
Response
The command won't return a response on success.