The Get user details action in Microsoft Teams package retrieves Microsoft Teams user information based on user's emai address, UPN and ID. This action retrieves data only for users who are part of your organization or share the same domain.

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.
  • In the Username field, specify the user's email address, user principal name, or unique user ID to retrieve their details.
  • In the Assign user details to variable field, choose either Multiple variables or Dictionary variable to save the user details in the output variable:
    • Multiple variables: Assigns each retrieved value of a specific key (for example, ID, displayName, designation, department, email, userPrincipalName, phone, location, and userType) to a separate variable enabling you to map each user 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.