Skip to main 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 [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 information about the Microsoft Teams team by id.

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

Get information about Microsoft Teams team by name.

m365 teams team get --name "Team Name"

Response

{
"id": "2eaf7dcd-7e83-4c3a-94f7-932a1299c844",
"createdDateTime": "2022-10-31T12:50:42.819Z",
"displayName": "Team Name",
"description": "Team Name Discussion",
"internalId": "19:2soiTJiLJmUrSi94Hr23ZwcN9uWFWjE3EGYb5bFsyy41@thread.tacv2",
"classification": null,
"specialization": "none",
"visibility": "public",
"webUrl": "https://teams.microsoft.com/l/team/19%3a2soiTJiLJmUrSi94Hr23ZwcN9uWFWjE3EGYb5bFsyy41%40thread.tacv2/conversations?groupId=2eaf7dcd-7e83-4c3a-94f7-932a1299c844&tenantId=92e59666-257b-49c3-b1fa-1bae8107f6ba",
"isArchived": false,
"isMembershipLimitedToOwners": false,
"discoverySettings": {
"showInTeamsSearchAndSuggestions": true
},
"summary": null,
"memberSettings": {
"allowCreateUpdateChannels": true,
"allowCreatePrivateChannels": true,
"allowDeleteChannels": true,
"allowAddRemoveApps": true,
"allowCreateUpdateRemoveTabs": true,
"allowCreateUpdateRemoveConnectors": true
},
"guestSettings": {
"allowCreateUpdateChannels": false,
"allowDeleteChannels": false
},
"messagingSettings": {
"allowUserEditMessages": true,
"allowUserDeleteMessages": true,
"allowOwnerDeleteMessages": true,
"allowTeamMentions": true,
"allowChannelMentions": true
},
"funSettings": {
"allowGiphy": true,
"giphyContentRating": "moderate",
"allowStickersAndMemes": true,
"allowCustomMemes": true
}
}
CTRL + M