Currently it's only possible to create a general teams channel. We could extend the existing command teams channel add with following properties.
Options
| Option |
Description |
--type [type] |
Type of channel to create. Possible values: standard, private. Default is standard. |
--owner [owner] |
User UPN. This user is added as owner to the private channel. This option is required when type is private. |
Additional Info
Graph docs: create channel
I chose the choice option type over a boolean like isPrivateChannel because shared channels are already rolling out. So a choice option looks more future proof than a boolean option.
Currently it's only possible to create a general teams channel. We could extend the existing command
teams channel addwith following properties.Options
--type [type]standard, private. Default is standard.--owner [owner]Additional Info
Graph docs: create channel
I chose the choice option
typeover a boolean likeisPrivateChannelbecause shared channels are already rolling out. So a choice option looks more future proof than a boolean option.