Use current Team ID in Flow

Copper Contributor

Hi,

I am relatively new to MS Teams and Flow and have a question relating to whether or not it is possible to dynamically fetch the Team ID of the team in which a Flow has been initiated. Here is the scenario:

 

  • We want to create a team template containing a generic Flow
  • This template will be used to create multiple teams for student study groups (I am in the Education sector)
  • The purpose of the Flow would be to call the Graph API, get some details about the team, then make subsequent calls to the learning management system to then syncronise group / team membership
  • The trigger for the Flow will be schedule based to periodically keep membership in Sync between Teams and the Learning Management System

So rather than having to hardcode the specific Team ID into the Flow, I'd like to be able to dynamically fetch this, store it in a variable, then use it in subsequent API calls. Hope this makes sense

0 Replies