capabilities.work

Onboard Team Member

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

Recipe · 2 steps

Onboard Team Member

Add a member to a team and promote them to owner.

  1. Add the user to the team with the member role and capture the membership id returned by Microsoft Graph.
  2. Patch the new membership to grant the owner role to the user just added.
What you'll need to have ready
  • accessToken: OAuth 2.0 bearer token with TeamMember.ReadWrite.All scope.
  • teamId: The unique identifier of the team.
  • userId: The id of the user to add to the team.
For your developer

Arazzo workflow microsoft-teams:onboard-team-member, 2 operations: addTeamMember → updateTeamMember. Specs on APIs.io.