graph.getAllTranscripts and graph.getAllRecordings response 412

Chao Wang 0 Reputation points Microsoft Employee
2024-06-12T00:14:32.7566667+00:00

https://graph.microsoft.com/beta/me/onlineMeetings/microsoft.graph.getAllTranscripts(meetingOrganizerUserId='xxxx')
https://graph.microsoft.com/beta/me/onlineMeetings/microsoft.graph.getAllRecordings(meetingOrganizerUserId='xxxx')
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
    2024-06-12T02:34:59.6433333+00:00

    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:

    https://learn.microsoft.com/en-us/graph/api/onlinemeeting-getallrecordings?view=graph-rest-beta&tabs=http

    https://learn.microsoft.com/en-us/graph/api/onlinemeeting-getalltranscripts?view=graph-rest-beta&tabs=http

    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.