meetingAttendanceReport Unknown error 404

Ryan Teo 5 Reputation points

Hello, I'm trying to use Get meetingAttendanceReport (without reportID for now) however, I keep getting an unknown error message every time I call it. My request is authenticated, and the correct permissions are given.

Unlike the beta version where you can search by URL, the current version doesn't allow it. Could it be the meetingId? Is there another api to retrieve the meetingId if it's not in the URL or event code of a teams meeting?

Or is there any other graph api to automatically get the teams meeting attendance?

Thanks in advance!

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

1 answer

Sort by: Most helpful
  1. Saranya Madhu-MSFT 385 Reputation points Microsoft Vendor

    Hi Ryan Teo,

    Thanks for reaching out!

    I can understand that you are trying to get the meetingID to fetch the attendence reports for an onlinemeeting using endpoint- /me/onlineMeetings/{meetingId}/attendanceReports

    To obtain the ID of an online meeting:

    Using the joinWebUrl: Call the following Graph API endpoint:

    GET /me/onlineMeetings?$filter=JoinWebUrl%20eq%20'{joinWebUrl}'

    Using the joinMeetingId:

    GET /me/onlineMeetings?$filter=joinMeetingIdSettings/joinMeetingId%20eq%20'{joinMeetingId}'

    Note: To use application permission for the above-mentioned APIs, tenant administrators must create an application access policy and grant it to a user to authorize the app configured in the policy to fetch online meetings and/or online meeting artifacts on behalf of that user (with user ID specified in the request path).

    You can also subscribe your app to receive change notifications for scheduled meeting events-Refer here

    Currently, to get an attendance report by ID with delegated (/me) and app (/users/{userId}) permission.

    GET /me/onlineMeetings/{meetingId}/attendanceReports/{reportId}

    GET /users/{userId}/onlineMeetings/{meetingId}/attendanceReports/{reportId}

    Document reference:

    Hope this helps.

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

    0 comments No comments