teams team list
Lists Microsoft Teams teams in the current tenant
Usage
m365 teams team list [options]
Options
-j, --joined
Show only joined teams.
-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 isfull
.--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]
Output type.
json
,text
,csv
,md
. Defaultjson
.--verbose
Runs command with verbose logging.
--debug
Runs command with debug logging.
Remarks
You can only see the details or archived status of the Microsoft Teams you are a member of.
Examples
List all Microsoft Teams in the tenant.
m365 teams team list
List all Microsoft Teams in the tenant you are a member of.
m365 teams team list --joined
Response
- JSON
- Text
- CSV
- Markdown
[
{
"id": "5dc7ba76-b9aa-4fdd-9e91-9fe7d0e8dca3",
"createdDateTime": "2022-12-08T09:17:55.039Z",
"displayName": "Architecture",
"description": "Architecture Discussion",
"internalId": "19:pLknmKPPkvgeaG0FtegLfjoDINeY3gvmitMkNG9H3X41@thread.tacv2",
"classification": null,
"specialization": "none",
"visibility": "public",
"webUrl": "https://teams.microsoft.com/l/team/19:a5c6eccad3fb401997756a1501d561aa%40thread.skype/conversations?groupId=8090c93e-ba7c-433e-9f39-08c7ba07c0b3&tenantId=dcd219dd-bc68-4b9b-bf0b-4a33a796be35",
"isArchived": false,
"isMembershipLimitedToOwners": false,
"discoverySettings": {
"showInTeamsSearchAndSuggestions": true
},
"memberSettings": {
"allowCreateUpdateChannels": true,
"allowCreatePrivateChannels": true,
"allowDeleteChannels": true,
"allowAddRemoveApps": true,
"allowCreateUpdateRemoveTabs": true,
"allowCreateUpdateRemoveConnectors": true
},
"guestSettings": {
"allowCreateUpdateChannels": false,
"allowDeleteChannels": false
},
"messagingSettings": {
"allowUserEditMessages": false,
"allowUserDeleteMessages": false,
"allowOwnerDeleteMessages": false,
"allowTeamMentions": true,
"allowChannelMentions": true
},
"funSettings": {
"allowGiphy": true,
"giphyContentRating": "moderate",
"allowStickersAndMemes": true,
"allowCustomMemes": false
},
"summary": {
"ownersCount": 1,
"membersCount": 1,
"guestsCount": 0
}
}
]
id displayName isArchived description
------------------------------------ ---------------- ---------- ---------------------------------------
5dc7ba76-b9aa-4fdd-9e91-9fe7d0e8dca3 Architecture false Architecture Discussion
id,displayName,isArchived,description
5dc7ba76-b9aa-4fdd-9e91-9fe7d0e8dca3,Architecture,,Architecture Discussion
# teams team list --joined "true"
Date: 1/3/2023
## Architecture (5dc7ba76-b9aa-4fdd-9e91-9fe7d0e8dca3)
Property | Value
---------|-------
id | 5dc7ba76-b9aa-4fdd-9e91-9fe7d0e8dca3
createdDateTime | null
displayName | Architecture
description | Architecture Discussion
internalId | null
classification | null
specialization | null
visibility | null
webUrl | null
isArchived | false
tenantId | 92e59666-257b-49c3-b1fa-1bae8107f6ba
isMembershipLimitedToOwners | null
memberSettings | null
guestSettings | null
messagingSettings | null
funSettings | null
discoverySettings | null
summary | null