Actions11
Team Member → Add
AI-generatedSummary
Add a user as a member to a Microsoft Teams team.
Inputs
- teamId (required) — Select the team from the list, by URL, or by ID (the ID is the groupId parameter in the URL you get from Get a link to the team). Modes: From List (searchable, searchListMethod: getTeams), From URL (regex-validated Microsoft Teams URL), By ID (GUID regex). Default: {mode: 'list', value: ''}.
- userId (required) — Select the user from the list or enter their ID. Modes: From List (searchable, searchListMethod: getUsers), By ID (GUID regex). Default: {mode: 'list', value: ''}.
Output shape
The Microsoft Graph API response from POST /v1.0/teams/{teamId}/members, returned as the result of the httpRequestWithAuthentication call. Typically the created team member object with @odata.type, roles, and user@odata.bind fields.
The operation consumes the teamId and userId parameters, constructs a body with @odata.type '#microsoft.graph.aadUserConversationMember', roles: [], and user@odata.bind set to the user ID, then performs a POST to /v1.0/teams/{teamId}/members.