graph.getAllTranscripts and graph.getAllRecordings response 412

Chao Wang 0 Reputation points Microsoft Employee
Both return 412.
message: "Requested API is not supported in delegated context".

I am testing with Graph Explorer, python client code results in same error.

According to the documentation, it does support delegated context, with OnlineMeetings.Read permissions.
User's image

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

1 answer

Sort by: Most helpful
  1. Yakun Huang-MSFT 2,185 Reputation points Microsoft Vendor

    Hi @Nitin Kumar

    Since this endpoint is a beta, the Api of the beta version is subject to change at any time and does not support the application of the Api in production.

    User's image

    Upon query, no official version 1.0 is currently available for this endpoint.

    After our test, the endpoint may have changed, don't support the use of delegated permissions, so if you need to use the endpoints, please use the application permissions.

    Access to this endpoint not only requires the application permissions mentioned in the documentation OnlineMeetings.Read.All, also need the application permissions OnlineMeetingTranscript. Read. All and OnlineMeetingRecording. Read. All.

    By the way, please use the following request for access.

    GET /users/{usersId}/onlineMeetings/getAllRecordings(meetingOrganizerUserId='{userId}',startDateTime={startDateTime},endDateTime={endDateTime})
    GET /users/{usersId}/onlineMeetings/getAllTranscripts(meetingOrganizerUserId='{userId}',startDateTime={startDateTime},endDateTime={endDateTime})

    Reference link below:

    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.