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
Sep 29, 2021Copper Contributor
Hi ChetanSharma-msft, thanks for the response,
I have tried the below APIs
calender event API
https://docs.microsoft.com/en-us/graph/api/event-get?view=graph-rest-1.0&tabs=http
groups list member API
https://docs.microsoft.com/en-us/graph/api/group-list-members?view=graph-rest-1.0&tabs=http
with the below API permissions,
Calendars.Read, Calendars.Read.Shared, email, Group.Read.All, offline_access, openid, profile, User.Read
By the way, while writing this reply, I have found that there is another API to get online meeting info
https://docs.microsoft.com/en-us/graph/api/onlinemeeting-get?view=graph-rest-1.0&tabs=http
But I am not sure whether this will work with teams azure auth token.
If you know the correct API could you please post it with the required permission and scopes (I want to get meeting attendees in a meeting extension which a meeting created inside MS-Teams )
Thank you
Prithvi-MSFT
Microsoft
Sep 29, 2021Hi @priyantha123,
You can get meeting details using below graph API
https://docs.microsoft.com/en-us/graph/api/onlinemeeting-get?view=graph-rest-1.0&tabs=http
You can get permission details here https://docs.microsoft.com/en-us/graph/api/onlinemeeting-get?view=graph-rest-1.0&tabs=http#permissions
Can you try this API once and let us know if it works for you ?
Thanks
You can get meeting details using below graph API
https://docs.microsoft.com/en-us/graph/api/onlinemeeting-get?view=graph-rest-1.0&tabs=http
You can get permission details here https://docs.microsoft.com/en-us/graph/api/onlinemeeting-get?view=graph-rest-1.0&tabs=http#permissions
Can you try this API once and let us know if it works for you ?
Thanks
- priyantha125Sep 29, 2021Copper Contributor
Hi Prithvi-MSFT ,
Thanks for the suggestion. I have tried both APIs under onlineMeeting. But unfortunately, I am still getting the original issue I have mentioned at the beginning of this discussion (Meeting Id is corrupted)APIs I have tested
GET /me/onlineMeetings/{meetingId}
GET /users/{userId}/onlineMeetings/{meetingId}
I have attached postman screenshots herewith- Prithvi-MSFTSep 30, 2021
Microsoft
Hi priyantha125,
We are able to repro this at our end ang getting similar error. If we try to create new meeting from graph API and then fetch the details its working. However for meeting id obtained from getContext its giving error. Let me confirm this internally and get back to you.
Thanks