Forum Discussion
priyantha125
Sep 22, 2021Copper Contributor
Teams Meeting Extension - Side Panel App - How to get attendees emails list
Hi Community, We are developing a Microsoft Teams meeting extension. In order to embedded details related to our system info, we need to get the emails list of attendees of the specific meeting. ...
- Oct 11, 2021The meetingId exposed by the Teams Client SDK differs from the meeting id exposed in Graph. However, you should be able to get the Graph meeting id by making a call to
- GET /chats/{chat-id}?$select=onlineMeetingInfo
https://docs.microsoft.com/en-us/graph/api/chat-get?view=graph-rest-beta&tabs=http#example-4-get-the-meeting-details-of-a-chat-associated-with-a-microsoft-teams-meeting - There after use the following request to get the OnlineMeeting resource:
GET /users/{userId}/onlineMeetings?$filter=joinWebUrl eq '{joinWebUrl}'
You would get the {chat-id} for #1 from a call into Teams Client SDK.
Response to #2 will give you the correct Graph OnlineMeetingId in case you want to store a mapping for later.
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.
- GET /chats/{chat-id}?$select=onlineMeetingInfo
priyantha125
Oct 28, 2021Copper Contributor
Prasad_Das-MSFT
Thanks and your suggested way is worked perfectly. One disadvantage is we have to make 2 HTTP calls using the joining URL, hope that MS will introduce a single endpoint for this in the future with teams SDK
priyantha125
Nov 05, 2021Copper Contributor
In case if someone wants to get the attendee emails list, There is an easy way to get the selected meeting attendees list. The above solution (/onlineMeeting with join URL filter) returns the attendees list but not emails. UPNs are there, but UPNs are not always the same as email addresses. If you want to get the email list of a Microsoft team meeting, as @Prasad_Das-MSFT suggested first call,
GET /chats/{chat-id}?$select=onlineMeetingInfo
and get the calendarEventId and use it with below API call
GET me/events/{calendarEventId } (need Calendars.Read permission)
This will return attendees info with email address and name