Add members to team action allows add members to the specified team in Microsoft Teams.
Example of Add members to team action configuration on the current site
For more information about Action Builder read Action Builder introduction article.
Note 1: In order to use the Add members to team 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 Add members to team additional properties should be specified:
Configuration
Property | Required | Type | Description |
Team | yes | String | Name or Id of the team. |
Users to add | yes | String | Id or email address or an expression to be evaluated as an email address of the members you want to add to the team. Ids or email address should be separeted with ',' if you add more than one member. |
Add users as owners | no | Boolean |
By default new member inherits permissions available for a member in the selected team. You can add users as owners by choosing the appropriate option:
|
Availability
Modern Forms | List Actions | Scheduled/Triggered Actions |
- | - | ✓ |
Output
Output Parameter | Type | Description |
UsersIDs | Array of strings | Returns the Id of the members as output parameter |
UserNames | Array of strings | Returns names of the members |
UserEmails | Array of strings | Returns emails of the members |