teams guestsettings set
Updates guest settings of a Microsoft Teams team
Usage
m365 teams guestsettings set [options]
Options
-i, --teamId <teamId>The ID of the Teams team for which to update settings
--allowCreateUpdateChannels [allowCreateUpdateChannels]Set to
trueto allow guests to create and update channels and tofalseto disallow it--allowDeleteChannels [allowDeleteChannels]Set to
trueto allow guests to create and update channels and tofalseto disallow it
-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
Allow guests to create and edit channels
m365 teams guestsettings set --teamId '00000000-0000-0000-0000-000000000000' --allowCreateUpdateChannels true
Disallow guests to delete channels
m365 teams guestsettings set --teamId '00000000-0000-0000-0000-000000000000' --allowDeleteChannels false
Response
The command won't return a response on success.