Microsoft Graph Webhooks - Simply Explained
Descarga y escucha en cualquier lugar
Descarga tus episodios favoritos y disfrútalos, ¡dondequiera que estés! Regístrate o inicia sesión ahora para acceder a la escucha sin conexión.
Microsoft Graph Webhooks - Simply Explained
Descripción
Is your app still asking Microsoft Graph every few minutes whether anything has changed? This episode explains to Microsoft 365 developers how Graph webhooks replace polling with change notifications, how...
mostra másIn this episode
- 00:00 – Intro: the mailbox analogy
- 00:43 – The polling problem and Graph throttling
- 02:23 – What are webhooks?
- 04:10 – How Microsoft Graph webhooks work
- 06:10 – Creating a subscription
- 08:40 – The validation handshake
- 10:32 – Handling notifications, security and lifecycle
- 16:17 – Real-world example and next steps
Key takeaways
- Polling Microsoft Graph wastes thousands of requests, still misses real-time changes and can push your app into throttling.
- A Graph webhook needs a subscription with notification URL, resource, change type and expiration, plus a validation handshake that echoes the token as plain text.
- Acknowledge notifications within seconds, process them asynchronously, renew subscriptions before they expire and use Delta query as a safety net for missed changes.
Worth quoting
“A web hook is an HTTP request sent automatically when something happens. You don't ask for it. The server just pushes it to you.” – Mirko Peters (02:30)
“Acknowledge immediately and process asynchronously. Your endpoint should validate the client state, accept the notification, and return it 200 or 202 responses as fast as possible.” – Mirko Peters (12:22)
Explore more on M365.FM
- Episode page: the full episode with chapters, key quotes and an FAQ on Graph webhooks
- Change notifications and webhooks – the episode's subject: Graph's name for webhooks, plus Delta query as the safety net
- Microsoft Graph – the API that sends change notifications instead of being polled and throttles apps that over-poll
- SharePoint – an example source of change notifications, such as receipts uploaded to a document library
- Related episode: Stop Reinventing SPFx- Building Better SharePoint Solutions with PnP React Controls with Siddharth Vaghasia [MVP]
Follow and rate M365.FM in your podcast app, and join the free M365 community at m365con.net.
Become a supporter of this podcast: https://www.spreaker.com/podcast/m365-fm-microsoft-365-azure-cloud-power-platform-ai--6704921/support.
Información
| Autor | Mirko Peters M365, Azure & AI |
| Organización | m365 FM |
| Página web | www.m365.fm |
| Etiquetas |
Copyright 2026 - Spreaker Inc. an iHeartMedia Company
Comentarios