How can i fetch the LIVE participants of a teams meeting just by using the api with rest or powershell?

XEO 11 Reputation points
2022-05-25T17:13:23.437+00:00

We try to get live information about the current participants of a meeting (multiple times during the meeting).
Yet unable to fetch these participants during the meeting. So far only after the meeting, which is not recent enough.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,216 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,815 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,907 questions
{count} votes

7 answers

Sort by: Most helpful
  1. Kalvin Nguyen 0 Reputation points
    2024-04-16T21:35:46.2033333+00:00

    Were you ever able to get any live participant data out of the browser ? Thinking of using a similar implementation but i'm not seeing any user data we could use ie. email or MS id.

    0 comments No comments

  2. XEO 11 Reputation points
    2024-04-16T22:16:27.0333333+00:00

    Hi @Kalvin Nguyen

    We used a Playwright browser to programmatically open teams, log in, bypass a little bit of bot protection, join the call and read the names of everyone currently in the call.

    It works surprisingly well for our use case.

    But i have never seen more data from these users. It's totally possible though, that we just didn't look for it (the name was enough for us)

    In teams, if you hover a name, u will usually get some sort of pop-up with more user information. I believe that may be a way to go.

    Calling the teams apis from JavaScript utilizing the logged in credentials sounds also feasible. But these remained a black box for me. I was never able to find the correct endpoints to call.