AccessDenied when trying to get Teams recording content

Ricardo Sánchez 60 Reputation points
2023-09-13T22:25:12.27+00:00

This question is about the https://learn.microsoft.com/en-us/graph/api/callrecording-get?view=graph-rest-beta&tabs=http resource

I have created a new app registration that request for the OnlineMeetingRecording.Read.All DELEGATED permission, and my Azure admin approved my request.

When accessing the /me/onlineMeetings/{meetingId}/recordings/{recordingId} endpoint for a given meeting and recording, I'm able to obtain the specific recording details:

{
    "@odata.context": "https://graph.microsoft.com/beta/$metadata#users('xxxxx')/onlineMeetings('[meetingId]')/recordings/$entity",
    "id": "[recordingId]",
    "meetingId": "[meetingId]",
    "meetingOrganizerId": "[meetingOrganizerId]",
    "createdDateTime": "2023-08-30T17:30:46.7647838Z",
    "recordingContentUrl": "https://graph.microsoft.com/beta/users/[userId]/onlineMeetings/[meetingId]/recordings/[recordingId]/content"
}

(ids redacted)

HOWEVER, when trying to hit the /me/onlineMeetings/{meetingId}/recordings/{recordingId}/content for that same meeting and recording, I get:

{
    "error": {
        "code": "accessDenied",
        "message": "Access denied",
        "innerError": {
            "date": "2023-09-13T21:59:36",
            "request-id": "[requestId]",
            "client-request-id": "[client-request-id]"
        }
    }
}

(ids redacted)

Nothing in the documentation covers that scenario, is there something I should ask my Azure Admin to enable? am I missing something? or could this be related to the metered feature?

Thanks in advance!

Microsoft Security | Microsoft Graph
0 comments No comments

Answer accepted by question author
CarlZhao-MSFT 46,456 Reputation points
2023-09-14T09:12:41.2466667+00:00

Hi @Ricardo Sánchez

You may not be the meeting organizer. In delegated permission scenarios, getting callRecording content is supported only for the meeting organizer.

Notes:

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.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.