Get team members action allows to get list of members from the specified team in Microsoft Teams.
Example of Get team members action configuration on the current site
For more information about Action Builder read Action Builder introduction article.
Note 1: In order to use the Get team members action in Scheduled/Triggered Actions skybow Teams Connector has to be approved by a tenant administrator and site has to be added to Approved sites list before this action can be used. Learn more about skybow M365 Connectors
Note 2: When you deploy the solution to another SharePoint tenant, it requires approval of skybow Teams Connector on the deployment tenant as well.
To configure the action Get team members additional properties should be specified:
Configuration
| Property | Required | Type | Description |
|---|---|---|---|
| Team | yes | String | Name, Id or email of the team should be specified |
Availability
| Modern Forms | List Actions | Scheduled/Triggered Actions |
|---|---|---|
| - | - | ✓ |
Output
| Output Parameter | Type | Description |
|---|---|---|
| TeamID | String | Returns the Id of the team as output parameter and can be used in subsequent actions. |
| Members | Array of objects | Returns array of objects with retrieved members |
Example:
To use this output and set the value to the text field open Expression builder and use Assignment expression:
[[@Actions.Get_team_members.Members]][0].Email
This expression will return the Email property of the first object.