Broadcast to Joined Team Channel
A 3-step recipe with Microsoft Teams. We can help you get access.
Recipe · 3 steps
Broadcast to Joined Team Channel
with Microsoft Teams
From the user's joined teams, resolve a channel and post a broadcast.
- List the teams the current user has joined so the caller can confirm the target team is reachable.
- List the channels in the chosen joined team to confirm the target channel exists before posting.
- Post the broadcast message into the chosen channel.
What you'll need to have ready
- accessToken: OAuth 2.0 bearer token with Team.ReadBasic.All, Channel.ReadBasic.All, and ChatMessage.Send scopes.
- teamId: The id of one of the user's joined teams to broadcast into.
- channelId: The channel id to post the broadcast message to.
- broadcastMessage: The HTML body of the broadcast message.
For your developer
Arazzo workflow microsoft-teams:broadcast-to-joined-team-channel, 3 operations: listJoinedTeams → listChannels → sendChannelMessage. Specs on APIs.io.