THR1018 · Theater
Creating agent-ready data with Azure SQL Hyperscale & Microsoft Fabric
Speakers: Matt Gordon
Microsoft’s player cannot open a video at a given time: once it plays, skip to the time shown.
What the session covers
Matt Gordon (Lean Techniques) shows how organisations that only run Azure SQL or SQL Server, plus Fabric for Power BI, can give agents current data without building a lakehouse. The core is change event streaming, which he describes as in preview but already in production use. It pushes each committed row as a CloudEvent into a Fabric event stream, and he contrasts it with pull-based change data capture (CDC). The reference architecture runs Eventstream with in-flight transforms, then Eventhouse queried with KQL or T-SQL, then Activator rules that trigger Teams messages, emails, APIs, Fabric items or Foundry agents. A live demo detects simulated bot ticket-sales spikes with series_decompose_anomalies and turns the result into an Activator alert. For customers without Fabric, the session names Event Hubs, Stream Analytics, Data Explorer and Functions or Logic Apps as alternatives.
Best for: Data engineers and architects who want to stream changes from Azure SQL into Fabric Eventhouse and Activator so agents work with fresh data, and who need to know how CES differs from CDC.
New material: no clear start of new material was found in this session.
Where to skip: Skip to 07:14. The core is the CES vs. CDC explanation (07:14), the reference architecture (11:27) and the demos at 15:54 and 20:22. The alternatives without Fabric at 22:27 and the closing at 23:49 are optional.
Chapters (9)
- 00:00 Recap Depth 100 · Novelty 0/3
Introduction: agent-ready data without a lakehouse, speaker background
The session targets customers who believe they need a lakehouse for agent-ready data but only have Azure SQL or SQL Server plus Fabric used for Power BI reporting. The goal is to show how to use what they already have so agents act on current data instead of yesterday's. Matt Gordon introduces himself as director of data and analytics at Lean Techniques, a Midwest consultancy.
- 01:54 Deep dive Depth 200 · Novelty 1/3
Transactional commits as business events and change event streaming (preview)
The speaker argues that a transactional commit is a business event, not just a data change. Since SQL Server 2025 and Azure SQL, the change event streaming feature can push such events out to Fabric; he notes it is currently in preview but already used in production by his customers. He contrasts this with nightly batch ETL that only looks backwards and clarifies that events go to a Fabric event stream, not to the public internet.
- 04:34 Deep dive Depth 200 · Novelty 1/3
Four principles of agent-ready data: fresh, grounded, isolated, actionable
Lean Techniques defines agent-ready data as fresh (available as it happens), grounded (Fabric data agents with instructions, rules and guardrails need reliable data), isolated (here in a Fabric Eventhouse, though a lakehouse also works) and actionable (via Activator, a Foundry agent or a human). The speaker explains that Eventhouse runs on the Kusto engine behind Azure Data Explorer, originally built for Xbox Live logs and Skype telemetry.
- 07:14 Deep dive Depth 300 · Novelty 1/3
How change event streaming works and how it differs from change data capture
Change event streaming works in every Azure SQL Database tier, Managed Instance, to a limited extent SQL Server 2025, and SQL database in Fabric; unlike change data capture and change tracking it is push-based. Setup has three steps: create a stream group of tracked tables, connect it to a Fabric event stream or Azure Event Hub, and let consumers react. Each changed row becomes a separate CloudEvent tagged with its transaction ID, so 100 committed rows produce 100 events. A comparison table shows CDC is pull-based, correlates by timestamp, stores changes inside the database with more storage and CPU overhead, and is built for change history rather than real-time action.
- 11:27 Deep dive Depth 300 · Novelty 1/3
Reference architecture: Eventstream in-flight transforms, Eventhouse KQL, Activator actions
The architecture flows from Azure SQL Database with change event streaming into a Fabric event stream, which supports in-flight transformations via operators so data need not land in a silver layer. Data lands in Eventhouse, queryable with KQL or T-SQL at roughly equal performance. Activator watches for conditions with rich rules (e.g. a value staying in a range for a period) and follows the 'action systems' pattern of detect, evaluate and act: sending Teams messages or emails, calling APIs, running Fabric items such as a repair notebook, or extending to Foundry agents.
- 15:54 Demo Depth 300 · Novelty 1/3
Live demo: simulating bot ticket sales and detecting anomalies with KQL
A T-SQL loop inserts simulated ticket sales into an Azure SQL table: 90 seconds of baseline traffic (about 1-1.5 sales per second), 30 seconds of bot-like bursts (100-250 per second), then 30 seconds back to normal. The changes flow as CloudEvents through a Fabric event stream into Eventhouse. A KQL query using series_decompose_anomalies over a 15-minute lookback renders a chart with the bot spike highlighted in red.
- 20:22 Demo Depth 300 · Novelty 1/3
Demo: numeric anomaly scores and adding an Activator alert from Eventhouse
Because Activator cannot add an alert on a rendered chart, the speaker runs a variant of the query that returns numbers, filtering rows with an anomaly score greater than two; the spike scores 274. From that result he uses Add alert to create an Activator rule and shows the available actions, including sending messages and invoking Fabric items. The human can be kept in the loop or removed entirely, using only Azure SQL Database or SQL Server as the source.
- 22:27 Deep dive Depth 200 · Novelty 0/3
Alternatives without Fabric: Event Hubs, Stream Analytics, Data Explorer, Functions
Customers without Fabric can approximate the solution with Azure Event Hubs, Azure Stream Analytics, Azure Data Explorer (Kusto as PaaS, with more control but less ease than Eventhouse as SaaS) and Azure Functions or Logic Apps. The whole demo is about 200 lines of code including T-SQL, partly written with help from Claude.
- 23:49 Closing Depth 100 · Novelty 0/3
Closing takeaways: stream instead of batch, CES is not CDC, keep agents off source
ETL is not dead, but data should be streamed when real-time action is needed; the approach is incremental by default, does not tax the source and supports in-flight transformations. The five takeaways: agent-ready data is fresh, grounded and isolated; every commit is an event; CES is not CDC; keep agents off the system of record and let them act on governed data in Fabric; Fabric with Azure SQL turns events into action.
Announcements (1)
-
Change event streaming in Azure SQL and SQL Server 2025
Pushes each committed transactional change out of the database as an event to a Fabric event stream or Azure Event Hub.
Speaker’s quote (at 02:21)
„So the feature is called change event streaming. It's in Azure SQL. It's in SQL Server 2025 as well. It pushes that moment out.“
Demos (2)
- 15:54 Not stated Azure SQL Database change event streaming with Microsoft Fabric Real-Time Intelligence (Eventstream, Eventhouse)
Detecting anomalous, bot-driven ticket sales in near real time from transactional Azure SQL data, as a stand-in for data quality or fraud anomalies.
Steps (5)
- Have an Azure SQL Database with change event streaming enabled on the ticket sales table, connected to a Fabric event stream that lands data in an Eventhouse (setup not shown).
- Run a T-SQL loop inserting baseline ticket sales at about 1-1.5 per second for 90 seconds.
- Run a second T-SQL loop simulating bot activity at 100-250 sales per second for 30 seconds.
- Run a third loop returning to normal traffic for about 30 seconds so the spike stands out.
- In the Eventhouse, run a KQL query that builds a time series over the last 15 minutes and applies series_decompose_anomalies, rendering a chart with anomalies coloured red.
Prerequisites: Azure SQL Database with change event streaming enabled (stated as preview), a Microsoft Fabric event stream and Eventhouse; the setup itself was not shown.
-
Turning a detected anomaly in Eventhouse into an automated alert or action with Activator.
Steps (4)
- Note that Add alert is greyed out for the chart-rendering KQL query.
- Run a variant of the query that outputs numeric results of series_decompose_anomalies, filtered to anomaly score greater than 2 (the spike shows a score of 274).
- Click Add alert on the numeric result to open Activator with the feeding query.
- Choose an action, such as sending a message or running a Fabric item.
Prerequisites: Eventhouse populated with streaming data from the previous step; Microsoft Fabric Activator.