fix: get_participant in meetings client to include tenantId#273
Merged
Conversation
Contributor
There was a problem hiding this comment.
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 atenant_idargument and include it in the request. - Update the unit test to pass the new
tenant_idargument. - 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. |
MehakBindra
approved these changes
Feb 9, 2026
corinagum
reviewed
Feb 10, 2026
corinagum
approved these changes
Feb 10, 2026
corinagum
left a comment
Contributor
There was a problem hiding this comment.
just one question. lgtm~
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
original issue in microsoft/teams.net#276
similiar fix to microsoft/teams.net#277
locally tested:
