Get channel by name
Find the id of a team's channel from its display name.
Command in the Microsoft 365 toolkit · id ooa.microsoft365/get_channel_by_name · 5 inputs (1 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Access token | Credential | No | Microsoft Graph access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| Team ID | String | No | Team id; or give team_name instead. | |
| Name | String | Yes | Channel display name (not case-sensitive), e.g. General. | |
| Endpoint address | String | No | https://graph.microsoft.com/v1.0 | Graph endpoint; change only for national clouds or testing. |
| Team name | String | No | Team display name (not case-sensitive), among the teams the signed-in user belongs to; used instead of team_id. |
Outputs
| Output | Type | What it is |
|---|---|---|
| channel_id | String | Channel id. |