Hi @Kawaldeep Singh
Teams tag is mainly focused on the general issue of Microsoft Teams troubleshooting. According to your description, your question is not in our support scope. Thanks for your understanding and patience.
The following suggestion is for your reference:
- Configure Teams admin policies: Make sure you have configured the appropriate call recording policies in the Microsoft Teams admin center or through PowerShell.
- Using the Teams admin center: Sign in to the Microsoft Teams admin center. In the Voice section, select Call policies. Create or edit an existing policy, making sure Cloud Recording of Calls and Transcription are enabled. Assign the policy to specific user groups.
- Using PowerShell:
Set-CsTeamsCallingPolicy -Identity "PolicyName" -AllowCloudRecordingForCalls $true -AllowTranscriptionForCalling $true Grant-CsTeamsCallingPolicy -PolicyName "PolicyName" -Identity "UserGroup"
- Use the Microsoft Graph API to extract call recordings and metadata.
- Get an access token: Sign in to the Azure portal and navigate to Azure Active Directory Register your app and get the client ID and client secret. Use the OAuth 2.0 flow to get an access token.
- Extract call recordings and metadata:
GET https://graph.microsoft.com/v1.0/communications/callRecords
- Restrict data access: Ensure that API requests are limited to data for specific user groups.
- Use filter parameters to limit the scope of the request:
GET https://graph.microsoft.com/v1.0/communications/callRecords $filter=participants/any(p:p/identity/user/id eq 'UserID')
- In application permissions, grant access only to specific user groups.
- Use filter parameters to limit the scope of the request:
- Data storage and processing: Store extracted data in a secure location and process and analyze as needed. Regularly review and update call recording policies and API permissions to ensure compliance with data privacy and compliance requirements.
References: https://learn.microsoft.com/en-us/microsoftteams/export-teams-content
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.