Sign in

Add member to team

documented

Add a member to the team (reference to directoryObject). ([learn.microsoft.com](https://learn.microsoft.com/en-us/graph/teams-create-group-and-team?utm_source=openai))

POST /teams/{team-id}/members/$refTeamsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://graph.microsoft.com/v1.0/teams/{{$team_id}}/members/\$ref" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"@odata.id": "https://graph.microsoft.com/v1.0/directoryObjects/{{$user_id}}"}'