Skip to main content

teams team set

Updates settings of a Microsoft Teams team

Usage

m365 teams team set [options]

Options

-i, --id [id]

The ID of the Microsoft Teams team for which to update settings.

-n, --name [name]

The display name for the Microsoft Teams team for which to update settings.

--description [description]

The description for the Microsoft Teams team.

--mailNickName [mailNickName]

The mail alias for the Microsoft Teams team.

--classification [classification]

The classification for the Microsoft Teams team.

--visibility [visibility]

The visibility of the Microsoft Teams team. Valid values Private, Public.

-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

Set Microsoft Teams team visibility.

m365 teams team set --id "00000000-0000-0000-0000-000000000000" --visibility Private

Set Microsoft Teams team classification.

m365 teams team set --id "00000000-0000-0000-0000-000000000000" --classification MBI

Response

The command won't return a response on success.

CTRL + M