Meeting Attendance Reports not working properly

Vargiu Paolo 11 Reputation points
2021-12-21T11:30:37.003+00:00

Hi.
It seems like the GET /users/{userId}/onlineMeetings/{meetingId}/attendanceReports function (the last v1.0 version) returns all the attendanceReports of the team events regardless of the specific meeetingID passed as a parameter. Any help?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,504 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ShivaniRai-MSFT-7217 2,741 Reputation points
    2022-01-20T16:02:39.87+00:00

    Hi @Vargiu Paolo ,

    This Endpoint GET /users/{userId}/onlineMeetings/{meetingId}/attendanceReports is working as expected for me. Please check meetingId once again and check whether attendance report generated after meeting ends in teams UI, if the report is there then you should get that report in the response.

    Please check below screenshots for example reference:

    By using GET /users/{userId}/onlineMeetings/{meetingId}/attendanceReports, we can fetch reportId, totalParticipantCount, meetingStartDateTime and meetingEndDateTime.
    166864-attendancereports-li.jpg

    By using GET /users/{userId}/onlineMeetings/{meetingId}/attendanceReports /{ReportId}/attendanceRecords we can further fetch emailAddress of the user, identity of the user associated with this attendance record, role, attendanceIntervals and totalAttendanceInSeconds.
    166891-attendancerecords-li.jpg

    Reference Docs:
    https://learn.microsoft.com/en-us/graph/api/meetingattendancereport-list?view=graph-rest-1.0
    https://learn.microsoft.com/en-us/graph/api/attendancerecord-list?view=graph-rest-1.0

    Hope this helps.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".


Your answer

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