Add members to channel action allows add members to the specified channel in Microsoft Teams.
Example of Add members to channel 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 channel 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 channel additional properties should be specified:
Configuration
Property | Required | Type | Description |
Team | yes | String | Id or Name of the team should be specified |
Channel | yes | String | Id or Name of the channel should be specified |
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 channel. Ids or email address should be separated 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 user ids from azure of the members as output parameter and can be used in subsequent actions. |
UserNames | Array of strings | Returns names of the members |
UserEmails | Array of strings | Returns emails of the members |