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

> List channels in a Microsoft Team.

`listChannels` resolves a joined team by exact display name or ID, follows
Microsoft Graph pagination, and returns its channels.

## Example

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

export default automation("List Engineering channels", () => {
  listChannels({ team: "Engineering", limit: 100 })
})
```

## Inputs

| Input     | Type                                                 | Required | Default         | Description                                            |
| --------- | ---------------------------------------------------- | -------- | --------------- | ------------------------------------------------------ |
| `team`    | `string`                                             | Yes      | —               | Exact joined-team display name or team ID.             |
| `limit`   | `number`                                             | No       | `100`           | Maximum returned across Graph pages, from 1 to 10,000. |
| `account` | `string \| IntegrationAccountReference<"microsoft">` | No       | Project default | Microsoft binding.                                     |

## Output

Returns channels with `channelId`, `displayName`, `isArchived` (default false),
and optional `createdAt`, `description`, `email`, `membershipType`, and `webUrl`.
Exact name lookup ignores case and whitespace and fails on missing or ambiguous
matches; IDs avoid that lookup.
