Skip to main content

teams messagingsettings list

Lists messaging settings for a Microsoft Teams team

Usage

m365 teams messagingsettings list [options]

Options

-i, --teamId

The ID of the team for which to get the messaging 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 options.

--query [query]

JMESPath query string. See http://jmespath.org/ for more information and examples.

-o, --output [output]

Output type. json, text, csv, md, none. Default json.

--verbose

Runs command with verbose logging.

--debug

Runs command with debug logging.

Examples

Get messaging settings for a Microsoft Teams team.

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

Response

{
"allowUserEditMessages": true,
"allowUserDeleteMessages": true,
"allowOwnerDeleteMessages": true,
"allowTeamMentions": true,
"allowChannelMentions": true
}
CTRL + M