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

Mohannad Alahdab 1 Reputation point
2021-01-22T13:08:13.99+00:00

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
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,582 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Deva-MSFT 2,256 Reputation points Microsoft Employee
    2021-01-25T20:22:10.327+00:00

    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.