Skip to content

teams team set

Updates settings of a Microsoft Teams team

Usage

teams team set [options]

Options

Option Description
--help output usage information
-i, --teamId <teamId> The ID of the Microsoft Teams team for which to update settings
--displayName [displayName] The display name for the Microsoft Teams team
--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
-o, --output [output] Output type. json|text. Default text
--verbose Runs command with verbose logging
--debug Runs command with debug logging

Remarks

Attention

This command is based on an API that is currently in preview and is subject to change once the API reached general availability.

Examples

Set Microsoft Teams team visibility as Private

teams team set --teamId '00000000-0000-0000-0000-000000000000' --visibility Private

Set Microsoft Teams team classification as MBI

teams team set --teamId '00000000-0000-0000-0000-000000000000' --classification MBI