capabilities.work

Provision Channel

A 3-step recipe with Microsoft Teams. We can help you get access.

Recipe · 3 steps

Provision Channel

Create a channel in an existing team and seed it with a first message.

  1. Read the target team to confirm it exists and is reachable before creating a channel inside it.
  2. Create a new standard channel in the confirmed team using the supplied name and description.
  3. Post an opening HTML message into the newly created channel so it has initial content.
What you'll need to have ready
  • accessToken: OAuth 2.0 bearer token with Channel.Create and ChatMessage.Send scopes.
  • teamId: The unique identifier of the team to create the channel in.
  • channelName: The display name of the new channel.
  • channelDescription: A description for the new channel.
  • messageContent: The HTML body of the opening message to post.
For your developer

Arazzo workflow microsoft-teams:provision-channel, 3 operations: getTeam → createChannel → sendChannelMessage. Specs on APIs.io.