An API that connects multiple Microsoft services, enabling data access and automation across platforms
Hi Tejas Chaudhari,
Thank you for reaching out to Microsoft!
Currently file types like .json may not appear in the insights/shared API response when shared from Teams Groups.
The inconsistency arises because OneDrive and Teams Groups use different underlying storage mechanisms. OneDrive is primarily a personal storage service, while Teams Groups leverage SharePoint for file storage.
Use the /teams/{team-id}/channels/{channel-id}/filesFolder endpoint to list files shared in a specific channel.
Since this functionality is not available at the moment, you can submit a feature request using this support link. The Microsoft team will monitor these requests and consider enhancements to the Microsoft Graph APIs. I'll also upvote your request to support it.
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment