Skip to content

teams team get

Gets information about the specified Microsoft Teams team

Usage

m365 teams team get

Options

-i, --id [id]
The ID of the Microsoft Teams team to retrieve information for. Specify either id or name but not both
-n, --name [name]
The display name of the Microsoft Teams team to retrieve information for. Specify either id or name but not both
-h, --help
output usage information
--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
Output type. json,text. Default text
--verbose
Runs command with verbose logging
--debug
Runs command with debug logging

Examples

Get information about the Microsoft Teams team with id 2eaf7dcd-7e83-4c3a-94f7-932a1299c844

m365 teams team get --id 2eaf7dcd-7e83-4c3a-94f7-932a1299c844

Get information about Microsoft Teams team with name Team Name

m365 teams team get --name "Team Name"