After Successful online meeting unable to get attendance report‎ using api https://graph.microsoft.com/v1.0/users/${UserId}/onlineMeetings/${meetingId}/attendanceReports

Info Omniwish 20 Reputation points
2024-10-15T05:54:42.6833333+00:00

In my node application I am using graph online meeting API to create online meeting. But since few days I am using https://graph.microsoft.com/v1.0/users/${UserId}/onlineMeetings/${meetingId}/attendanceReports api to get attendance report I am not able to get online meeting attendance report. For the reference I have attached screenshot of api responace.

Microsoft Security | Microsoft Graph
{count} votes

1 answer

Sort by: Most helpful
  1. Hitesh Pachipulusu - MSFT 3,620 Reputation points Microsoft External Staff
    2024-10-15T09:00:25.6366667+00:00

    Hello Info Omniwish,

    Thank you for reaching out to Microsoft Support!

    It sounds like you're having trouble retrieving the attendance report for your online meeting using the Microsoft Graph API. Here are a few things to check:

    1. Permissions: Ensure that your application has the necessary permissions. For retrieving attendance reports, you need the OnlineMeetingArtifact.Read.All permission.
    2. Correct Endpoint: Verify that you are using the correct endpoint. The endpoint should look like this:
         GET /users/{userId}/onlineMeetings/{meetingId}/attendanceReports
      
    3. Authorization: Make sure you include a valid Bearer token in your request header:
         Authorization: Bearer {token}
      
    4. Meeting Organizer: Only the meeting organizer or co-organizer can access the attendance report.
    5. Application Permissions: To use application permission for this API, tenant administrators must create an application access policy and grant it to a user. This authorizes the app configured in the policy to fetch online meetings and/or online meeting artifacts on behalf of that user (with the user ID specified in the request path). Please refer documentation.

    I have tested the API from my end and its working as expected. Please refer below screenshot.

    image (35)

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any 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.