Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

No cookies to display.

Pages Menu
TwitterRssFacebook

Posted by on Apr 23, 2021 in Development, Microsoft Teams

How to: Get the Meeting Attendance Report of a meeting using Graph API

How to: Get the Meeting Attendance Report of a meeting using Graph API

There’s a new API call which has been added to the Graph API recently for Microsoft Teams meetings. This allows you to retrieve the “Meeting Attendance Report” for a specified meeting:

  • who the meeting organiser is, and their attendance time
  • each individual attendee, their role, and their attendance time
  • where a user leaves and re-joins, the intervals of attendance (start/end times)
  • for each attendee: tenant Id, display name, user Id

Meeting attendance reports are available for all meetings apart from live events. You can’t get to them until the meeting has ended, and you need to be the meeting organiser to access them.

(for live events, there are separate API calls to get recordings and attendee reports)

Permissions needed: OnlineMeetings.Read or OnlineMeetings.ReadWrite

You can use Application permissions, but only through the use of an application access policy.

How to use

For a specified meeting, call /meetingAttendanceReport, for example:

GET https://graph.microsoft.com/beta/me/onlineMeetings/MSpkYz..R1Yy/meetingAttendanceReport

This API call is in Beta right now, and so should not be considered for production use.

More details on the Microsoft Docs site.

Written by Tom Morgan

Tom is a Microsoft Teams Platform developer and Microsoft MVP who has been blogging for over a decade. Find out more.
Buy the book: Building and Developing Apps & Bots for Microsoft Teams. Now available to purchase online with free updates.

6 Comments

  1. This new feature seems not working right now with application permissions and application access policy (Code: Forbidden).

    Works great with delegated permissions.

  2. Hi!

    Thanks for a great article!

    I managed to get this working using the Graph Explorer, but when I use the keys for my application (tried both delegated and application-permissions) I get “forbidden” back from the API.

    Are you sure that this should work with Application permissions? Have you tested it? =D

    Cheers!

  3. You need to have delegated permissions to get this attendance report. Is there any way to get it using application permissions?

  4. Is there a way to automatically trigger the retrieval of the attendance report? I can’t seem to find any sort of way to set up a subscription to a “meeting ended” event.

  5. Hi Tom,

    Thanks so much for this article. How does one go about finding the meeting ID for an Outlook meeting.

    Warm Regards,
    Aryan

  6. Really useful article. Thanks for sharing!

    Are you able to clarify a something for me:

    “you need to be the meeting organiser to access them.”

    Does this mean I cannot access the report via application permissions on behalf of a user who has shared their calendar with me (the admin)?

Post a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Share to Microsoft Teams