Microsoft 365
What is Microsoft Graph?
Quick answer
Microsoft Graph is Microsoft’s unified API platform for Microsoft 365 and Entra ID data. Instead of separate APIs per workload, developers call Graph resources — users, groups, sites, drives, chats, messages, events — through consistent REST endpoints and SDKs. It powers custom apps, reporting scripts, migration validation, and integrations such as SPFx components and Power Automate HTTP calls.
Key takeaways
- One API model across Microsoft 365 and Entra ID resources.
- Delegated vs application permissions with admin consent.
- Least privilege, throttling, and pagination for real workloads.
Detailed Explanation
Microsoft Graph is Microsoft’s unified API platform for Microsoft 365 and Entra ID data. Instead of separate APIs per workload, developers call Graph resources — users, groups, sites, drives, chats, messages, events — through consistent REST endpoints and SDKs. It powers custom apps, reporting scripts, migration validation, and integrations such as SPFx components and Power Automate HTTP calls.
How it works
Register an app in Entra ID, request least-privilege permissions (delegated for user context, application for background services), complete admin consent, then call endpoints with OAuth tokens. Permissions, not code, decide what the app can touch.
Limitations and considerations
Over-permissioned apps are a security incident waiting to happen — consent grants need review like admin roles. Throttling, pagination, and delta-query patterns matter for any non-trivial reporting or migration script.
For broader context, see the Microsoft 365 Hub — it collects the guides around this topic.
When to use it
Reach for Graph for cross-workload reads, provisioning automation, inventory and validation scripts, and custom integrations where connectors fall short.
Practical example
A migration team uses Graph with application permissions to enumerate every SharePoint site, library count, and owner — feeding the assessment report no manual survey could produce.