microsoft-graph-api

Reference Microsoft Graph API endpoints, authentication, and integration patterns.

1|1|Updated Nov 20, 2025
One-click install
npx skills add https://github.com/fabioc-aloha/AIRS_Data_Analysis --skill microsoft-graph-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: microsoft-graph-api
Source: https://github.com/fabioc-aloha/AIRS_Data_Analysis/tree/main/.github/skills/microsoft-graph-api
Command: npx skills add https://github.com/fabioc-aloha/AIRS_Data_Analysis --skill microsoft-graph-api

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive reference and integration patterns for the Microsoft Graph API, enabling seamless interaction with Microsoft 365 services.

Core Features & Use Cases

  • API Reference: Detailed information on endpoints, authentication, and permissions for various Microsoft 365 services (Users, Mail, Calendar, Teams, etc.).
  • Integration Patterns: Code examples and best practices for common tasks like authentication, batching, and handling rate limits.
  • Use Case: Integrate your application with Microsoft Graph to read user profiles, access calendar events, send emails, or manage Teams channels.

Quick Start

Use the microsoft-graph-api skill to get the current user's profile information.

Frequently Asked Questions about microsoft-graph-api

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

FAQPage Schema
How do I authenticate requests to the Microsoft Graph API for M365 services?

Microsoft Graph API authentication requires configuring Azure Active Directory permissions and acquiring OAuth2 access tokens. You must register your application, grant API permissions for M365 services, and include the bearer token in request headers.

Can I batch multiple Microsoft Graph API calls into a single request?

Yes, Microsoft Graph API supports JSON batching to combine multiple requests into a single payload. This reduces network latency by executing operations for users, mail, or calendar endpoints simultaneously while handling responses individually.

How do I handle pagination and OData queries when listing Microsoft 365 users?

Microsoft Graph API uses OData query parameters for filtering and sorting, returning paginated results via @odata.nextLink. You must follow the nextLink URLs sequentially to retrieve all user profiles or directory objects across large result sets.

What are the rate limits for Microsoft Graph API integration?

Microsoft Graph API enforces throttling limits to prevent abuse, returning HTTP 429 responses with Retry-After headers. You must implement exponential backoff and handle rate limiting responses to ensure reliable integration with M365 services.

Does the Microsoft Graph API support accessing Teams channels and SharePoint files?

Yes, Microsoft Graph API provides endpoints for managing Teams channels, SharePoint sites, and OneDrive files. You can read channel messages, upload drive items, and manage group memberships using appropriate delegated or application permissions.

How do I retrieve audit logs and service health status from Microsoft 365?

Microsoft Graph API exposes endpoints for accessing M365 audit logs and service health reports. You can query directory audit events and service communication statuses by requesting specific application permissions and using the /security or /reports endpoints.