Jan 30 2022 09:48 AM - edited Jan 30 2022 09:49 AM
Hello,
I am trying to programmatically (through C#) get a list of attendees, WHILE the Teams Meeting is in progress. I am the owner of the meeting. I wanted to confirm that I was on the right path, as the sample code that I wrote is not returning anything:
- Is this the right documentation for the above scenario? List participants - Microsoft Graph v1.0 | Microsoft Docs. Specifically, is the following the right call to be used?
GraphServiceClient graphClient = new GraphServiceClient( authProvider );
var participants = await graphClient.Communications.Calls["{call-id}"].Participants .Request() .GetAsync();
- Where can I find the [call-id] of the meeting, which is a parameter that needs to be passed in?
- Will the above code snippet work only when the meeting is in session or can I test after meeting as well?
Jan 30 2022 10:27 AM - edited Jan 30 2022 10:29 AM
Hello @abv75 I see that you may have posted this question on the answers.microsoft.com site - does the response work? Getting a list of attendees programmatically, during the Teams Meeting - Microsoft Community
I can tell you that when I'm not the organizer of the meeting and I need an immediate list of members, I screen capture the names in the attendee box. Not elegant, but effective.
Jan 30 2022 10:33 AM
Feb 01 2022 07:04 AM
Feb 02 2022 04:22 AM
@abv75 - The same issue is being tracker here - Getting a list of attendees programmatically, during the Teams Meeting (from Command Line Applicatio.... Please follow this thread.