Skip to main content

List teams

List the Microsoft Teams teams the user belongs to.

Command in the Microsoft 365 toolkit · id ooa.microsoft365/list_teams · 3 inputs, 2 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Access tokenCredentialNoMicrosoft Graph access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token.
UserStringNomeme, or a user's id or email address.
Endpoint addressStringNohttps://graph.microsoft.com/v1.0Graph endpoint; change only for national clouds or testing.

Outputs​

OutputTypeWhat it is
tableTableColumns: id, name, description.
countNumberHow many rows the table has.