Microsoft Teams · Arazzo Workflow

Microsoft Teams Inventory Team Collaboration

Version 1.0.0

Snapshot a team's members, channels, and installed apps in one pass.

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

Provider

microsoft-teams

Workflows

inventory-team-collaboration
List a team's members, channels, and installed apps.
Reads the team's members, then its channels, then its installed apps, to produce a complete collaboration inventory snapshot.
3 steps inputs: accessToken, teamId outputs: channels, installedApps, members
1
listMembers
listTeamMembers
List the team's members for the collaboration inventory.
2
listChannels
listChannels
List the team's channels for the collaboration inventory.
3
listApps
listInstalledApps
List the apps installed in the team for the collaboration inventory.

Source API Descriptions

Arazzo Workflow Specification

microsoft-teams-inventory-team-collaboration-workflow.yml Raw ↑
arazzo: 1.0.1
info:
  title: Microsoft Teams Inventory Team Collaboration
  summary: Snapshot a team's members, channels, and installed apps in one pass.
  description: >-
    Governance and compliance reviews often need a full picture of who is in a
    team, where they collaborate, and which apps are installed. This workflow
    enumerates the team's members, channels, and installed apps to produce a
    single collaboration inventory. 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: teamsApi
  url: ../openapi/microsoft-teams-graph-api.yaml
  type: openapi
workflows:
- workflowId: inventory-team-collaboration
  summary: List a team's members, channels, and installed apps.
  description: >-
    Reads the team's members, then its channels, then its installed apps, to
    produce a complete collaboration inventory snapshot.
  inputs:
    type: object
    required:
    - accessToken
    - teamId
    properties:
      accessToken:
        type: string
        description: OAuth 2.0 bearer token with TeamMember.Read.All, Channel.ReadBasic.All, and TeamsAppInstallation.ReadForTeam.All scopes.
      teamId:
        type: string
        description: The unique identifier of the team to inventory.
  steps:
  - stepId: listMembers
    description: >-
      List the team's members for the collaboration inventory.
    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
  - stepId: listChannels
    description: >-
      List the team's channels for the collaboration inventory.
    operationId: listChannels
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    - name: team-id
      in: path
      value: $inputs.teamId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      channels: $response.body#/value
  - stepId: listApps
    description: >-
      List the apps installed in the team for the collaboration inventory.
    operationId: listInstalledApps
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    - name: team-id
      in: path
      value: $inputs.teamId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      installedApps: $response.body#/value
  outputs:
    members: $steps.listMembers.outputs.members
    channels: $steps.listChannels.outputs.channels
    installedApps: $steps.listApps.outputs.installedApps