Graph API call getting content of callRecording with OnlineMeetingRecording.Read.Chat returns ERROR
Yusuke Tada
0
Reputation points
Graph API returns 401 Error and error code is "UnknownError" (whole error text is written in attachment.)
- 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
Microsoft Security | Microsoft Graph
An API that connects multiple Microsoft services, enabling data access and automation across platforms
Sign in to answer