Business events in Fabric: publish a signal, let others act

Business events in Fabric Real-Time Intelligence turn "a payment failed" or "stock fell below the minimum" into a typed event with a shared schema, published once by a notebook, user data function, Activator or eventstream, and consumed by alerts, functions, notebooks and Eventhouse. What separates a business event from telemetry, the schema registry, a worked payment example with notebook code, the limits and the traps.

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?

Business eventsPaymentFailed, RefundIssued, ShipmentDelayed, ThresholdExceeded, DemandForecastDeviationDetected
Not business eventsCurrentTemperature readings, DiskReadError logs, MemoryUsagePercent metrics
Business event or not

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?

  1. 1
    Notebook publisheschecks the last hour of payments, sends one event per failure
  2. 2
    Schema registryPaymentFailed v1: orderId, customerId, amount, reason
  3. 3
    Activatoramount over 300: Teams message to the account manager
  4. 4
    Eventhousestores every event for KQL and a live dashboard
  5. 5
    User data functionopens a ticket in the support system
One PaymentFailed event, several independent consumers

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?

ConsumerRuleEventsAmount
Eventhouseall events3624.50
Activator, Teams to account manageramount > 3001410.00
User data function, support ticketall events3624.50
What each consumer receives from that one hourly run

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?

LimitValue
Event sizeup to 1 MB
Retries after a failed deliveryfor up to 24 hours
Filters per event listenerup to 25
Event types per listenerup to 25
Previewthe 30 most recent events of the last 24 hours, per publisher or consumer
Business events limits

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?

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.

Keep reading

More from the blog.

Every post

Next

Building this? Say hello.

A question about this post, a pattern you would build differently, or the next thing you want written out: Behnia reads every message.