Skip to content

teams guestsettings list

Lists guest settings for a Microsoft Teams team

Usage

m365 teams guestsettings list [options]

Options

-i, --teamId
The ID of the team for which to get the guest settings
-h, --help [help]
Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are options, examples, remarks, response, full. Default is full.
--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
Output type. json,text,csv. Default json
--verbose
Runs command with verbose logging
--debug
Runs command with debug logging

Examples

Get guest settings for a Microsoft Teams team

m365 teams guestsettings list --teamId 2609af39-7775-4f94-a3dc-0dd67657e900

Response

{
  "allowCreateUpdateChannels": false,
  "allowDeleteChannels": false
}
allowCreateUpdateChannels: false
allowDeleteChannels      : false
allowCreateUpdateChannels,allowDeleteChannels
,