Add Member to Channel

Add a member to a Microsoft Teams channel. Members can only be added to private channels.

Input

Field Definition Type Required
User
ID Unique ID of the user. String TRUE
As Owner? If true, the user is added to the channel as an owner. If false the user is added to the channel as a member. Boolean FALSE
Team
ID Unique ID of the team. String TRUE
Channel      
ID Unique ID of the channel. String TRUE

Output

Field Definition Type
ID Unique ID of the conversation member. String
Display Name Display name of the member. String
Roles Role of the user in the team. Possible values are owner or if the roles input field is left blank, members is returned by default. List of Stings
Email Email address for sending messages to the channel. String
User ID Unique identifier of the user. String
Visible History Start Date Time Timestamp denoting how far back a conversation's history is shared with the conversation members. Date and Time
Status Code Result of the operation. The HTTP status code is returned by the connector and indicates whether the action taken by the card succeeded or failed. For example:
  • A 201 Created status code indicates success where a new resource was created.
  • A 403 Forbidden error indicates that the HTTP request was not processed because the necessary permissions were missing.

For a full list of possible status codes, see HTTP status codes.

Number

Related topics

Microsoft Teams connector

About the elements of Okta Workflows

Microsoft Teams API overview