How to retrieve Teams meeting metadata and participant logs

Theo 0 Reputation points
2025-11-08T05:44:18.0766667+00:00

Hi everyone, I’m building a Microsoft Teams tab app that runs inside the meeting context (similar to Zoom apps), and I need help accessing meeting metadata directly from the frontend.

Here’s what I’m trying to retrieve from the meeting context:

  • ✅ The meeting ID, meeting title and join URL (to trigger a Recall.ai bot join)
  • ✅ The organizer ID
  • ✅ The participant list and their join/leave timestamps

Questions:

Is there any way to retrieve meeting metadata and participant info directly from the frontend SDK, without using Graph API or backend integration?

  1. If Graph API is the only way, what’s the correct flow to:
    • Map the SDK context.meeting.id to a Graph-compatible ID?
    • Retrieve joinWebUrl, organizer.id, and participant logs?

Any working examples or best practices would be hugely appreciated. I’m trying to avoid backend complexity and keep everything inside the Teams meeting tab if possible.

Thanks!

Microsoft Teams | Microsoft Teams Free | Calls
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2025-11-08T05:44:33.2566667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To retrieve Teams meeting metadata and participant logs, you can utilize the Microsoft Teams JavaScript client library (TeamsJS) and the Microsoft Bot Framework SDK. Here’s how you can achieve your goals:

    1. Meeting Metadata:
      • You can use the Get meeting details API to retrieve the meeting ID, title, and join URL. This API allows you to get information about the meeting directly from the Teams context.
      • Example code to get meeting details:
             const meetingDetails = await TeamsInfo.getMeetingInfo(context);
             console.log(meetingDetails);
        
      • The meetingDetails object will contain properties such as details.id, details.title, and details.joinUrl.
    2. Organizer ID:
      • The organizer's ID can also be retrieved from the meeting details using the same API. Look for the organizer.id property in the response.
    3. Participant List and Timestamps:
      • For participant information, you can use the Get participant API. This API allows you to fetch participant details by meeting ID and participant ID.
      • Example code to get participant information:
             const participantInfo = await TeamsInfo.getMeetingParticipant(context, participantId);
             console.log(participantInfo);
        
      • Note that you will need to handle the join and leave timestamps separately, as this information may not be directly available through the SDK.

    Graph API Usage:

    If you find that you need to use the Graph API for additional functionality, you can follow these steps:

    • Mapping SDK Context to Graph ID: The context.meeting.id can be used to retrieve the corresponding Graph-compatible ID by making a call to the Graph API endpoint for meetings.
    • Retrieving Additional Information: You can use the Graph API to get the joinWebUrl, organizer.id, and participant logs by querying the relevant endpoints.

    Best Practices:

    • Keep your app's logic modular to handle both SDK and Graph API calls effectively.
    • Ensure that you manage permissions properly to access meeting and participant information.

    By using the TeamsJS library along with the Bot Framework SDK, you can minimize backend complexity and keep most of your logic within the Teams meeting tab.


    References:

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.