Add Member and Welcome
A 3-step recipe with Microsoft Teams. We can help you get access.
Recipe · 3 steps
Add Member and Welcome
with Microsoft Teams
Add a user to a team and greet them in a channel.
- List the team's channels to confirm a target channel exists before adding the member and posting a welcome.
- Add the user to the team with the member role.
- Post the welcome message into the chosen channel.
What you'll need to have ready
- accessToken: OAuth 2.0 bearer token with TeamMember.ReadWrite.All and ChatMessage.Send scopes.
- teamId: The unique identifier of the team.
- userId: The id of the user to add to the team.
- channelId: The channel id to post the welcome message into.
- welcomeMessage: The HTML body of the welcome message.
For your developer
Arazzo workflow microsoft-teams:add-member-and-welcome, 3 operations: listChannels → addTeamMember → sendChannelMessage. Specs on APIs.io.