Skip to content

graph teams channel set

Updates properties of the specified channel in the given Microsoft Teams team

Usage

graph teams channel set [options]

Options

Option Description
--help output usage information
-i, --teamId <teamId> The ID of the team where the channel to update is located
--channelName <channelName> The name of the channel to update
--newChannelName [newChannelName] The new name of the channel
--description [description] The description of the channel
-o, --output [output] Output type. json|text. Default text
--verbose Runs command with verbose logging
--debug Runs command with debug logging

Important

Before using this command, log in to the Microsoft Graph, using the graph login command

Remarks

To update properties of a specified channel in the given Microsoft Teams team, you have to first log in to the Microsoft Graph using the graph login command, eg. graph login.

Examples

Set new description and display name for the specified channel in the given Microsoft Teams team

graph teams channel set --teamId "00000000-0000-0000-0000-000000000000" --channelName Reviews --newChannelName Projects --description "Channel for new projects"

Set new display name for the specified channel in the given Microsoft Teams team

graph teams channel set --teamId "00000000-0000-0000-0000-000000000000" --channelName Reviews --newChannelName Projects