teams.onChatMemberEvent subscribes to Microsoft Graph change notifications.
Example
automations/teams-on-chat-member-event.automation.ts
Options
Pass{ chatId: "chat-id" }. chatId is the opaque provider ID. Optional account selects a Microsoft binding.
Event
Runs when a chat member is added or removed. The event includeschangeType, resourceType, resourceId, contextual team/channel/chat IDs, and normalized data when Graph still exposes the resource. Deletions are ID-only tombstones.
Teams subscriptions are short-lived and Automate.ax renews them automatically.