Short answer: a business event is a named, meaningful occurrence such as PaymentFailed or StockBelowMinimum, with a schema kept in the Real-Time hub schema registry (grouped in an event schema set). Publishers send it: Spark notebooks, user data functions, Activator (from reports, dashboards, KQL or warehouse SQL queries) and eventstreams (publishing from an eventstream became generally available in November 2026). Consumers subscribe without the publisher knowing: Activator alerts in email or Teams, user data functions, notebooks, Dataflow Gen2, Power Automate, and Eventhouse, which stores every published event for KQL and real-time dashboards. Events use the CloudEvents 1.0 envelope, can be up to 1 MB, and failed deliveries are retried for up to 24 hours.
A data team builds a notebook that spots failed payments every hour. Finance wants an email, the account managers want a Teams message for big customers, and the risk team wants a history to analyse. Without events, the notebook grows three outputs and three sets of credentials, and every new request means editing it. With a business event, the notebook says one thing, "this payment failed", and each team subscribes on its own.
What counts as a business event?
The test: would someone in the business act on it? A temperature reading every second is telemetry and belongs in an eventstream into an eventhouse. "Freezer above minus 15 for ten minutes" is a business event.
How do publisher and consumers connect?
- 1Notebook publisheschecks the last hour of payments, sends one event per failure
- 2Schema registryPaymentFailed v1: orderId, customerId, amount, reason
- 3Activatoramount over 300: Teams message to the account manager
- 4Eventhousestores every event for KQL and a live dashboard
- 5User data functionopens a ticket in the support system
Adding a fourth consumer next month changes nothing in the notebook. That decoupling is the point.
What does publishing look like?
First, in Real-Time hub, Business events, create the event type with its fields and pick the workspace and schema set that hold it. Give the notebook's identity the Publish permission. Then, in a Python or PySpark notebook:
failed = [
{"orderId": "ORD-1001", "customerId": "C-17", "amount": 125.50, "reason": "card expired"},
{"orderId": "ORD-1002", "customerId": "C-42", "amount": 89.00, "reason": "insufficient funds"},
{"orderId": "ORD-1003", "customerId": "C-08", "amount": 410.00, "reason": "card blocked"},
]
notebookutils.businessEvents.publish(
eventSchemaSetWorkspace="<workspace-id>",
eventSchemaSet="<event-schema-set-id>",
eventTypeName="PaymentFailed",
eventData=failed,
dataVersion="v1",
)eventData takes one dictionary or a list, and every field must match the schema version. The call returns True on success and raises an error otherwise.
Do the numbers add up?
| Consumer | Rule | Events | Amount |
|---|---|---|---|
| Eventhouse | all events | 3 | 624.50 |
| Activator, Teams to account manager | amount > 300 | 1 | 410.00 |
| User data function, support ticket | all events | 3 | 624.50 |
Three failures: 125.50 + 89.00 + 410.00 = 624.50, and only ORD-1003 is above 300. When the Eventhouse total and the notebook's own count agree each hour, the flow is healthy.
Can an eventstream publish them too?
Yes. In an eventstream's edit mode, Add destination, Business events, then pick an existing event type or define a new schema. If the stream's fields differ from the schema, add a mapper (and a Manage fields operator for computed fields), then Publish. Input must be JSON. This turns a raw stream into business events without code, for example "order status changed to delayed" out of an order feed.
What are the limits?
| Limit | Value |
|---|---|
| Event size | up to 1 MB |
| Retries after a failed delivery | for up to 24 hours |
| Filters per event listener | up to 25 |
| Event types per listener | up to 25 |
| Preview | the 30 most recent events of the last 24 hours, per publisher or consumer |
What goes wrong?
- Telemetry as business events. A reading every second floods consumers; publish the meaningful change, not every value.
- Schema drift. A publisher that adds a field without a new schema version breaks consumers. Change the schema in the registry first, then publish under the new version.
- Missing Publish permission. The notebook or function runs, and the call fails. Data access security on the event must grant the identity Publish.
- Big payloads. Over 1 MB fails; send IDs and let consumers look up details.
- Private workspaces. If the workspace with the event schema set blocks public access, publishers and consumers in other workspaces need a private link to it.
- Counting on retries forever. After 24 hours of failed delivery an event is dropped; monitor consumers.
Where can you check this?
- Microsoft Learn: Business events overview
- Microsoft Learn: Publish business events with APIs
- Microsoft Learn: Add a business events destination to an eventstream
- Microsoft Learn: Business events limits
- Microsoft Learn: What's new in Microsoft Fabric
Where do you start?
Find one alert your team sends by email from a scheduled notebook or report. Define it as a business event, publish it from the same notebook, and move the email into an Activator rule. The next team that wants the same signal just subscribes. Eventhouse and KQL covers where the history lands.