Forum Discussion
chrisfellows
Jun 12, 2023Copper Contributor
Get the folder location for Teams chat files and folders for users in different countries
I have an unattended Dot NET Core app (v7.0) for our company and I need to use Graph SDK (or the REST API directly) to delete old Teams chat files and chat recordings for 1 to 1s and meetings but not...
Prasad_Das-MSFT
Microsoft
Jun 12, 2023chrisfellows - Using get chat message API we can get the callRecordingUrl as a message, since meeting recordings are stored in OneDrive we have to use driveitem-get-content.
As of now we don't have option to get meetings recordings directly with Teams API.
chatMessage https://learn.microsoft.com/en-us/graph/api/resources/chatmessage?view=graph-rest-1.0
evenMessageDetail https://learn.microsoft.com/en-us/graph/api/resources/eventmessagedetail?view=graph-rest-1.0
callRecordingEventMessageDetail https://learn.microsoft.com/en-us/graph/api/resources/callrecordingeventmessagedetail?view=graph-rest-1.0
There is no way programmatically to identify the names of the folders containing the user's recordings and chat files.
Thanks,
Prasad Das
------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link.
- chrisfellowsJun 12, 2023Copper Contributor
Am I correct that, for non-English users, the folder names will be the non-English translation of "Microsoft Teams Chat Files" and "Recordings"? Is the list available anywhere?
I can use Google Translate but may be the translation might sometimes be slightly different to the actual folder name.- Prasad_Das-MSFTJun 14, 2023
Microsoft
chrisfellows - There is no official documentation available anywhere.