Get mp4 and transcript of a MS Teams call
I have created an application in the Azure portal -> Azure Active Directory -> App registrations. The main goal of the app is to receive an event every time a recording is complete in MS Teams. This application has the following permissions:
I created a subscription using this endpoint:
curl -XPOST -H "Content-type: application/json" -d '{
"changeType": "created",
"notificationUrl": "https://example.com/msteamsrecordingcompleted",
"resource": "communications/callRecords",
"expirationDateTime": "2021-06-06T00:00:00.0000Z"
}' 'https://graph.microsoft.com/v1.0/subscriptions'
Once I finish a call recording, some seconds/minutes later I receive the event in the webhook I registered in the subscription API, and in the JSON payload I can read the call record ID.
I though using Microsoft Graph, I could get the details of this recording with the ID coming in the event that included the .mp4 file I could download. I've read this is not available in Microsoft Graph API, but with the Microsoft Streams API.
My question is: how can I access the .mp4 and transcript of a MS Teams recording with Microsoft Graph?
Also, if my app is registered within the Azure Portal, how can I get access from the user's Microsoft Stream? Is there any special permission I may be missing?
Thanks in advance for your help.