Create, renew, and handle lifecycle notifications for Microsoft Graph calendar change-notification (webhook) subscriptions

domain: learn.microsoft.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. POST /subscriptions with resource set to a calendar/events path, changeType (created,updated,deleted), a public HTTPS notificationUrl, and an expirationDateTime within the resource's max allowed duration.
  2. Respond to Graph's validation request (a plain-text token echoed back) synchronously when the subscription is created, or creation fails.
  3. Before expirationDateTime, PATCH /subscriptions/{id} with a new expirationDateTime to renew; there is no automatic renewal.
  4. Optionally set includeLifecycleNotifications and a lifecycleNotificationUrl to receive reauthorizationRequired, subscriptionRemoved, and missed events so you know when a renewal or resubscribe is needed proactively.
  5. On a reauthorizationRequired lifecycle event, PATCH the same subscription (renew and reauthorize in one call) rather than waiting for outright expiration and having to recreate it.

Known gotchas

Related routes

Subscribe to Microsoft Graph change notifications (webhooks)
microsoft-graph · 4 steps · unrated
Handle Memberful webhooks for subscription lifecycle events
memberful.com · 5 steps · unrated
Manage Stora webhook endpoints programmatically and subscribe to lifecycle events across contracts, invoices, and units
docs.stora.co · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans