Skip to main content
teams.addChatMember adds and returns a chat member.

Example

automations/teams-add-chat-member.automation.ts

Inputs

Pass the opaque chatId and Microsoft Entra userId. roles defaults to an empty array for a regular member; use ["owner"] for an owner. Optional visibleHistoryStartAt controls the earliest chat history visible to the new member. The optional second argument { account } selects a Microsoft binding.

Output

Adds and returns a chat member. Microsoft Graph IDs are opaque and should be passed through unchanged.