Skip to content

fix: get_participant in meetings client to include tenantId#273

Merged
lilyydu merged 1 commit into
mainfrom
lilyydu/meeting-participant-fix
Feb 10, 2026
Merged

fix: get_participant in meetings client to include tenantId#273
lilyydu merged 1 commit into
mainfrom
lilyydu/meeting-participant-fix

Conversation

@lilyydu

@lilyydu lilyydu commented Feb 9, 2026

Copy link
Copy Markdown
Collaborator

original issue in microsoft/teams.net#276
similiar fix to microsoft/teams.net#277

locally tested:
image

Copilot AI review requested due to automatic review settings February 9, 2026 22:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Microsoft Teams API Meeting client so get_participant can include a tenantId when calling the meetings participants endpoint, aligning behavior with the linked teams.net fix.

Changes:

  • Update MeetingClient.get_participant(...) to accept a tenant_id argument and include it in the request.
  • Update the unit test to pass the new tenant_id argument.
  • Minor formatting change to the Graph dependency ImportError message.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
packages/apps/src/microsoft_teams/apps/routing/activity_context.py Consolidates the Graph ImportError message string formatting.
packages/api/src/microsoft_teams/api/clients/meeting/client.py Extends get_participant to include tenantId in the request.
packages/api/tests/unit/test_meeting_client.py Updates test invocation to pass tenant_id to get_participant.

Comment thread packages/api/src/microsoft_teams/api/clients/meeting/client.py
Comment thread packages/api/src/microsoft_teams/api/clients/meeting/client.py
Comment thread packages/api/src/microsoft_teams/api/clients/meeting/client.py
Comment thread packages/api/tests/unit/test_meeting_client.py
Comment thread packages/api/src/microsoft_teams/api/clients/meeting/client.py

@corinagum corinagum left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just one question. lgtm~

@lilyydu
lilyydu merged commit c0b51ad into main Feb 10, 2026
13 checks passed
@lilyydu
lilyydu deleted the lilyydu/meeting-participant-fix branch February 10, 2026 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants