Graph API call getting content of callRecording with OnlineMeetingRecording.Read.Chat returns ERROR

Yusuke Tada 0 Reputation points
2025-11-17T01:19:44.91+00:00

Graph API returns 401 Error and error code is "UnknownError" (whole error text is written in attachment.)

error_401.txt

  • Trying to get content of callRecording and above error occurs.
    https://learn.microsoft.com/en-us/graph/api/callrecording-get?view=graph-rest-1.0&tabs=python
      /users/{userId}/onlineMeetings/{meetingId}/recordings/{recordingId}/content
    
  • Using code is same as the sample code in documents.
      from msgraph import GraphServiceClient
      result = await graph_client.users.by_user_id('user-id').online_meetings.by_online_meeting_id('onlineMeeting-id').recordings.by_call_recording_id('callRecording-id').get()
      
    
  • Using RSC of "OnlineMeetingRecording.Read.Chat" grant with the manifest.json of the teams bot, and other grants such as "ChatMember.Read.Chat" are working correctly.
  • No error occurs when calling API to get metadata of callRecording
      /users/{userId}/onlineMeetings/{meetingId}/recordings/{recordingId}
    
  • When using "OnlineMeetingRecording.Read.All" with same code, can get content successfully, but its grant is too strong for our service. I am supposed to use RSC grants

I assume it is either a kind of bug, or required setting is missing.

I would be grateful if you could help me. Thank you,

Microsoft Security | Microsoft Graph
{count} votes

Your answer

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