Get team details action

The Get team details action in the Microsoft Teams package enables you to retrieve detailed information about a specific team such as the team’s ID, name, description, channelsCount, membersCount, and webURL, allowing your automation to reference, manage, or interact with the team in subsequent actions.

Settings

  • Use the Session name field to select one of the following options:
    • Session name: Enter the name of the session you used in the Connect action.

      (Optional) Click the Insert a value icon to select an existing variable that you have used to store the Microsoft Teams session name.

    • Variable: Enter the name of the variable that you have used to store the session name.
  • Specify one of the following options to retrieve the Team details:
    • Team name: Specify the name of the Team.
    • Team ID: Specify the Team ID. To retrieve the Team ID, see Get team by name action

    You can add a string variable or add the input in plain text.

  • In the Assign the team details to variable field, choose either Multiple variables or Dictionary variable to save the output:
    • Multiple variables: Assigns each retrieved value (for example, ID, name, channelsCount, membersCount and webURL) to a separate variable enabling you to map each team detail to a specific variable. Do following steps for each variable:
      • Click Add variable mapping.
      • Enter the Key of the variable.
      • In the Map to variable field, choose a variable where the data will be saved.
      • Click Add for this data to be saved to the configured variable.
    • Dictionary: stores all values in a dictionary object with key-value pairs.