Overview of the Microsoft Search API in Microsoft Graph
Microsoft Search is an enterprise search engine that delivers productivity gains and relevant search results for your organization. It harnesses the collective knowledge and productivity of an organization, and surfaces relevant content to keep end users up to date. Microsoft Search is available in various experiences including Office, SharePoint, Delve, Windows, and Bing. You can use the Microsoft Search API in Microsoft Graph to extend Microsoft Search to your apps.
Why use the Microsoft Search API?
One unified search endpoint for Microsoft cloud data
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.
Include custom external data in search experience
Use Microsoft Graph connectors to include data outside of the Microsoft cloud in your search experience. For instance, connect to an organization's human resources database or product catalog. Then use the Microsoft Search API to seamlessly query the external data source.
Browse the Microsoft Graph connectors gallery to find ready-to-use connectors. Alternatively, you can build your own connectors to index external custom items and query specific external data sources.
Consistent, up-to-date search experience
When you use the Microsoft Search API, your customers benefit from more personalized, relevant search results powered by Microsoft Graph. The search experience in your apps will return results that are consistent with search in Office applications.
What data can I add or access by using the Microsoft Search API?
The Microsoft Search API supports searching the following content in the Microsoft cloud:
- Outlook email message and calendar event resources.
- SharePoint and OneDrive files and folders (driveItem resources), list, listItem, site, and drive resources.
- Person resources in an organization who are most relevant to a user.
- Content ingested through the Microsoft Graph connectors platform: externalItem resources.
- Administrative search answer resources: acronyms, bookmarks, and QnA resources.
Looking for the API reference for this service?
- Use the Microsoft Search API to query data v1.0
- Use the Microsoft Search API to query data beta
- Use the Microsoft Search API to index data
- Use the Microsoft Search API to manage administrative search answers beta (preview)
- Learn more about Microsoft Search.
- Learn more about a few key use cases:
- Manage connections to index external content
- Index external content
- Search Outlook messages
- Search calendar events
- Search content in SharePoint and OneDrive
- Search external content
- Search with application permissions
- Search person (preview)
- Manage administrative search answers (preview)
- Manage search results layout (preview)
- Refine search results
- Request spelling correction (preview)
- Sort search results
- Use query templates (preview)
- Trim duplicate search results (preview)
- Explore the search APIs in Graph Explorer.
- Download the sample search connector from GitHub.
- Engage with the community on Microsoft Q&A or on GitHub.