Microsoft Teams · Arazzo Workflow

Microsoft Teams Promote Team Member

Version 1.0.0

List a team's members and promote an existing membership to owner.

1 workflow 1 source API 1 provider
View Spec View on GitHub ChatCollaborationCommunicationsMicrosoft-365ProductivityVideo ConferencingArazzoWorkflows

Provider

microsoft-teams

Workflows

promote-team-member
Resolve a membership from the roster and promote it to owner.
Lists the team's members so the caller can resolve the membership id, then updates the supplied membership to the owner role. When the team has no members the flow ends.
2 steps inputs: accessToken, membershipId, teamId outputs: roles
1
listMembers
List the team's members so the caller can confirm and resolve the membership to promote.
2
promoteMember
Patch the supplied membership to grant the owner role.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Microsoft Teams Promote Team Member
  summary: List a team's members and promote an existing membership to owner.
  description: >-
    Promoting an existing member to owner requires resolving the membership id
    from the team roster. This workflow lists the team's members, branches on
    whether any members exist, and patches the supplied membership to grant the
    owner role. Every step spells out its request inline so the flow can be read
    and executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: membersApi
  url: ../openapi/microsoft-teams-members-api-openapi.yml
  type: openapi
workflows:
- workflowId: promote-team-member
  summary: Resolve a membership from the roster and promote it to owner.
  description: >-
    Lists the team's members so the caller can resolve the membership id, then
    updates the supplied membership to the owner role. When the team has no
    members the flow ends.
  inputs:
    type: object
    required:
    - accessToken
    - teamId
    - membershipId
    properties:
      accessToken:
        type: string
        description: OAuth 2.0 bearer token with TeamMember.ReadWrite.All scope.
      teamId:
        type: string
        description: The unique identifier of the team.
      membershipId:
        type: string
        description: The membership id of the member to promote.
  steps:
  - stepId: listMembers
    description: >-
      List the team's members so the caller can confirm and resolve the
      membership to promote.
    operationId: listTeamMembers
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    - name: team-id
      in: path
      value: $inputs.teamId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      members: $response.body#/value
    onSuccess:
    - name: membersExist
      type: goto
      stepId: promoteMember
      criteria:
      - context: $response.body
        condition: $.value.length > 0
        type: jsonpath
    - name: noMembers
      type: end
      criteria:
      - context: $response.body
        condition: $.value.length == 0
        type: jsonpath
  - stepId: promoteMember
    description: >-
      Patch the supplied membership to grant the owner role.
    operationId: updateTeamMember
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    - name: team-id
      in: path
      value: $inputs.teamId
    - name: membership-id
      in: path
      value: $inputs.membershipId
    requestBody:
      contentType: application/json
      payload:
        roles:
        - owner
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      roles: $response.body#/roles
  outputs:
    roles: $steps.promoteMember.outputs.roles

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/microsoft-teams-promote-team-member-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.