graph-sharepoint-search

Search SharePoint and OneDrive documents via Microsoft Graph queries.

Updated Apr 6, 2026
One-click install
npx skills add https://github.com/tluisguereroItesm/agentec-skills --skill graph-sharepoint-search
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: graph-sharepoint-search
Source: https://github.com/tluisguereroItesm/agentec-skills/tree/main/skills/graph-sharepoint-search
Command: npx skills add https://github.com/tluisguereroItesm/agentec-skills --skill graph-sharepoint-search

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires graph_sharepoint_search.

What problem does it solve?

Quickly locate documents, contracts, reports, and policies across SharePoint and OneDrive using Microsoft Graph search, eliminating scattered searches and manual browsing.

Core Features & Use Cases

  • Search across SharePoint and OneDrive with keyword queries and topic filters.
  • List organization sites and provide quick access to relevant repositories.
  • Handle authentication flow via device code to securely obtain access.

Quick Start

Ask the AI to perform a Microsoft Graph-based search query across SharePoint and OneDrive.

Frequently Asked Questions about graph-sharepoint-search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search for documents across SharePoint and OneDrive?

You can search for documents across SharePoint and OneDrive by using Microsoft Graph keyword queries and topic filters to quickly locate contracts, reports, and policies. This eliminates scattered manual browsing by retrieving targeted file content directly.

How does Microsoft Graph search handle authentication for SharePoint files?

Microsoft Graph search handles authentication for SharePoint files using a device code flow. You must securely obtain access by completing the auth-login and auth-poll actions before querying your organization's available sites and content repositories.

Can I list available SharePoint sites before running a targeted document search?

Yes, you can list available SharePoint sites before running a targeted document search. This feature provides quick access to relevant repositories, allowing you to scope your Microsoft Graph keyword queries to specific organizational locations.

What is the best way to locate specific contracts and policies in Microsoft 365?

The best way to locate specific contracts and policies in Microsoft 365 is using Microsoft Graph search to query SharePoint and OneDrive. It filters documents by specific keywords or topics, instantly retrieving relevant corporate files without manual browsing.

Do I need a specific tool to find reports and minutes on OneDrive?

Yes, you need the graph_sharepoint_search tool to find reports and minutes on OneDrive. It executes the Microsoft Graph queries required to locate these specific document types across your configured organizational repositories.

Why does my SharePoint document search return no results?

Your SharePoint document search may return no results if authentication via the device code flow is incomplete. You must successfully finish the auth-login and auth-poll process to securely obtain the Microsoft Graph access required for content retrieval.