question

engmoh-3069 avatar image
0 Votes"
engmoh-3069 asked saldana-msft edited

Are sharepoint, onedrive, teams and outlook attachments using the same location / storage to save the whole files and documents?

I want to use ms graph API to search documents and files content over (SharePoint, Teams, Outlook Attachments, OneDrive) and I am wondering if all these documents and files are saved in one place to search?

microsoft-graph-teamworkmicrosoft-graph-mailmicrosoft-graph-sites-listsmicrosoft-graph-search
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Added right tags!!

0 Votes 0 ·

1 Answer

Deva-MSFT avatar image
0 Votes"
Deva-MSFT answered engmoh-3069 commented

You can use the Microsoft Search API provides one unified search endpoint that you can use to query data in the Microsoft cloud - messages and events in Outlook mailboxes, and files on OneDrive and SharePoint - that Microsoft Search already indexes. You can search messages, OneDrive/Sharepoint info etc.


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for your reply,
I have tried MS graph search API but there is no API for search documents in Teams messages channels, is that available?
And I am still wondering, are SharePoint, Teams and OneDrive using the same storage, if that is correct so I can search them all in one request?

0 Votes 0 ·

Up till now I cannot find a way to search files in Teams channels and messages. However, I think Team channel is a SharePoint list so if that is correct I can use ms graph SharePoint API to search in Teams files, is that correct?

0 Votes 0 ·