# When should I use a webhook, Azure Service Bus, or Event Hubs for Dataverse events?

Exam: AB-400 — Power Platform Developer Associate
Knowledge domain: Develop integrations (10–15%)
Updated: 2026-11-25T06:47:24.642953+00:00
HTML: https://learningpathx.com/faq/AB-400/ab400-dataverse-events-webhook-service-bus-event-hubs.html

## Also asked as

- How do I pick a Dataverse event transport based on the consumer and outage tolerance?
- Which Dataverse event delivery option fits an HTTP receiver, a work backlog, or a stream?

Choose a webhook for direct HTTP delivery to a receiver that can handle the expected traffic, a Service Bus queue or topic for brokered work or separate subscriptions, and Event Hubs for a stream-processing destination with its own checkpoint and replay model. For work that follows a committed standard-table operation, prefer an asynchronous PostOperation registration.

| Need | Design consideration |
| --- | --- |
| One HTTP receiver | A webhook calls the receiver directly. Design durable intake and account for finite retries and a receiver outage. |
| A worker must catch up | A Service Bus queue persists messages for permitted receivers according to its configuration. Verify message lifetime with the worker stopped. |
| Multiple independent consumers | A Service Bus topic gives each subscription its own delivery and recovery path. |
| Existing analytics stream | An Event Hubs consumer owns its position and replay strategy. A stream read is separate from a business effect record. |

A relay contract can require an active listener. If you use a synchronous webhook to surface remote failure to the Dataverse caller, account for the remote dependency on the caller's path. An external effect that has already happened cannot be undone by a Dataverse rollback.

In an isolated environment, test an eligible update and a stopped receiver. Observe the Dataverse publication job and the destination's durable intake and work completion separately.

**Microsoft references**

* [Azure Service Bus Integration for Dataverse - Power Apps](https://learn.microsoft.com/en-us/power-apps/developer/data-platform/azure-integration)
* [Use Webhooks to Create External Handlers for Server Events - Power Apps](https://learn.microsoft.com/en-us/power-apps/developer/data-platform/use-webhooks)
* [Event Framework in Microsoft Dataverse - Power Apps](https://learn.microsoft.com/en-us/power-apps/developer/data-platform/event-framework)
* [Event Hubs features and terminology - Azure Event Hubs](https://learn.microsoft.com/en-us/azure/event-hubs/event-hubs-features)

Source: [AB-400: Publishing Dataverse Events to External Services](https://learningpathx.com/news/ab-400-publishing-dataverse-events-to-external-services.html)
