> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# List joined teams

> List Microsoft Teams joined by the connected user.

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

## Example

```ts automations/list-teams.automation.ts theme={null}
import { automation } from "automate.ax"
import { listJoinedTeams } from "automate.ax/teams"

export default automation("List joined teams", () => {
  listJoinedTeams({})
})
```

## 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.
