Forum Discussion
Share MS Teams recording with someone using Graph API
Hi,
There is a requirement to share MS Teams recordings with the required Azure AD users using Graph API. We a Power Automate flow which runs after the meeting sessions end. The requirement is that all recordings related to the that session should be shared with specified users which many vary based on the session configuration.
We have the meeting joining URL and also the meeting ID, long string and not the GUID.
We have tried two approaches using the Graph API.
1) using the approach below we were able to get the meeting records
https://graph.microsoft.com/v1.0/users/84e35ca5-0000-0000-0000-20ef90928402/onlineMeetings/MSo4NGUzNWNhNS02NjM3LTQ4NGEtYmE5MS0yMGVmOTA5MjgwertyMCoqMTk6bWVldGluZ19OR123TlRZMU0ySXRNRGMzT0MwMFl6SXdMVGhoT0RrdFpHTXlOak5pT0dOa05qVTBAdGhyZWFkLnYy/recordings
but this approach is good if you want to get the recording content to copy it to another location, it does not return the OneDrive location.
2) using the following approach we can get the OneDrive path but there is no way to filter the recordings
https://graph.microsoft.com/v1.0/drives/b!u_gscMc-uEeF2AgpET9lx123werdOz1Fg_KTQFlVLnYAXRY1W9IKQqzF7v234rW1/root:/Recordings:/children
so it is not feasible
By using the first approach, we can move the recording to SharePoint and share it from there but considering the recording size, we do not want to use this approach unless there is no other way.
Let me know if there is any other way or if i am missing any thing.