Access Teams Phone Call Recordings via API
Hey, guys.
I might need some help here because I’m just getting familiarized with the Teams API.
In our application, we allow Microsoft Admin user to grant an Admin Consent to their tenant, so we could access all organization users data at once instead of having every user to connect individually.
The requirement right now is to sync PSTN calls made with Teams Phone into the app. And we also need to get call recordings and transcriptions of the calls.
I have tried to add all sort of “application” level permissions like “OnlineMeetingRecording.Read.All”, “OnlineMeetingTranscript.Read.All”, file read permissions etc. with no luck.
Whenever I call “/v1.0/users/{user_id}/onlineMeetings/{call_id}/recordings”, I’m getting an error:
“Application is not allowed to perform operations on the user ‘{user_id}’, neither is allowed access through RSC permission evaluation.”
Is it possible to have some kind of application wide permissions admin can grant to have access to the recordings and transcriptions for all organization?
And one more question, in the List PSTN calls there’s no way to tell if the call have an associated recording or transcription record, right? I’m just thinking of the most optimal way to get available recordings instead of calling “/recordings” API for every call record..
Hey, guys.I might need some help here because I’m just getting familiarized with the Teams API.In our application, we allow Microsoft Admin user to grant an Admin Consent to their tenant, so we could access all organization users data at once instead of having every user to connect individually.The requirement right now is to sync PSTN calls made with Teams Phone into the app. And we also need to get call recordings and transcriptions of the calls.I have tried to add all sort of “application” level permissions like “OnlineMeetingRecording.Read.All”, “OnlineMeetingTranscript.Read.All”, file read permissions etc. with no luck.Whenever I call “/v1.0/users/{user_id}/onlineMeetings/{call_id}/recordings”, I’m getting an error:”Application is not allowed to perform operations on the user ‘{user_id}’, neither is allowed access through RSC permission evaluation.”Is it possible to have some kind of application wide permissions admin can grant to have access to the recordings and transcriptions for all organization?And one more question, in the List PSTN calls there’s no way to tell if the call have an associated recording or transcription record, right? I’m just thinking of the most optimal way to get available recordings instead of calling “/recordings” API for every call record.. Read More