In the articles below I’m sharing my techniques on searching in Microsoft 365 SharePoint and Teams from application using Microsoft Graph API.
Specifically I’m covering
- Microsoft Graph search API
- Microsoft.Graph PowerShell module
- PnP.PowerShell module
In two flavors:
- Search on behalf of currently authenticated user
- Unattended Search with daemon (also called service) applications
Index of my articles on the subject:
- Search Microsoft 365 content programmatically: Index
- Search Microsoft 365 content programmatically: Use-case scenarios
- Authentication to Microsoft Graph:
Azure Registered Apps Authentication Platform configuration, Certificates and Secrets - Authorization to Microsoft Graph: Azure Registered Apps API permissions
- Calling Microsoft Graph Search API from code as current user
- Calling Microsoft Graph Search API from daemon/service app
- Using Microsoft.Graph PowerShell module to Search in Microsoft 365
- Using PnP.PowerShell module to Search in Microsoft 365
Video tutorials
- Search Microsoft 365 Programmatically – PlayList
- Calling MS Graph Search API from PowerShell with Interactive Authentication
- Calling MS Graph Search API from PowerShell with App Authentication
- Search through Microsoft 365 Teams and SharePoint with PnP.PowerShell module
- Search through Microsoft 365 Teams and SharePoint using Microsoft.Graph PowerShell
Pingback: Search M365 content from code use-cases ⋆ Microsoft 365 engineering
Pingback: Using Microsoft.Graph PowerShell to Search in Microsoft 365 ⋆ Vladilen
Pingback: How to Find Content Shared with Everyone in SharePoint and Teams ⋆ Vladilen
Pingback: Search through Microsoft 365 SharePoint from code
Pingback: Using Microsoft Graph Search API: user context ⋆ Vladilen
Pingback: Search in SharePoint using Microsoft Graph API with application credentials ⋆ Vladilen
Pingback: Authentication to Microsoft Graph: Azure Registered Apps Certificates and Secrets ⋆ Vladilen
Pingback: Authorization to Microsoft Graph: Azure Registered Apps API permissions ⋆ Vladilen