← All integrations

Data & Storage · Integration

Embed a Microsoft Graph integration in your product

Add Microsoft Graph to your product for your customers, and give your AI agents governed access to it.

Embed a Microsoft Graph integration so your customers can grant your product one governed connection to their Microsoft 365 tenant instead of you wiring each service separately. Graph is the single API surface over users, groups, OneDrive and SharePoint files, mail, calendars and Teams, and the hard parts are consent scoping, throttling and change notifications rather than the endpoints themselves. fastn handles per-tenant OAuth and admin consent, token refresh, paging and retry on throttle, and delivers Graph change notifications as replayable events so an update is not lost while your product is unreachable.

In your product

Embedded for your customers. Per-tenant auth, customized per customer, monitored by fastn.

  • Let customers connect their own Microsoft 365 tenant once, then read users, groups, files, mail and calendar events through a single governed connection.
  • Request only the Graph scopes each feature needs, so an admin approves a narrow consent rather than a blanket one.
  • Subscribe to change notifications so your product reacts when a file, message or event changes in the customer's tenant.
  • Let fastn absorb Graph paging and throttling, so a large first read backs off correctly instead of failing your onboarding.

For your AI agents

Governed, audited access for the agents you build, through the MCP server.

  • An agent looks up a user, their group memberships and their recent files before it acts.
  • An agent creates or updates an item in the customer's tenant within scoped permissions, with the call audited.
  • An agent reacts to a Graph change notification and continues a workflow from there.

Example prompt

Find the files this user edited in the last week and the meetings they attended about the same project.

Set up Microsoft Graph in 4 steps

  1. 01Open the Microsoft Graph connector from your fastn dashboard.
  2. 02Have each customer authorise their own Microsoft 365 tenant, with admin consent where a scope requires it.
  3. 03Select the resources and scopes your product uses, then enable actions and change notifications.
  4. 04Call them from your product, or expose them to an agent through the MCP server.

Microsoft Graph connector reference: actions, triggers and auth

Why teams use the Microsoft Graph integration

  • Ship a Microsoft Graph integration without building it. Your customers connect their own Microsoft Graph account inside your product and work their records, datasets and fields there, and nothing lands on your team.
  • Handle the part that actually costs time: schemas differ per customer and change without notice, and volumes can be large. fastn handles the auth, token refresh, rate limits and pagination, and when Microsoft Graph changes, its maintainer agent proposes a tested fix, so a Microsoft Graph update does not start in your backlog.

Used by these teams

Microsoft Graph integration FAQ

Can AI agents use this Microsoft Graph integration?

Yes, through the fastn MCP gateway, scoped per customer and audited. An agent looks up a user, their group memberships and their recent files before it acts. For example: "Find the files this user edited in the last week and the meetings they attended about the same project."

Does the Microsoft Graph integration adapt when a customer's schema changes?

Schema and field mapping is configuration per customer, so a change on their side is a mapping update rather than a code change and a release on yours.

How are large Microsoft Graph reads handled?

Pagination and throttling are handled for you, and initial backfills are rate-limited so a large import does not exhaust a customer's API allowance.

What can I build with the Microsoft Graph integration?

A common starting point: connect their own Microsoft 365 tenant once, then read users, groups, files, mail and calendar events through a single governed connection. The use cases above list the rest.

Add Microsoft Graph to your product

Start free with 3 customer connections. No sales call required, and no per-customer integration code.