Microsoft Teams Bot icon

Microsoft Teams Bot

Send messages and cards via Microsoft Teams Bot

Chat → Add Member

AI-generated

Summary

Add a new member to an existing Microsoft Teams chat using the Microsoft Graph API via the Teams Bot node.

Inputs

  • Chat ID (required) — The unique Graph chat ID identifying the chat (e.g., 19:...@thread.v2). Bot Framework conversation IDs starting with 'a:' are not accepted.
  • Member JSON (required) — A JSON string representing the conversationMember payload containing properties such as roles, user@odata.bind (reference to the user), visibleHistoryStartDateTime, and tenantId.

Output shape

a single object representing the added chat member as returned by the Microsoft Graph API

The operation requires valid chat ID and a properly formatted JSON member object. The response includes details of the newly added member. Errors may occur if the chat ID is invalid or if the member JSON is malformed.

Examples

Example 1: Add a user as a member to a chat

Specify the 'Chat ID' of the target chat and provide the member info as a JSON string with required properties like user ID binding, roles, and tenant information.

Links

Discussion