简体   繁体   中英

How can we query the MS Graph API to access the Teams data folders at their storage location?

The documentation for Teams indicates that the data is stored in various locations across the MS Azure systems. For example:

  • One-to-one and Group chats are stored in Exchange, in "hidden folders" that are only accessible by an admin
  • Files sent in chats are stored on OneDrive in a folder called "Microsoft Teams Chat Files"

Using the Graph Explorer, I have been able to query for the list of chat messages directly. But due to permission constraints in my app, I need to know how I can reach the actual storage location of these files for retrieval. How do I query for and list the contents of the "hidden folders" in that store the chat messages?

There is no API to access the chats stored in hidden folders. You can get chats using Graph API only. Get chatMessage in a channel or chat

Please go through List mailFolders . Use includeHiddenFolders=true to include hidden mail folders in the response.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM