Skip to main content
listJoinedTeams returns every team joined by the connected Microsoft 365 user. Use it to discover team IDs or validate human-readable team names.

Example

automations/list-teams.automation.ts

Inputs

Only optional account: string | IntegrationAccountReference<"microsoft">, which defaults to the project’s Microsoft binding.

Output

Returns Signal<TeamsTeam[]>. Each team has teamId, displayName, isArchived (default false), and optional description, classification, specialization, visibility, and webUrl. Microsoft Graph does not support this operation for personal Microsoft accounts.