Forum Discussion
Accessing Meeting Participant List via a Teams App (not a Bot)?
Hi everyone,
I'm currently working on a Microsoft Teams App (not a bot), and I'm trying to figure out if it's possible to programmatically access the participant list of a meeting - either during or after the meeting - directly from within the app context.
Here are my specific questions:
Is it possible for a Teams app (not a bot) to access the list of meeting participants?
If yes, what are the required conditions (e.g. permissions, app manifest settings, API endpoints, etc.)?
Are there any restrictions regarding the app context (e.g. does it have to be running in a meeting side panel, meeting stage, etc.)?
If anyone has experience with this or can clarify whether this is possible at all, I’d greatly appreciate your input!
Thanks in advance,
Michael
4 Replies
- MRingtunatusCopper Contributor
Yes, we are actually developing a tab app for Microsoft Teams! The app uses the Teams JavaScript SDK and can be used both as a personal tab and in a meeting context.
However, we use our own approach for participant management during meetings: we use our own backend system. The app automatically recognizes the meeting context via the Teams SDK and then manages the participant information via our own infrastructure. This means that we only receive participants who are registered in our system - but we have to record ALL participants and display them in our application.- Prasad_Das-MSFT
Microsoft
You can use the Teams JavaScript SDK to get the current participant list, but only when your tab is running in a meeting context (side panel or stage). The SDK does not provide participant info after the meeting ends.
Your app must be running in a meeting context (meetingSidePanel, meetingStage, etc.).
"context": [
"meetingSidePanel",
"meetingStage"
]Personal tab context:
You cannot access meeting participants from a personal tab; only from a tab running in a meeting context.SDK Limitations:
The SDK only provides participant info while the meeting is active and the tab is open in the meeting.Graph API:
For after-meeting access, you must use the Graph API, which requires user/admin consent and proper permissions.Since you currently only track participants registered in your own backend, to display all meeting participants in your app, you must use the Teams JS SDK’s getMeetingParticipants() method when your tab is running in a meeting.
Thanks,
Prasad Das
------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.
- MRingtunatusCopper Contributor
Yes, we are actually developing a tab app for Microsoft Teams! The app uses the Teams JavaScript SDK and can be used both as a personal tab and in a meeting context.
However, we use our own approach for participant management during meetings: we use our own backend system. The app automatically recognizes the meeting context via the Teams SDK and then manages the participant information via our own infrastructure. This means that we only receive participants who are registered in our system - but we have to record ALL participants and display them in our application. - Prasad_Das-MSFT
Microsoft
Hi MRingtunatus , thanks for raising your issue. Are you developing any tab app? You can access the participant list from a Teams app (not a bot) during a meeting using the Teams JavaScript SDK, but only if your app is running in the meeting context.