Add Member

Add a member to a Microsoft Teams.

Input

Field Definition Type Required
User
ID Unique ID of the user. String TRUE
Role User's role in the team. Choose from owner or member. Dropdown TRUE
Team
ID Unique ID of the team. String TRUE

Output

Field Definition Type
Membership ID Unique ID of members and owners of the team. String
User ID Unique identifier of the user. String
Email Email address for sending messages to the channel. String
Display Name Display name of the team. String
Roles Role of the user in the team. Possible values are owner or member. List of Strings
Tenant ID Microsoft Teams identifier for the tenant. String
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