ms-graph-search

Search Microsoft 365 files, emails, chats, and calendar items via Microsoft Graph API.

2|Updated Oct 6, 2025
One-click install
npx skills add https://github.com/pauljsnider/ai-config-guide --skill ms-graph-search
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ms-graph-search
Source: https://github.com/pauljsnider/ai-config-guide/tree/main/claude/skills/ms-graph-search
Command: npx skills add https://github.com/pauljsnider/ai-config-guide --skill ms-graph-search

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables rapid discovery of Microsoft 365 data by querying the Microsoft Graph API for files, emails, chats, and calendar items.

Core Features & Use Cases

  • Unified search across OneDrive (driveItem), Outlook messages, Teams chat messages, and calendar events using Graph API.
  • Service-specific queries to locate documents, emails, and conversations efficiently.
  • Use Case: When you need to locate a specific contract email and its related file across your workspace, you can search across Drive, Mail, and Teams in a single query.

Quick Start

Use the Graph Explorer to obtain an access token, then run curl or WebFetch commands replacing TOKEN with your token to perform search queries against the Graph API.

Frequently Asked Questions about ms-graph-search

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

FAQPage Schema
How do I search across Microsoft 365 content like OneDrive and Outlook in a single query?

You can search across Microsoft 365 content by querying the Microsoft Graph API. This approach locates files, emails, and chats across OneDrive, Outlook, and Teams using unified search endpoints in a single request.

What do I need to query the Graph API for Teams chat messages and calendar events?

To query the Graph API for Teams chat messages and calendar events, you need a valid access token. You can obtain this token using the Graph Explorer to authenticate your search requests.

Can I use curl or WebFetch to find specific files and emails in Microsoft 365?

Yes, you can use curl or WebFetch to find Microsoft 365 content. You simply execute search queries against the Graph API endpoints while substituting your valid access token into the request.

Does unified Microsoft 365 search support locating drive items and Outlook messages simultaneously?

Unified Microsoft 365 search does support locating drive items and Outlook messages simultaneously. It applies Graph API endpoints to find files, emails, chats, and calendar items across your workspace efficiently.

What is the best way to locate a specific contract email and its related file across my workspace?

The best way to locate a contract email and related file is using cross-service searches with the Graph API. It allows you to search across Drive, Mail, and Teams concurrently to find related documents.

Are there limitations when using Graph API endpoints for cross-service searches in Microsoft 365?

Graph API cross-service searches require a valid access token and are limited to querying specific entity types like drive items, messages, and chats. You must construct service-specific queries to locate data efficiently.