microsoft fabric
104 TopicsFrom Bronze to Gold: Data Quality Strategies for ETL in Microsoft Fabric
Introduction Data fuels analytics, machine learning, and AI but only if it’s trustworthy. Most organizations struggle with inconsistent schemas, nulls, data drift, or unexpected upstream changes that silently break dashboards, models, and business logic. Microsoft Fabric provides a unified analytics platform with OneLake, pipelines, notebooks, and governance capabilities. When combined with Great Expectations, an open-source data quality framework, Fabric becomes a powerful environment for enforcing data quality at scale. In this article, we explore how to implement enterprise-ready, parameterized data validation inside Fabric notebooks using Great Expectations including row-count drift detection, schema checks, primary-key uniqueness, and time-series batch validation. A quick reminder: ETL (Extract, Transform, Load) is the process of pulling raw data from source systems, applying business logic and quality validations, and delivering clean, curated datasets for analytics and AI. While ETL spans the full Medallion architecture, this guide focuses specifically on data quality checks in the Bronze layer using the NYC Taxi sample dataset. 🔗 Full implementation is available in my GitHub repository: sallydabbahmsft/Data-Quality-Checks-in-Microsoft-Fabric: Data Quality Checks in Microsoft Fabric Why Data Quality Matters More Than Ever? AI and analytics initiatives fail not because of model quality but because the underlying data is inaccurate, incomplete, or inconsistent. Organizations adopting Microsoft Fabric often ask: How can we validate data as it lands in Bronze? How do we detect schema changes before they break downstream pipelines? How do we prevent silent failures, anomalies, and drift? How do we standardize data quality checks across multiple tables and pipelines? Great Expectations provides a unified, testable, automation-friendly way to answer these questions. Great Expectations in Fabric Great Expectations (GX) is an open-source library for: ✔ Declarative data quality rules ("expectations") ✔ Automated validation during ETL ✔ Rich documentation and reporting ✔ Batch-based validation for time-series or large datasets ✔ Integration with Python, Spark, SQL, and cloud data platforms Fabric notebooks now support Great Expectations natively (via PySpark), enabling engineering teams to: Build reusable DQ suites Parameterize expectations by pipeline Validate full datasets or daily partitions Integrate validation into Fabric pipelines and alerting Data Quality Across the Medallion Architecture This solution follows the Medallion Architecture, with validation at every layer. This pipeline follows a Medallion Architecture, moving data through the Bronze, Silver, and Gold layers while enforcing data quality checks at every stage. 📘 P.S. Fabric also supports this via built-in Medallion task flows: Task flows overview - Microsoft Fabric | Microsoft Learn 🥉Bronze Layer: Ingestion & Validation Ingest raw source data into Bronze without transformations. Run foundational DQ checks to ensure structural integrity. Bronze DQ answers: ➡ Did the data arrive correctly? 🥈Silver Layer: Transformation & Validation Clean, standardize, and enrich Bronze data. Validate business rules, schema consistency, reference values, and more. Silver DQ answers: ➡ Is the data accurate and logically correct? 🥇 Gold Layer: Enrichment & Consumption Produce curated, analytics-ready datasets. Validate metrics, aggregates, and business KPIs. Gold DQ answers: ➡ Can executives trust the numbers? Recommended Data Quality Validations: Bronze Layer (Raw Ingestion) Ingestion Volume & Row Drift – Validate total row count and detect unexpected volume drops or spikes. Schema & Data Type Compliance – Ensure the table structure and column data types match the expected schema. Null / Empty Column Checks – Identify missing or empty values in required fields. Primary Key Uniqueness – Detect duplicate records based on the defined composite or natural key. Silver Layer (Cleaned & Standardized Data) Reference & Domain Value Validation – Confirm that values match valid categories, lookups, or reference datasets. Business Rule Enforcement – Validate logic constraints (e.g., StartDate <= EndDate, percentages within range). Anomaly / Outlier Detection – Identify unusual patterns or values that deviate from historical behavior. Post-Standardization Deduplication – Ensure standardized and enriched records no longer contain duplicates. Gold Layer (Curated, Business-Ready Data) Metric & Aggregation Consistency – Validate totals, ratios, rollups, and other aggregated metrics. KPI Threshold Monitoring – Trigger alerts when KPIs exceed defined thresholds. Data / Feature Drift Detection (for ML) – Monitor changes in distributions across time. Cross-System Consistency Checks – Compare business metrics across internal systems to ensure alignment. Implementing Data Quality with Great Expectations in Fabric Step 1 - Read data from Lakehouse (parametrized): lakehouse_name = "Bronze" table_name = "NYC Taxi - Green" query = f"SELECT * FROM {lakehouse_name}.`{table_name}`" df = spark.sql(query) Step 2 - Create and Register a Suite: context = gx.get_context() suite = context.suites.add( gx.ExpectationSuite(name="nyc_bronze_suite") ) Step 3 - Add Bronze Layer Expectations (Reusable Function): import great_expectations as gx def add_bronze_expectations( suite: gx.ExpectationSuite, primary_key_columns: list[str], required_columns: list[str], expected_schema: list[str], expected_row_count: int | None = None, max_row_drift_pct: float = 0.2, ) -> gx.ExpectationSuite: # 1. Ingestion Count & Row Drift if expected_row_count is not None: min_rows = int(expected_row_count * (1 - max_row_drift_pct)) max_rows = int(expected_row_count * (1 + max_row_drift_pct)) row_count_expectation = gx.expectations.ExpectTableRowCountToBeBetween( min_value=min_rows, max_value=max_rows, ) suite.add_expectation(expectation=row_count_expectation) # 2. Schema Compliance schema_expectation = gx.expectations.ExpectTableColumnsToMatchSet( column_set=expected_schema, exact_match=True, ) suite.add_expectation(expectation=schema_expectation) # 3. Required columns: NOT NULL for col in required_columns: not_null_expectation = gx.expectations.ExpectColumnValuesToNotBeNull( column=col ) suite.add_expectation(expectation=not_null_expectation) # 4. Primary key uniqueness (if provided) if primary_key_columns: unique_pk_expectation = gx.expectations.ExpectCompoundColumnsToBeUnique( column_list=primary_key_columns ) suite.add_expectation(expectation=unique_pk_expectation) return suite Step 4 - Attach Data Asset & Batch Definition: data_source = context.data_sources.add_spark(name="bronze_datasource") data_asset = data_source.add_dataframe_asset(name="nyc_bronze_data") batch_definition = data_asset.add_batch_definition_whole_dataframe("full_bronze_batch") Step 5 - Run Validation: validation_definition = gx.ValidationDefinition( data=batch_definition, suite=suite, name="Bronze_DQ_Validation" ) results = validation_definition.run( batch_parameters={"dataframe": df} ) print(results) 7. Optional: Time-Series Batch Validation (Daily Slices) Fabric does not yet support add_batch_definition_timeseries, so your notebook implements custom logic to validate each day independently: dates_df = df.select(F.to_date("lpepPickupDatetime").alias("dt")).distinct() for d in dates: df_day = df.filter(F.to_date("lpepPickupDatetime") == d) results = validation_definition.run(batch_parameters={"dataframe": df_day}) This enables: Daily anomaly detection Partition-level completeness checks Early schema drift detection Automating DQ with Fabric Pipelines Fabric pipelines can orchestrate your data quality workflow: Trigger notebook after ingestion Pass parameters (table, layer, suite name) Persist DQ results to Lakehouse or Log Analytics Configure alerts in Fabric Monitor Production workflow Run the notebook Check validation results If failures exist: Raise an incident Fail the pipeline Notify the on-call engineer This creates a closed loop of ingestion → validation → monitoring → alerting. An example of DQ pipeline: Results: How Enterprises Benefit By standardizing data quality rules across all domains, organizations ensure consistent expectations and uniform validation practices , improved observability makes data quality issues visible and actionable, enabling teams to detect and resolve failures early. This, in turn, enhances overall reliability, ensuring downstream transformations and Power BI reports operate on clean, trustworthy data. Ultimately, stronger data quality directly contributes to AI readiness high-quality, well-validated data produces significantly better analytics and machine learning outcomes. Conclusion Great Expectations + Microsoft Fabric creates a scalable, modular, enterprise-ready approach for ensuring data quality across the entire medallion architecture. Whether you're validating raw ingested data, transformed datasets, or business-ready tables, the approach demonstrated here enables consistency, observability, and automation across all pipelines. With Fabric’s unified compute, orchestration, and monitoring, teams can now integrate DQ as a first-class citizen not an afterthought. Links: Implement medallion lakehouse architecture in Fabric - Microsoft Fabric | Microsoft Learn GX Expectations Gallery • Great Expectations4.2KViews1like2CommentsUnlocking Data Value with Fabric and Microsoft AI Agents: Choose, Deploy, Optimise
Over the past few years, most organisations I work with have invested heavily in their data platforms: landing data, modelling it and publishing reports. Yet when a business leader has a new question, the answer is often still a request to the BI team, a hunt for the right report, or someone writing a query. AI agents change that. For the first time, people can ask questions about governed enterprise data in plain language, in the tools they already use, and get an answer that respects the same security rules as a report. But an agent is only as good as the data it stands on, and Microsoft now offers several ways to build and surface agents. This series is a practical guide to bringing those two worlds together: Choose – why Microsoft Fabric is the right foundation, how agents change the way we consume data, and which Microsoft agent platform fits which job (this post). Deploy – hands-on deep dives into individual Fabric items and how they deploy into Microsoft 365 Copilot, Copilot Studio and Microsoft Foundry, starting with the Fabric data agent. Optimise – how to tune accuracy, cost, governance and observability once agents are in production. 1. Why put your data in Fabric? OneLake as the foundation for AI OneLake for the whole organisation Every Fabric tenant automatically includes OneLake: a single, unified, logical data lake for the whole organisation, with no infrastructure to provision or manage. Instead of separate lakes per department, teams store or connect their data in one place and organise it by domains and workspaces, each with its own owners. You get central governance with distributed ownership, which is the foundation of a workable data mesh. One copy, many engines OneLake stores tables in open formats (Delta Parquet and Apache Iceberg) on top of Azure Data Lake Storage. Every Fabric engine works directly on that same copy: a data engineer's Spark notebook, an analyst's warehouse queries and a Power BI report in Direct Lake mode can all read the same tables without exports or duplication. Because OneLake supports the ADLS Gen2 APIs and Iceberg interoperability, tools outside Fabric, such as Azure Databricks, Snowflake and Microsoft Foundry, can work with the same data too. There is no lock-in to a proprietary format. Unify without moving everything You don't need a big-bang migration to get value from OneLake: Shortcuts reference data where it already lives (other workspaces, Azure Data Lake Storage, Azure Blob Storage, Amazon S3 and S3-compatible storage, Iceberg sources, Dataverse and on-premises sources), so it appears in OneLake without data movement. Changes at the source are visible straight away. Mirroring brings an entire external database or catalogue into Fabric without building pipelines. Operational databases such as Azure SQL Database, SQL Server, Azure Cosmos DB, PostgreSQL, Oracle and SAP are continuously replicated into analytics-ready Delta tables, while open-format catalogues such as Databricks Unity Catalog or Snowflake can be surfaced in place. Shortcut transformations can even convert formats or remove personally identifiable information on the way in. Business meaning on top: Fabric IQ Raw tables alone don't make data AI-ready. Fabric IQ, generally available since Microsoft Build 2026, adds a shared business-context layer on top of OneLake. Power BI semantic models capture business definitions, measures and KPIs, and ontologies model the entities and relationships (customers, assets, sites, orders) that agents reason about. Fabric IQ sits alongside Work IQ (how people work, from Microsoft 365) and Foundry IQ (enterprise knowledge) in the wider Microsoft IQ family. Why this matters for agents Agents are only as reliable as the data that grounds them. When your data lives in OneLake: Every agent uses the same trusted copy. Microsoft 365 Copilot, Copilot Studio and Microsoft Foundry all integrate natively with Fabric, so you don't need a separate copy of data for each AI project. Security follows the user. Fabric data agents and Copilot query data with the user's own identity, so OneLake security, row-level security and object-level security still apply. Users only get the answers they would be allowed to see in a report. Business logic is defined once. The measures in your semantic model, not a language model's guess, define what "revenue" or "active customer" means. 2. From reports and queries to conversations: a new way to consume data The traditional model For decades, data has reached business users in two main ways: Reports and dashboards are curated, consistent and trusted, but designed around questions someone anticipated. The report is the destination: you have to know it exists, open it, and find the right page and filter. When a new question comes up, it joins the BI team's backlog. Queries in SQL, DAX or KQL give complete flexibility, but only to people who know the language and the schema. Most decision-makers don't, so they rely on analysts. Both approaches still have their place, but both leave a long tail of everyday questions unanswered, or answered slowly. The agentic model With agents, the question comes first and the insights comes to the user: Ask. A user asks a question in plain language in Microsoft 365 Copilot, Teams or a custom app. Ground. The agent works out which governed data source can answer it, generates a read-only SQL, DAX or KQL query, and runs it with the user's permissions. Answer and act. The user gets an answer (often alongside a chart), they can ask to follow up questions such as "and what about last quarter?" and the results get chained together into a next action that the user defines; whether that is to draft an email with these insights.... This is already real. Microsoft 365 Copilot Chat can answer questions directly over Power BI reports and semantic models, a generally available Fabric IQ capability. It honors row-level and object-level security and combines data answers with the user's files, emails and chats. For more specialised needs, a Fabric data agent acts as a curated expert over a defined set of sources, with business instructions and example queries that steer how it answers. Agents also consume data on behalf of other agents. In a multi-agent design, a general assistant can hand a data question to a specialist Fabric data agent, in the same way a manager might ask an analyst. Below is a table summarizing the comparison between the traditional data analytics vs the agentic model. Reports vs queries vs agents Reports and dashboards Writing queries Data agents Who it serves Broad business audience Analysts and engineers Anyone with access to the data Questions answered Pre-defined by the report author Any, if you can write the query Ad hoc questions in natural language, plus follow-ups Where it happens In the BI tool In a query editor or notebook In the flow of work: Copilot, Teams, apps and other agents Skills needed Navigation and filtering SQL, DAX or KQL plus schema knowledge The ability to ask a clear question Consistency High: certified and visual Depends on who wrote the query High when grounded on curated semantic models, instructions and example queries; needs testing Security Item permissions, RLS and OLS Engine permissions The same permissions, because the agent runs as the user After the insight Export, screenshot or share a link Copy the results elsewhere Chain directly into the next action What doesn't change Agents don't replace reports. Certified reports remain the right tool for regulatory reporting, board packs and monitoring a fixed set of KPIs. In fact, agents raise the bar for your semantic layer: clear table and column names, descriptions, synonyms and well-defined measures matter more than ever, because the agent relies on them to interpret questions. The goal is "define once, consume everywhere", where the same governed model powers the report, Copilot and every agent built on it. Treat agents like any other analytical product. Test them with the questions your users actually ask and compare their answers with your certified reports before you roll them out. 3. Microsoft's agent platforms: Microsoft 365 Copilot, Copilot Studio and Microsoft Foundry Microsoft offers several ways to build and run agents, and "which one should we use?" is one of the most common questions I hear from customers. The simplest mental model is three layers: Microsoft 365 Copilot is where people use AI at work, Copilot Studio is where makers build agents with low code, and Microsoft Foundry is where engineering teams build AI with full control. They aren't competitors. They complement each other, and Fabric data plugs into all three. Microsoft 365 Copilot: the front door Microsoft 365 Copilot is the AI assistant in Teams, Outlook, Word, Excel and PowerPoint, grounded in each user's work context through Work IQ. It's where most people will meet AI every day. You can extend it without leaving the Microsoft 365 experience: Agent Builder lets anyone create a declarative agent in natural language for themselves or a small team. Copilot Cowork goes beyond answering questions: it plans and carries out multi-step work across Microsoft 365, with approval checkpoints that keep the user in control. The Agent Store is where published agents, including Fabric data agents, appear for users to find and @mention. For data: Copilot Chat answers questions over Power BI reports and semantic models out of the box, and Fabric data agents can be published to the Agent Store. Copilot Studio: low-code agents for business processes Copilot Studio is a low-code platform, part of the Power Platform, for building agents with instructions, knowledge sources, topics, tools, connectors, agent flows and triggers. It suits departmental and process-centric agents that need integration with business systems, approvals or autonomous triggers, and publication to channels such as Teams, Microsoft 365 Copilot or a website. Agents are governed through the Power Platform admin centre, and an agent built in Agent Builder can be copied into Copilot Studio when it outgrows its original scope. For data: a Fabric data agent can be added as a tool, alongside other tools and knowledge sources. Microsoft Foundry: pro-code agents with full control Microsoft Foundry (formerly Azure AI Foundry) is Azure's platform for building, evaluating and operating AI apps and agents. Foundry Agent Service gives developers code-first control over model choice, orchestration, tools (including MCP), runtime, networking, evaluation and observability, with SDKs in several languages and a REST API. It's the right home for engineered and multi-agent solutions, customer-facing or embedded experiences, and scenarios where the low-code layers hit real limits. For data: Fabric data agents are added through the Fabric IQ (OneLake Catalog) tool, and one Foundry agent can combine several data agents with other tools. Side-by-side comparison Microsoft 365 Copilot (incl. Agent Builder) Copilot Studio Microsoft Foundry In one line Where people use AI at work Where makers build agents with low code Where engineers build agents with full control Primary builders End users and business teams Makers, business technologists, IT and Power Platform teams Developers, AI engineers and platform teams Build experience Natural language, no code Low-code visual designer plus natural language Pro-code SDKs and APIs, plus a portal playground Where users meet the agent Microsoft 365 Copilot, Teams and Office apps Teams, Microsoft 365 Copilot, websites and other channels Your own apps, APIs and channels Grounding Work IQ (mail, files, meetings, chats), Power BI and published agents Knowledge sources, connectors, Fabric data agents and other tools Any data or tool through Foundry IQ, MCP, APIs and Fabric data agents Actions Lightweight; Cowork for multi-step work Connectors, agent flows, approvals and autonomous triggers Anything you can code, including multi-agent orchestration Model and orchestration control Managed by Microsoft Mostly managed, with configurable options Full control of models, orchestration, runtime and networking Governance Microsoft 365 admin centre Power Platform admin centre (environments, data policies, ALM) Azure governance (RBAC, networking, policy), evaluations and tracing Commercial model Per-user Microsoft 365 Copilot licence; some agents and features are metered Copilot Credits (prepaid or pay-as-you-go); some use included with Microsoft 365 Copilot Azure consumption (models, compute and services) Choose it when The experience should live in Microsoft 365 and a packaged or declarative agent meets the need The core problem is a governed business process, integration or channel reach You need deep control over models, orchestration, runtime or deployment Watch out for Less control over orchestration and output format ALM and solution complexity as scope grows More engineering effort and operational ownership Licensing changes often. Treat the commercial model row as a guide and confirm current terms with your Microsoft account team or the official licensing guides. How to choose Microsoft's Inside Track team, writing about how Microsoft runs agents internally, offers a useful rule of thumb: pick the lightest architecture that fits your user experience, data, actions and governance needs, and resist starting at the most complex layer. In practice: If a packaged Microsoft experience already does most of the job, use it. If the experience should live in Microsoft 365, start with Microsoft 365 Copilot and a declarative agent. If the core problem is workflow (approvals, routing, integration), lean towards Copilot Studio. If you need deep control over orchestration, models or runtime, step up to Foundry. If the value depends on governed business data, bring in Fabric early, whichever front end you choose. The most durable designs are layered rather than built as one "super agent": a Microsoft 365 assistant as the front door, Fabric data agents for analytics, Copilot Studio or MCP tools for actions, and Foundry for complex orchestration. That separation makes each piece easier to govern, test and evolve. 4. Next in the series: deploying Fabric items to each platform, starting with the Fabric data agent In the following posts I'll take individual Fabric items and walk through deploying them into Microsoft 365 Copilot, Copilot Studio and Microsoft Foundry, comparing setup, security, user experience and cost. The first is the Fabric data agent. Why start with the Fabric data agent? A Fabric data agent is a generally available Fabric item for building your own conversational Q&A experience over data in OneLake. You choose its sources (lakehouses, warehouses, SQL databases, mirrored databases, Power BI semantic models and KQL databases, plus ontologies, graphs and Azure AI Search indexes in preview), add instructions, data source descriptions and example queries, and publish it. Behind the scenes it generates read-only SQL, DAX or KQL, runs it with the user's credentials and returns the answer. You build it once in Fabric, and the same agent can be used from every platform in this post. A first look at the three deployment paths Microsoft 365 Copilot Copilot Studio Microsoft Foundry How it connects Publish the data agent to the Agent Store from Fabric; users chat with it or @mention it in Copilot and Teams Add the Fabric IQ Data MCP tool and pick the data agent from the OneLake catalogue Add the Fabric IQ (OneLake Catalog) tool in the portal, or pass the data agent's MCP endpoint in code Status (October 2026) Preview Generally available (tool-based experience) Preview Identity The user's identity; row-level and column-level security respected Permissions on the underlying sources apply Delegated user authentication (on-behalf-of) Who shapes the final answer Copilot's orchestrator; steer it with the publishing description The Copilot Studio orchestrator, guided by the tool description and agent instructions Your Foundry agent's model and instructions Things to know Recipients need access to both the agent and its data; Copilot may rephrase the output Several data agents can sit in one agent; choose the right agent type when you create it Several data agents per agent; the legacy Microsoft Fabric tool retires on 6 November 2026, so migrate to Fabric IQ; use background mode for long-running questions Common prerequisites: a paid F2 or higher Fabric capacity (or Power BI Premium P1 or higher with Fabric enabled); the data agent and the consuming platform in the same tenant, signed in with the same account; and the Fabric tenant settings for cross-geo AI processing and storage reviewed. When a data agent is used outside Fabric, its responses can leave Fabric's compliance boundary and are handled under the consuming platform's terms, so review this with your compliance team. What the next post will cover Building and tuning a Fabric data agent: choosing sources, writing agent and data source instructions, adding example queries, and preparing semantic models for AI. Step-by-step deployment to Microsoft 365 Copilot, Copilot Studio and Microsoft Foundry. A like-for-like comparison: setup effort, licensing and capacity use, security and identity, answer fidelity, latency, observability and lifecycle management. Which path to choose for which scenario. Later posts will apply the same lens to other Fabric items, such as Power BI semantic models with Fabric IQ, ontologies and operations agents. Key takeaways Agents are only as good as their data. OneLake gives every agent one governed, open copy of your data, with security enforced everywhere. Agents extend reports into the flow of work rather than replacing them. Invest in your semantic layer, because both reports and agents depend on it. Microsoft 365 Copilot, Copilot Studio and Microsoft Foundry are layers, not rivals. Start with the lightest option that meets the need. The Fabric data agent is the analytics specialist that plugs into all three. Build it once and use it anywhere. Further reading OneLake, the unified data lake: https://learn.microsoft.com/en-us/fabric/onelake/onelake-overview Unify data with OneLake shortcuts and mirroring: https://learn.microsoft.com/en-us/fabric/onelake/unify-data Fabric IQ in Microsoft 365 Copilot Chat: https://learn.microsoft.com/en-us/fabric/iq/connectors/microsoft-365-copilot-overview Fabric data agent concepts: https://learn.microsoft.com/en-us/fabric/data-science/concept-data-agent Consume a Fabric data agent in Microsoft 365 Copilot: https://learn.microsoft.com/en-us/fabric/data-science/data-agent-microsoft-365-copilot Add a Fabric data agent as a tool in Copilot Studio: https://learn.microsoft.com/en-us/fabric/data-science/data-agent-microsoft-copilot-studio-tool Add Fabric data agents to a Foundry agent with Fabric IQ: https://learn.microsoft.com/en-us/fabric/data-science/data-agent-foundry-fabric-iq Choose between Agent Builder and Copilot Studio: https://learn.microsoft.com/en-us/microsoft-365/copilot/extensibility/copilot-studio-experience Start light, scale intentionally: choosing the right Microsoft agent architecture (Inside Track): https://www.microsoft.com/insidetrack/blog/start-light-scale-intentionally-choosing-the-right-microsoft-agent-architecture/494Views0likes0CommentsFrom Events to Decisions: Real-Time Logistics with Microsoft Fabric and Microsoft-Decision-1.1
In logistics, every single shipment carries inherent risks. When delivery timelines are tied to contractual outcomes, or regulatory implications, that adds to the complexity of how the shipment provider should handle it. Often, such agencies implement rule-based systems to deal with cases that warrant attention; the primary advantage being that these are fairly deterministic systems, and numerical inputs are easy to transform into a resultant outcome. However, modern systems are a lot more complex: in real-world scenarios, there are often conflicting updates in the form of carrier notes, route constraints that are highly dynamic and the customer's own priorities and needs. Mostly, these arrive in the form of unstructured, textual context. How do we then deal with evaluating such complex cases - in real time and at scale? In this blog, we shall explore a hypothetical workflow for a shipping agency that needs real-time decision making on certain actions ("next steps") for shipments that are at risk. These options can vary from putting the shipment on hold, expediting it, re-routing it, or retaining status-quo (no action). We will solve this challenge utilizing the real-time capabilities of Microsoft Fabric, ingesting streaming data from the shipment source systems, and augmenting the usual rule-based engine with Microsoft's decision model, Microsoft Decision 1.1. Setting up the Workflow First, let's look at the pipeline we will be simulating. Each shipment would come with multiple 'events' - checking into a hub, departing from a terminal, et cetera. These events are streamed live from the producer system via Azure Event Hubs - and consumed via a Fabric Eventstream setup that dumps the incoming data into an eventhouse. The eventhouse has a KQL database which we will query subsequently to perform the necessary screening required. A notebook with relevant transformations processes events - it goes through the rule-based deterministic engine first to handle cases that can be covered normally, and then only forwards complex cases needing an intervention to the decision model. For the purposes of this demonstration, a Power BI report summarizes the outcomes at the end, merging the rule-based track and the decision-model track together for visibility. In Fabric, the event-stream configured starts processing the data as soon as it gets inputs from the source Event Hub, and dumps it into a eventhouse sink. This data can be queried with KQL via the endpoint offered within Fabric. This is how one shipment looks like, with all its events. Note how the shipment notes are also attached as `context_evidence` field. A practical next-step is to look for items that need further attention. The notebook component handles the transformation actions that will be applied on top of the eventhouse dataset. To add a notebook, you can choose to click on the options panel for the KQL DB and then choose Notebook. The Fabric notebook then turns raw Eventhouse telemetry into one shipment state per replay. It uses KQL to read events up to a historical cutoff, deduplicate them by event ID, and keep the highest-sequence event for each shipment, preserving the carrier notes and other evidence attached to that event. It then screens out invalid, stale, and delivered states and applies deterministic rules where the outcome is clear. The Case expression assigns the first matching label to each shipment: Condition Rule outcome Required fields are missing or invalid, or the event time is after the cutoff INVALID The event time is more than five minutes before the cutoff STALE The shipment has been delivered RESOLVED A pharma temperature breach is confirmed HOLD No projected SLA breach, no delay of 60 minutes or more, and no weather or capacity delay NO_ACTION A risk trigger fired and evidence is attached NEEDS_CONTEXT Only at-risk shipments with attached evidence ("NEEDS_CONTEXT") that the rules haven’t resolved go to Microsoft-Decision-1.1 for a recommendation. The notebook writes rule outcomes, model recommendations, and request statuses to separate Lakehouse Delta tables for reporting in Power BI. Bringing in Microsoft Decision-1.1: Foundry Deployment and Integration The Decision-1.1 model, announced in Microsoft Ignite 2026, is Generally Available (GA) now and available on the Foundry platform for deployment basis a Requests-per-Minute (RPM) quota or a dedicated Provisioned Throughput Unit (PTU) quota. For our use-case, let's deploy a GlobalStandard deployment for the model. Once done, the model should be deployed and ready to be accessed via the project endpoint. Given below is a sample POST API call to obtain a structured decision call. Notice how the context is read by the model, and how it picks between the given criterias (as explained at the outset), assigning confidence scores to each outcome. A key advantage of decision models over their LLM counterparts is both in terms of latency, and cost (input tokens are priced at $0.042/M tokens, outputs are not billed - as of this blog's publication). The TypeSafe SDK for system one models is also compatible with Microsoft-Decision-1.1, so interoperability is possible. The notebook makes parallelized calls to the Foundry endpoint to get the decisions made, respecting the quota limits and handling throttling if any. This can be implemented via custom User Defined Functions (UDFs), or native REST queries if designed to process batch-wise. These decision model output logs are saved to a separate destination table in the Lakehouse, as was the outputs from the rule-based setup. Here's a snippet of the cases that needed judgement from the decision model. Notice how all relevant telemetry is captured, alongside the confidence scores in a JSON format within the log table. If provided context is not enough to make a prudent call; in our case, the model does not guess, it explicitly flags it as "INSUFFICIENT_EVIDENCE". Ultimately, a Power Query within Fabric merges the rule-based track and the model outcome track to create a consolidated view, which can be summarized via a dashboard. The 'actions' or outcomes can also be materially amplified by utilizing Fabric Activator, which takes actions based on the configurations made. Reflections and Next Steps Making intelligent judgement calls is an integral part of most business workflows today. While the above demonstration centers on a logistics use case, it can also span across problem statements from other domains. To balance cost and accuracy, a rule engine is not replaced, rather complemented by the use of a decision model - Microsoft-Decision-1.1 in this case. Production implementations of the above design pattern can also ensure relevant evaluation metrics for the Decision model are set up appropriately to help track any possible deviations in model behavior. These are available under the consolidated Foundry platform, where evaluations can be configured with ease, thereby benchmarking performance against your own baselines.278Views0likes0CommentsAmplify Healthcare Intelligence: Data, AI, and Agent-Powered Transformation
Join Microsoft for Amplify Healthcare Intelligence, a webinar and in-person workshop series designed for healthcare and life sciences organizations building the foundation for trusted AI. Every session starts from the same premise: you cannot deliver trusted AI without a trusted data foundation. Across the series you will see how leading organizations unify their data estate, ground AI agents in real business context, and turn that foundation into results they can measure. What You Will Learn How to build a unified, AI-ready data foundation across a fragmented healthcare data estate How to ground AI agents in trusted healthcare data and real business context How to modernize analytics while reducing complexity and cost How to accelerate innovation with Microsoft Fabric, Azure AI Foundry, Microsoft IQ, and Copilot technologies How to deliver measurable impact across clinical, operational, research, and business scenarios Whether you are defining your AI strategy, modernizing your analytics platform, or scaling AI across your organization, these sessions offer practical guidance, real-world customer examples, and hands-on learning to help you move from AI ambition to business impact. Webinars & In-Person Workshops 🎥 Webinars One-hour virtual sessions with actionable guidance, live demonstrations, customer stories, and best practices from Microsoft experts. Each webinar shows how leading healthcare organizations are turning data, AI, and enterprise intelligence into measurable business outcomes. All sessions are from 3-4 ET (12-1 PT) and are free to attend. Date Topic Register Nov 18 3-4 ET (12-1 PT) From Question to Visuals: Data Insights with Fabric, Rayfin & GitHub Copilot Register Dec 2 3-4 ET (12-1 PT) The Intelligent Healthcare Enterprise: Microsoft IQ in Action Register Dec 9 3-4 ET (12-1 PT) From Trusted Data to Action: Microsoft Fabric + Copilot Cowork for Healthcare & Life Sciences Register Dec 16 3-4 ET (12-1 PT) Beyond Insights: Transforming Pharma & Life Sciences with Data, AI and Intelligent Agents Register Jan 13 3-4 ET (12-1 PT) From Data Silos to AI-Ready: Building a Unified Data Foundation Register Jan 20 3-4 ET (12-1 PT) Ready for AI: Building Trust into Your Data and AI Strategy Register Jan 27 3-4 ET (12-1 PT) From Healthcare Data to AI-Ready Intelligence Register Feb 3 3-4 ET (12-1 PT) Beyond Data: Building the Context AI Needs Register Feb 10 3-4 ET (12-1 PT) AI Agents in Healthcare: Connecting Data, Decisions, and Workflows Register Feb 17 3-4 ET (12-1 PT) Code Smarter, Build Faster: AI-Powered Development with Fabric Register Cannot join live? Register anyway. We will send you the recording and session materials after the event. Additional sessions will be added through the end of the year, so check back or register for one session to be notified as new dates are announced. 🏢 In-Person Workshops Our two-day workshops combine executive strategy, healthcare-specific use cases, architecture guidance, and hands-on labs designed to help teams identify and accelerate high-value AI opportunities. Attendance is free. Participants are responsible for their own travel and accommodation, and space at each location is limited. Workshops run 9am to 4pm local time on both days. Day 1: From Healthcare Data to Healthcare Intelligence Day 1 focuses on healthcare transformation strategy, customer examples, and the architectural patterns that make trusted AI possible at scale. The day closes with a networking reception and peer exchange. The Frontier Transformation imperative: from AI ambition to measurable impact Microsoft IQ: turning data into enterprise intelligence Building the unified data foundation Building trusted AI: security, governance, privacy, and compliance Healthcare transformation in action: clinical, operational, research, and finance scenarios Activating data with AI data agents and Copilot experiences Day 2: Hands-On Healthcare AI and Analytics Lab Day 2 is a guided, end-to-end lab. Participants build a working healthcare intelligence solution from raw data through to a grounded AI agent, using Microsoft Fabric, Azure AI Foundry, Copilot technologies, and modern data architectures. Build the foundation: data ingestion, lakehouse architecture, and data engineering Create actionable insights: semantic models and dashboards Prepare data for AI: AI-ready data assets and data governance Build and ground AI agents in trusted enterprise data From insight to intelligent action: planning your organization's next steps What to bring: a laptop with a current browser. Lab environments and credentials are provided on site, and no prior Fabric or Foundry experience is assumed. Date City Venue Register December 8-9, 2026 9am - 4pm New York Microsoft Garage 300 Lafayette Street New York, NY 10012 Register February 9-10, 2027 9am - 4pm Detroit Microsoft Detroit 1 Campus Martius, Floor 5 Detroit, MI 48226 Register April 13-14, 2027 9am - 4pm Philadelphia Microsoft Malvern 45 Liberty Blvd, Suite 210 Malvern, PA 19355 Register May 4-5, 2027 9am - 4pm Chicago Microsoft Chicago (AON Center) 200 East Randolph Drive, Suite 200 Chicago, IL 60601 Register Who Should Attend This series is built for the people who own the data estate and the people who depend on it. Sessions are technical enough for practitioners and strategic enough for the leaders who prioritize the work. Data & analytics leaders Data platform, data engineering, and business intelligence teams Data architects, engineers, and data scientists AI and innovation leaders Healthcare and life sciences executives Clinical, operational, research, and finance transformation leaders No prior Microsoft Fabric or AI experience is required for any session in this series. Questions Contact Camille Whicker if you have any questions about our upcoming events.Amplify Healthcare Intelligence In-Person Workshop Series
What You'll Learn How leading organizations are navigating the Frontier Transformation journey Strategies for turning healthcare data, workflows, and expertise into organizational intelligence Best practices for building a unified, AI-ready data foundation Approaches for implementing trusted AI with strong governance and security Real-world healthcare scenarios across clinical, operational, financial, and research domains How AI agents can transform the way people interact with data and make decisions Practical skills for deploying analytics, AI, and agent-powered solutions Day 1: From Healthcare Data to Healthcare Intelligence Explore how leading healthcare organizations are creating a trusted foundation for AI and transforming data into meaningful business outcomes. The Frontier Transformation Imperative The future of healthcare in the age of AI and agents Industry trends, opportunities, and challenges Moving from AI ambition to measurable impact Microsoft IQ: Turning Data into Enterprise Intelligence Connecting data, workflows, and organizational knowledge Building organizational intelligence for AI Establishing the foundation for trusted decision-making Building the Unified Data Foundation Modernizing the healthcare data estate Creating a single source of truth for analytics and AI Leveraging Microsoft Fabric and OneLake as a unified platform Building Trusted AI Security, governance, privacy, and compliance Responsible AI considerations for healthcare and life sciences Preparing data and processes for enterprise AI adoption Healthcare Transformation in Action Clinical transformation scenarios Operational transformation scenarios Research and innovation use cases Finance and performance management opportunities Activating Data with AI Agents AI Data Agents and Copilot experiences From data to decision-making Real-world examples of agent-powered healthcare innovation Networking Reception & Peer Exchange Day 2: Hands-On Healthcare AI & Analytics Lab Gain practical experience building an end-to-end healthcare intelligence solution using Microsoft technologies. Build the Foundation Data ingestion and modernization patterns Lakehouse architecture and data engineering Establishing a scalable healthcare data platform Create Actionable Insights Semantic models and business intelligence Power BI dashboards and reporting Real-time healthcare intelligence Prepare Data for AI Building AI-ready data assets Data governance and trust Optimizing data for intelligent applications Build and Ground AI Agents Creating AI Data Agents Leveraging business context and trusted enterprise data Connecting agents to analytics and operational workflows From Insight to Intelligent Action End-to-end healthcare AI scenario Data → Insights → Agents → Outcomes Planning your organization's next steps Upcoming Workshop Locations Date City Venue Register December 8-9, 2026 9am - 4pm New York Microsoft Garage 300 Lafayette Street New York, NY 10012 Register February 9-10, 2027 9am - 4pm Detroit Microsoft Detroit 1 Campus Martius, Floor 5 Detroit, MI 48226 Register April 13-14, 2027 9am - 4pm Philadelphia Microsoft Malvern 45 Liberty Blvd, Suite 210 Malvern, PA 19355 Register May 4-5, 2027 9am - 4pm Chicago Microsoft Chicago (AON Center) 200 East Randolph Drive, Suite 200 Chicago, IL 60601 Register Who Should Attend? Healthcare and Life Sciences Executives CIOs, CTOs, and Chief Data Officers Clinical and Operational Leaders Analytics and Data Platform Teams AI and Innovation Leaders Finance Transformation Teams Architects, Engineers, and Data Professionals What You'll Walk Away With By the end of the workshop, you'll have a clear understanding of how to build a unified data and AI foundation, enable trusted AI and intelligent agents, and create a roadmap for accelerating healthcare transformation within your organization.From Purview Data Governance to the Fabric OneLake Catalog
What is changing, What is available today, and How to transition without losing GOVERNANCE outcomes! Microsoft's data governance story is moving closer to the data. In Microsoft Fabric, the OneLake catalog is now the primary experience for discovering and governing Fabric data, while Microsoft Purview continues as the security and compliance layer that protects, audits, and monitors it. For teams that built their governance practice around Purview Data Governance, this is more than a change of screens. It is a change in architecture and operating model. This article explains the shift, what the OneLake catalog offers today, how responsibilities split between Fabric and Purview, and a practical, outcome-first way to transition. The strategic shift: from a separate control plane to governance in the platform The earlier pattern, often described as a "catalog of catalogs," centered governance on scanning metadata from many systems into a separate control plane. The Fabric approach starts from a lake-first foundation instead: make data available through Fabric and OneLake, whether natively or through supported integration patterns such as shortcuts, mirroring, and sharing. Keep governance context next to that data, and surface governance where owners and consumers already work. Microsoft's own guidance states the division of labor plainly. The OneLake catalog remains the primary experience for governing Fabric data, and using Purview does not change where Fabric governance lives. Purview adds protection, audit, risk, and compliance coverage where needs extend beyond Fabric. A simple rule of thumb: Use the OneLake catalog to discover, understand, and govern Fabric data. Use OneLake security and Fabric controls to enforce access on the actual data path. Use Microsoft Purview to classify, protect, monitor, investigate, and demonstrate compliance across supported Fabric experiences. Data reaches OneLake four ways, the catalog governs it through Explore, Govern, and Secure, and Purview protects and audits the whole path. What the OneLake catalog is The OneLake catalog is organized into three experiences: Explore, Govern, and Secure. It is reached from the Fabric navigation pane, is embedded in Microsoft Teams, Excel, and Copilot Studio, and can be queried programmatically through the Catalog Search REST API. Explore: find and understand Explore is the default tab. It provides an items list with an in-context details view, selectors and filters (including by domain), and the ability to work across workspaces side by side. It is permission-trimmed and focused on Fabric items, so it is not automatically an inventory of every external source. Govern: understand health and act Govern is the centralized place to manage and govern the Fabric estate. It combines: Governance Insights, which explain where your data stands, and Recommended Actions, which give concrete next steps. Two views: All data in Fabric for tenant-wide visibility and My items for the data you own. Both can be scoped to a domain or subdomain. Governance capabilities: domains, tags, endorsement, metadata scanning, cross-tenant sharing discovery, and policies. Administrative experiences that are moving in from the Admin portal: capacities, workspaces, tenant configuration, Azure connections, workloads, and more. The estate-level report, reached through View more, is organized into three tabs: manage your data estate, protect/secure/comply (sensitivity label coverage and DLP evaluation), and discover/trust/reuse (freshness, curation, descriptions, endorsement, sharing). Secure: see and manage access Secure gives a unified view of workspace roles and OneLake security roles across items, so admins can audit permissions, see who has access to what, and create, edit, or delete security roles from one place. Fabric Policies: a growing foundation Fabric Policies, managed from the Policies center in Govern, are the newest piece. Administrators define condition-based rules (by workspace, security group, sensitivity label, item type, and similar attributes), activate them for a Tenant or Capacity admin scope, and Fabric records allow/deny decisions in the audit logs. Policies are stored as Fabric items, so they support REST APIs, Git integration, and CI/CD, and they are included with the Fabric license at no extra charge. Today the capability is deliberately narrow, and it is worth being precise about that: The only effect available is Allow. A policy with rules behaves as an allow list: anything that does not match a rule is blocked. Three policies are supported: external data sharing (tenant scope), item creation (capacity scope), and workspace settings editing (tenant scope). Only one policy can be active per scope, rules are capped (100 at tenant scope, 50 at capacity scope), and changes take effect within about 15 minutes of activation. Policies are not currently supported in the West Europe, North Europe, and West US capacity regions. Treat Fabric Policies as a promising foundation for centralized control, not as evidence of universal policy coverage. Where Purview still matters Purview is not removed from the picture. Microsoft documents the following integrations as available today: Information Protection: sensitivity labels can be set on all Fabric items, and data stays protected when exported through supported paths. This requires additional Purview licensing. Data Loss Prevention: policies evaluate labels and sensitive info types for supported structured data (lakehouses, warehouses, databases, semantic models), with policy tips and alerts. This also requires Purview licensing. Audit: Fabric user activities are logged in the Purview audit log. Insider Risk Management: ready-to-use risk indicators for Fabric activities such as Power BI and lakehouse operations. AI governance: risk discovery in prompts and responses, audit coverage for AI interactions, and retention and eDiscovery applicability for AI-generated content in supported Fabric Copilots and agents. There is one more point that matters for existing customers. Purview's organization-wide governance for Fabric, delivered through its live view, is described in Microsoft's documentation as a preview capability that lets consumers see the Fabric workspaces they can access and lets you run manual scans to make item-level metadata available in Purview. If you rely on Purview as the place where Fabric metadata lands, validate this path against your needs. Mapping Purview Data Governance outcomes to Fabric The most useful way to plan is by the job to be done, not by the old product menu. The table below gives a defensible current-state mapping. "Partial" means part of the outcome is covered and part is not; it is not a polite way of saying "equivalent." Purview outcome Target today Transition guidance Catalog search and browse OneLake catalog Explore, item details, filters, Catalog Search API Move Fabric discovery now. Keep separate discovery for external sources not represented in Fabric. Collections, domains, ownership Fabric domains and subdomains, workspace assignment, domain admins, owners Map organizational boundaries and accountabilities. Keep a responsibility matrix for stewardship duties without a dedicated role. Glossary, critical data elements, custom context Tags, descriptions, endorsement Export and preserve terms and ownership. Do not claim full glossary or CDE parity. Data products and publishing Domains, endorsement, sharing, discoverable semantic models Define the product contract, owner, health, lifecycle, and access process outside the catalog where needed. Lineage and impact analysis Fabric lineage and impact analysis for supported items Move supported paths. Retain another method for cross-system, unsupported-workload, or granular lineage. Governance health Governance Insights and Recommended Actions Use as the primary Fabric posture view. Keep business KPIs and issue closure in the systems that own them. Data quality Freshness and curation insights; workload and source tools Governance Health is not a rules, profiling, and scoring engine. Validate a documented capability before presenting it as a replacement. Access requests and workflows Item sharing, semantic-model request access, source controls Keep the request, approval, expiration, revocation, and evidence process where Fabric does not cover it end to end. Classification and sensitive-data protection Purview sensitivity labels and DLP on supported Fabric items Keep Purview here. Validate item types, inheritance, export behavior, and licensing. Access policy and enforcement Fabric Policies (preview); workspace, item, OneLake, and source permissions Enforce on the specific data path now. Do not assume universal policy coverage. External metadata scanning Shortcuts, mirroring, external sharing, scanner/admin APIs Data connectivity is not enterprise metadata scanning. Define a bridge or partner approach for uncovered sources. APIs and extensibility Catalog Search REST API, Fabric metadata/scanner APIs Validate fields, identities, and scale. Do not assume compatibility with existing Purview API integrations. Audit, risk, compliance Purview Audit, DLP, Insider Risk plus Fabric evidence Correlate evidence across identity, data, action, and retention. One Fabric report is not universal proof. AI and agent governance OneLake controls, Purview AI controls, Fabric semantic capabilities Pilot one end-to-end AI path and verify grounding, permissions, actions, and retained evidence. Governing data, access, and AI as layers No single catalog entry, label, or role governs every path. Microsoft's Cloud Adoption Framework guidance offers a helpful way to think about the layers that need to line up: Workspace access. Use workspace roles when someone needs broad capability across a workspace, assign them to Microsoft Entra security groups rather than individuals, and restrict the Admin and Member roles because they can manage and share content. Item access. Use item permissions when someone needs one data product without the rest of the workspace. Sharing an item does not necessarily grant permission to query the underlying OneLake data. Data access. Use OneLake security or an experience-specific control when different audiences need to see different tables or records from the same data product. Workspace isolation. Create separate workspaces when administration, deployment, or network requirements truly differ, not merely to reproduce boundaries that item permissions or OneLake security can enforce. The practical consequence is that control-plane and data-plane permissions are separate. A role that lets someone manage an item is not the same as one that lets them read its data, so test the actual compute and query path. The highlighted layer is the one that governs the data itself; the others govern who can manage, share, or isolate content. For Copilot and agent scenarios, document and test six things for each use case: identity (whose permissions are used), grounding (what items it can retrieve), context (which definitions, labels, and lineage shape answers), action (answer only, or write, share, and trigger), protection (labels, DLP, tenant and network controls), and evidence (which prompts, responses, and actions are audited and retained). A practical transition method The goal is not to copy every Purview object across. It is to preserve each governance outcome, its owner, its control, and its evidence, while taking advantage of Fabric-native capabilities. Move in waves. Step 1: Inventory the current footprint. Capture registered sources, scans and network runtimes, collections and domains, owners and stewards, glossary terms and CDEs, custom attributes, data products, lineage, quality rules, workflows, access policies, APIs, reports, licenses, and evidence-retention requirements. Step 2: Classify every requirement. Place each job in one of four buckets: move now to a documented Fabric capability; coexist temporarily; bridge with an operating process or partner; or redesign because a one-to-one replacement is neither available nor desirable. Step 3: Design the target operating model. Decide on Fabric domains and subdomains, workspace and capacity topology, delegated administrators, item owners, who may certify, the tag taxonomy, OneLake roles, any Fabric Policies you will use, and the handoff to Purview for security and compliance. The Cloud Adoption Framework advises that domain design is led by business and enterprise architects, with Fabric admins implementing it and a center of excellence involved, because carefully defined domains and workspace-to-domain mapping are what make the catalog useful. Step 4: Pilot one end-to-end scenario. Choose one business domain, one critical asset, one producer, one consumer, one denied identity, and one analytics or AI use case. Test discovery, context, lineage, access, labels, DLP, audit evidence, and remediation. The denied identity matters: proving that access is blocked is as important as proving it works. Step 5: Migrate in waves and verify. Move supported metadata and ownership, train users, and run old and new processes in parallel only as long as necessary. Retire a Purview dependency only after documented acceptance criteria pass. Questions to settle early Which governance outcomes are business- or regulatory-critical, and which are convenience features? Which data is already in Fabric, and which sources can be brought in through shortcuts, mirroring, or supported sharing? Which Purview objects or APIs are embedded in production processes? Where is stewardship a formal role, and where can item ownership and domain administration cover the responsibility? Which use cases need a business glossary, CDEs, custom metadata, broad workflows, or cross-estate lineage? Which labels, DLP policies, audit records, retention rules, and investigations must continue unbroken? Which analytics and AI experiences will consume the data, and what actions can they take? Conclusion The move from Purview Data Governance to the OneLake catalog is best understood as governance becoming a property of the platform rather than a layer scanned on top of it. For Fabric data, the catalog already delivers real value in discovery, domains, endorsement, lineage, governance health, and centralized access views. Purview remains essential for labels, DLP, audit, insider risk, and AI protection. The gaps are equally real: external metadata scanning, glossary and CDE depth, data quality workflows, and broad policy coverage are not one-to-one replacements today. The organizations that will transition best are the ones that start from outcomes, state honestly what is available versus in preview, pilot a single end-to-end path, and retire old tooling only when the evidence says it is safe. Sources OneLake catalog overview Govern and manage your Fabric data estate with the OneLake catalog What are Microsoft Fabric policies (preview)? Governance overview and guidance Use Microsoft Purview to protect Microsoft Fabric Fabric governance in a unified data platform (Cloud Adoption Framework)4.7KViews8likes0CommentsFrom Python Agents to Copilot Harness : Putting Microsoft Foundry to the Test
You have built the agents. Written the Python. Connected the data. Worked out how the pieces talk to each other. Then the conversation shifts to harnesses. The prospect of convergence around the GitHub Copilot harness across GitHub, Microsoft Foundry and Copilot Studio (CPS) raises a very practical question: What happens to the pro-code agents I already built? Do I rewrite them, wrap them, or keep them? Rather than debate it in the abstract, I wanted to give it a shot. I already had a Microsoft Agent Framework (MAF) demo with Python agents, Fabric sales data and product knowledge. Could I keep the useful business workflows, remove the custom agent wrappers, and let a managed harness do more of the work? That experiment became the demo behind this blog. Not another empty chat box, but an app to ask business questions, inspect actual tool activity, follow the evidence and create a brief you can revise and download. This is a practical Foundry experiment and the question I wanted to answer was: how much of this particular agent application can move into the harness, and what still belongs in my code? TL;DR: I moved a Python/MAF research demo to a Foundry-managed Copilot harness to test whether it could handle the same business questions. Native research and source connections reduced the agent-side orchestration I had to write, while the app still owns authentication, streaming and secure access. Downloadable briefs are an extra experiment, not part of the original migration. Focused tests were promising, but do not establish complete feature parity or production readiness. The Starting Point: Pro-Code Agents The starting point is olivierb123/microsoftiq-lead-agent-demo. It used four hosted Agent Framework wrappers and application-controlled fan-out. Python agent code and custom source adapters handled the integrations; the application determined which agents to call and assembled their results. That approach makes the orchestration explicit. It also puts the responsibility for hosting the wrappers, maintaining source adapters and coordinating the workflow in the application. For this experiment with harness, I kept the business scenario but changed the execution model. Instead of recreating those wrappers inside another service, I configured one Foundry-managed Microsoft Copilot harness agent with instructions, native capabilities and connected sources. Responsibility Pro-Code Demo Harness Experiment Workflow orchestration Application-controlled agent calls Managed agent selects tools and can delegate Research Hosted wrappers and custom adapters Native web search and page fetching Business data Application source integration Native Fabric connection Product knowledge Application retrieval integration Foundry IQ knowledge-base retrieval through native MCP Working output Application-managed result assembly Conversation workspace and published artifacts Application code UI plus agent orchestration UI, authentication, streaming and session/download authorization This repository contains the migrated implementation. The original pro-code demo remains separate and was not overwritten. A Practical Question, Not a Tool Demonstration The scenario is a fictional sales team working with FieldForge product documentation. A useful assistant should help answer questions such as: How many opportunities are open in the expanded synthetic demo, what is their total and probability-weighted value, and how do our internal forecasting definitions explain those numbers? That request needs two different kinds of evidence: structured opportunity data and the actual internal document defining the forecast. It should not require the user to name a connector or prescribe a tool sequence. A more advanced request asks for a South territory brief combining sales performance, priority opportunities, product capabilities and official construction heat-exposure guidance. The user can then request a revision or a downloadable Markdown artifact in the same conversation. These examples exercise the harness as a working environment, not just a text-generation endpoint. However, they are requests to explore, not promises that every tool or subagent will run on every turn. Why a Local Web App? I deliberately kept the test experience in a local web app. I wanted to make it easy to ask a question, try a follow-up and inspect what happened, without turning the experiment into a web-hosting project first. The React workbench and Node.js backend run locally; the agent and connected sources run in the cloud. After signing in, I can choose a sample question, watch the streamed response, inspect Activity and Evidence, and request a revision or download in the same conversation. I do not need to reconstruct a raw SDK response to see whether a source was actually called. That separation also makes the migration easier to understand. The web app is the test surface, not the agent runtime. There is no local Python agent server hiding behind it: the backend sends the request to Foundry and handles the application's authentication, streaming and session-owned downloads. For this first experiment, the backend is intentionally loopback-only. Hosting the application publicly is a separate engineering task, not a prerequisite for testing the harness against a useful scenario. The Architecture The configured agent uses microsoft_copilot_preview and gpt-5-mini. The agent definition lives in harness/azure.yaml, rather than a Python agent server. The application, backend and data scripts use JavaScript/Node.js. There is no Python application runtime, pip setup or virtual environment required for this version. That is not a zero-code migration: the application still owns sign-in, token validation, streaming, conversation ownership and secure downloads. The backend does not execute the native source calls a second time. Foundry executes them; the application observes their returned results and presents them in Activity and Evidence. What It Looks Like in the Foundry Portal The local workbench is only one view of the experiment. Foundry also supports hosted pro-code agents: I can package custom agent code, including a Python/MAF implementation, and its dependencies in a container and let Foundry manage the hosting. I still own the agent implementation and its orchestration; using Python does not mean I must run the server myself. This experiment instead uses a managed-harness prompt agent. I configure its instructions, capabilities and source connections, while Foundry supplies the harness execution environment and native tool orchestration. Both approaches can run in Foundry. The distinction is not simply local versus cloud, or Python versus no Python: it is how much agent runtime and orchestration I implement versus delegate to the managed harness. The application's UI, authentication and session/download authorization remain my responsibility in this demo. My microsoftiq-copilot agent and its configured tools/connections make the change tangible. The configuration ties together the native harness capabilities, Fabric access and product-knowledge retrieval shown in the architecture diagram. No Web IQ Wrapper in This Version The Web IQ integration from the earlier demo is not carried forward. External research uses the harness's native web search to discover sources and its Web capability to read relevant pages. This supports the research portion of the scenario without maintaining a separate Web IQ agent wrapper. It is not a claim that native web research reproduces every Web IQ behavior or data contract. Fabric and product knowledge are optional grounding sources, not stages that every question must pass through. A public-research question can stay a public-research question. Private business data must not be sent to public web tools. More Direct Integration with Fabric and Foundry IQ For me, the integration improvement is the ownership boundary: the harness uses configured native connections instead of calling application adapters that obtain credentials and query sources themselves. Fabric supplies structured business facts. The native Fabric connection uses the signed-in user's context to access a dedicated data agent over imported semantic models. There is no app-only Fabric credential fallback. The models contain demonstration data, not live CRM records. Foundry IQ supplies document evidence. The product-knowledge MCP connection reaches a knowledge base backed by Azure AI Search. Query planning and semantic retrieval return extractive evidence, including stored document metadata, for the harness to use in its answer. This connection uses the Foundry project's managed identity; it does not establish per-user document ACL enforcement. The distinction matters. A supportingDocId in an opportunity row is a relationship reference, not proof that the corresponding document has been retrieved. Fabric cannot substitute for document content, titles or update dates from the knowledge base. Calling this integration "better" means more direct native integration with clearer source responsibilities. I have not established a quality, latency or cost improvement over the MAF implementation, nor certified genuinely different-user authorization. What the Experiment Actually Showed Focused tests showed that the harness could retrieve sales figures, find internal documents, research the web and continue a conversation. That supported the core research workflows we wanted to carry over from the MAF demo. The most revealing test asked for sales figures together with the internal document explaining how the forecast should be interpreted. Some early runs got the numbers right but did not retrieve the requested document. The answer sounded convincing, but part of its explanation lacked verified support. After clarifying the agent's instructions and which source should answer each part of the question, one test run successfully retrieved evidence from both sources. This used synthetic demo data, not live customer information. The lesson: connecting the tools is only the start. You still need to test whether the agent uses the right sources and whether those sources actually support its answer. Beyond the Migration: Trying Workspace Files and Briefs Once the core question-answering workflows were working in focused tests, I wanted to try something we had not implemented in the MAF demo: turning an answer into a working document. Why save a brief? Not every answer needs one. But a territory review is a useful example: instead of leaving the analysis in a chat response, I can request a Markdown document to keep, review or hand off, then ask for a revision in the same conversation. The file is an optional deliverable, not a prerequisite for retrieving sales data or product evidence. This is where the harness's conversation workspace and native file capabilities become interesting. I can explore creating, reading back and revising an artifact in the managed environment without rebuilding those agent-side tools in a Python wrapper. MAF could support the same kind of workflow with appropriate tools and code; this is an additional capability in this demo, not something exclusive to a harness. Publication adds a separate step when the user actually wants a download. A workspace file is not automatically downloadable: the workbench registers it only after a successful native upload returns a real file ID, and only the owning unexpired session can download it. The application still implements those access checks. The migration question is therefore "can I keep answering the useful business questions?" The extension question is "what else can I build on the harness's native capabilities?" Briefs help explore the second question. Actual tool results, not assistant narration, establish whether creation, revision or publication occurred. There are still operational boundaries. The app is loopback-only, the harness is a public preview, inference and retrieval incur costs, and workspace state is not durable application storage. Refreshing the browser or restarting the backend loses local session mappings. Production hosting, retention and broader authorization need separate work. Shell and external business-system writes remain disabled. The Takeaway So, what happened to my Python agents? For this scenario, their hosted wrappers were no longer needed. The business questions stayed; their execution moved into a managed harness, and the remaining application code focused on the experience and its security boundaries. For this practical research scenario, that shifts the work from maintaining Python wrappers and fixed fan-out toward configuring the agent, defining source responsibilities, building the user experience and verifying evidence. Fabric and Foundry IQ fit into that environment directly, while native web research replaces the earlier Web IQ path for the tasks explored here. When I Would Still Use MAF Deterministic Routing and Local Hybrid Execution: MAF allows you to deploy hybrid topologies where small, local models (like MAI-Decision / Jev) handle rapid, deterministic triage and tool-gating, reserving expensive cloud-hosted frontier models for complex reasoning. A managed harness forces all routing into its proprietary cloud runtime, stripping away your ability to optimize latency and compute token economics. Absolute Control over the Orchestration Loop: The Copilot Harness uses an abstracted reasoning engine to decide when to activate a skill or invoke a tool. Native Toolchain Continuity and Hosting: MAF agents operate as standard C# or Python applications. Granular State and Semantic Memory: Managed harnesses provide a generalized shared memory layer. MAF allows you to build custom memory providers (like custom Azure SQL or Cosmos DB schemas) Unrestricted Interoperability Mechanics: While the Copilot Harness can consume Agent-to-Agent (A2A) protocols and Model Context Protocol (MCP) servers, building the actual server logic in MAF gives you the power to manipulate the raw protocol mechanics. If you need to manage custom message headers, inject highly specific tokens for platforms like SAP or ServiceNow, or alter payload structures mid-flight, MAF provides the unabstracted access required to do so. For this demo, the harness was a useful way to move beyond fixed fan-out and put research, connected evidence and artifacts into one managed environment. For another application, keeping its MAF agents may be the better decision. My takeaway is simple: start with a real task, move the responsibilities that fit the harness, and test the boundary instead of assuming the migration works. What's Next This experiment answered one question—now I'm curious about others: How does the harness perform under sustained load? What happens when Fabric semantic models grow to production scale? Can the same approach work for agents that need to write back to business systems? If you're exploring similar migrations, I'd be interested to hear what worked and what didn't. Try the Project The code is available at olivierb123/microsoftiq-copilot-harness-demo. Choose your path: Run the demo locally → Start with the README and setup checklist Explore the agent configuration → See harness/azure.yaml for the Foundry agent definition Understand the data model → Review the synthetic data documentation Compare with the original MAF approach → Check out the original pro-code demo Questions or feedback? Open an issue on the repo or share your own migration experience in the comments below.464Views2likes0CommentsFrom Files to Insights: Building a Medallion Architecture with Microsoft Fabric
Organizations often receive critical business data through files, spreadsheets, and SharePoint, but turning that information into trusted, analytics-ready insights can quickly become complex. Microsoft Fabric simplifies this journey by bringing ingestion, transformation, governance, and analytics together in a unified data platform. In this article, we’ll explore how a Bronze, Silver, and Gold medallion architecture can transform raw files into clean, trusted, and business-ready data for reporting and insights. Create a dedicated Fabric workspace The SharePoint Documents/fabric-lab/customer-drop folder is created, and the initial baseline Excel workbook is uploaded. This simulates how vendor files can be dropped into a controlled landing area before Fabric processes them. For the initial run, the document specifically starts with: customers_2026-11-01_baseline.xlsx. Flow so far: Vendor Excel file → SharePoint landing folder → Fabric Create the Fabric Lakehouse A Lakehouse called lh_sharepoint_bronze_lab is created inside the workspace. The lab design states that the Dataflow creates the staging table while notebooks are intended to create the Bronze tables. What is happening: We now have a OneLake-backed location where the SharePoint data can land and later progress through the medallion architecture. Connect Fabric Dataflow Gen2 to SharePoint A Dataflow Gen2 is created and connected to the SharePoint folder source. The configuration uses the SharePoint site URL, rather than pointing directly at an individual Excel file. This is important because the design is intended to process files arriving in the folder, rather than building a one-off connection to a single workbook. Apply ingestion logic in Power Query The Dataflow's Advanced Editor contains Power Query logic that: Connects to SharePoint. Filters files to the designated folder. Selects .xlsx files. Ignores temporary Excel files beginning with ~$. Opens each workbook. Finds the tblCustomers table. Extracts its rows. Adds the originating filename as source_file. Adds the SharePoint modified timestamp as source_modified. Combines the rows from the accepted workbooks. This source metadata is very useful later because Vendor Intelligence can retain where a record came from and when its source was modified. Validate the first SharePoint file The Dataflow successfully discovers the November 1 baseline workbook in SharePoint. The binary content shown represents the Excel file that Fabric can open and process. What this proves: Fabric can dynamically discover the staged Excel file from the SharePoint landing location. Transform the Excel data into rows The binary Excel workbook has now been interpreted as structured rows. The screenshot shows fields such as CustomerID, CustomerName, Email, Country, Region, SignupDate, Segment, AnnualRevenueUSD, and IsActive. For the actual Vendor Intelligence scenario, the same pattern can be applied to datasets such as: Vendor master records Contracts Spend Risk/compliance information Assessments and attestations Map the data into the Lakehouse The Dataflow destination configuration maps the incoming columns to the destination Lakehouse table and confirms their target data types. What is happening: The ingestion process is transitioning from simply reading a file to writing structured data into Fabric. Execute the ingestion The Dataflow is saved and executed. The screenshot shows the run completed successfully, including the stg_customers_WriteToDataDestination activity. In simple terms: SharePoint → Dataflow Gen2 → Fabric Lakehouse is now functioning end to end. Confirm the records in the Lakehouse The resulting records are now visible in the Lakehouse staging table. The screenshot shows 10 rows from the first baseline file. This confirms that the data has moved successfully from an external SharePoint-hosted Excel file into Fabric. Simulate the arrival of new vendor data A second workbook, customers_2026-11-02_increment.xlsx, is added alongside the original baseline file. This is an important part of the Vendor Intelligence story because it demonstrates that new source data can continue arriving over time, rather than requiring the original file to be manually replaced. Fabric discovers and processes the additional file When the Dataflow runs again, the ingestion query reads the qualifying workbooks and combines their rows. The resulting view includes the original customer records plus the newly introduced records such as CUST-1011 through CUST-1015. This is where the architecture becomes important: staging can represent the current extraction from SharePoint, while Bronze should preserve the accepted source history rather than treating every incoming file as a completely independent business truth. Move from ingestion into the Medallion architecture The diagram below shows how the ingestion pattern evolves into the production Vendor Intelligence data architecture: Staging Temporary output from the SharePoint read. This layer can be replaced whenever the ingestion process executes. Bronze The raw historical layer. It preserves accepted source data and metadata. Vendor Intelligence examples identified in the design include bronze_vendors_raw, bronze_contracts_raw, bronze_spend_raw, and bronze_risk_raw. Silver The trusted/conformed layer. Here Fabric validates types and keys, resolves vendor aliases, standardizes information, removes duplicates, and retains exceptions. Example tables include silver_vendor, silver_vendor_alias, silver_contract, silver_invoice, and silver_risk. Gold The business-ready layer serving Vendor Intelligence applications and analytics, including the Vendor profile, spend summary, contract expiration information, and risk summary. Creating the Staging-to-Bronze notebook A Fabric notebook named 01_Staging_to_Bronze is created to begin the transformation process. The notebook approach allows Spark-based processing to be applied after Dataflow Gen2 has completed the SharePoint ingestion. The separation is intentional: Dataflow Gen2 handles source ingestion → Notebook handles engineering and medallion transformations. Reading the staging data from the Lakehouse The notebook reads the stg_customers table that was populated by Dataflow Gen2. The resulting dataset contains 15 records and 11 columns, including customer attributes such as CustomerID, CustomerName, Email, geography, segment, annual revenue, and activity status. Source metadata is also retained through source_file and source_modified. This is the handoff between ingestion and engineering: SharePoint → Dataflow Gen2 → stg_customers → Fabric Notebook. At this point, staging represents the current set of records discovered from the SharePoint landing location. Preparing records for Bronze Before writing records to Bronze, the notebook enriches each record with metadata required for historical tracking. A SHA-256 _record_hash is generated from the business attributes. Additional fields identify SharePoint as the source system and capture the Fabric ingestion timestamp. The resulting Bronze-ready record therefore contains: Original business attributes source_file source_modified _record_hash _source_system _ingested_at The record hash becomes particularly useful when determining whether the same version of a source record has already been processed. Creating the Bronze historical table The transformed records are written into the Delta table bronze_customers_raw. The notebook confirms that the initial Bronze table was successfully created with 15 records. Bronze serves a fundamentally different purpose from staging. Staging answers: What does the current source extraction contain? Bronze answers: What source records has the platform historically accepted and observed? For the eventual Vendor Intelligence implementation, equivalent patterns can support raw vendor, contract, spend, and risk entities such as bronze_vendors_raw, bronze_contracts_raw, bronze_spend_raw, and bronze_risk_raw. Validating Bronze history and lineage The Bronze table clearly demonstrates the additional lineage attributes captured during ingestion. Each business record is associated with the source file, source-modified timestamp, unique record hash, source system, and Fabric ingestion timestamp. This metadata provides the foundation for traceability and future change detection. For example, if an existing entity arrives later with different business attributes, the newly calculated hash will differ from the historical hash. Fabric can recognize that observation as a new version rather than blindly duplicating records on every ingestion cycle. Detecting new record versions The next notebook logic compares the hashes calculated from incoming staging records against the hashes already stored in Bronze. A left_anti join identifies only records whose hashes have not previously appeared in Bronze. In the screenshot, the notebook reports zero new record versions detected. This is the expected result because the current staging records were already loaded into Bronze. This is an important behavior: Reprocessing the same SharePoint files does not automatically create duplicate historical observations. When source attributes eventually change, the changed business values generate a different hash and the new version can be appended to Bronze rather than replacing its previous history. Separating Silver and Gold into dedicated Lakehouses The architecture is then separated further by introducing dedicated Silver and Gold Lakehouses. The existing lh_sharepoint_bronze_lab continues to contain the staging and Bronze portions of the lab, while lh_vendor_silver and lh_vendor_gold provide isolated locations for trusted and business-ready data. The implementation now follows: SharePoint Staging and Bronze: lh_sharepoint_bronze_lab Silver: lh_vendor_silver Gold: lh_vendor_gold Analytics and downstream consumption This physical separation also makes the medallion progression much easier to understand visually. Reading Bronze for Silver processing The Silver notebook begins by reading bronze_customers_raw from the Bronze Lakehouse. Before processing continues, the notebook validates that the required business, lineage, and hash columns exist. This validation provides an important quality gate between layers. Silver processing should not silently continue when required fields are missing from the upstream dataset. Standardizing and selecting trusted customer records Silver begins transforming raw historical observations into a cleaner representation of the business entity. The notebook normalizes values such as customer identifiers, customer names, email addresses, countries, regions, and segments. Records without valid customer identifiers are removed from the trusted output. A window operation then groups records by CustomerID and orders observations based on source and ingestion metadata. The notebook retains the latest applicable record for each customer. In this lab, the transformation results in 15 current Silver customers. The distinction is now clear: Bronze = historical observations Silver = standardized current business entities Persisting the Silver customer table The trusted output is persisted as silver_customer in the dedicated Silver Lakehouse. The screenshot shows the customer data stored alongside useful lineage attributes inherited from the Bronze layer. In the eventual Vendor Intelligence implementation, the Silver layer becomes particularly important because this is where vendor identities from different systems can be conformed. The target Vendor Intelligence architecture anticipates Silver entities such as silver_vendor, silver_vendor_alias, silver_contract, silver_invoice, and silver_risk. Silver is also the logical layer for standardization, duplicate resolution, alias handling, and exception management Completing the Silver transformation The completed Silver notebook demonstrates the transition from raw historical ingestion to a current, standardized dataset that downstream workloads can consume. Instead of requiring analytics workloads to understand every SharePoint file, ingestion timestamp, or historical source observation, downstream processing can work against a cleaner representation of the entity. This is an important architectural boundary: Bronze preserves what arrived. Silver establishes what can be trusted and consumed. Moving from Silver to Gold The next stage is Gold, the business-ready layer of the medallion architecture. The target Vendor Intelligence design identifies business-facing outputs such as vendor profiles, spend summaries, contract-expiration information, and risk summaries. For the current lab, which uses customer sample data, Gold should be described as a customer analytics demonstration rather than actual vendor-spend analytics. The Gold notebook reads the trusted Silver customer dataset and aggregates the records into analytics-ready measures such as: Customer count Active customer count Annual customer revenue Customer distribution by region Customer distribution by segment The resulting Gold table can be stored as gold_customer_segment_summary in lh_vendor_gold. Gold therefore answers a different question from the previous layers: Bronze: What records arrived and when? Silver: What is the trusted current representation? Gold: What information should the business consume? The complete lab architecture At this point, the solution demonstrates the complete medallion journey: SharePoint landing Files arrive in a controlled SharePoint folder. Dataflow Gen2 ingestion Fabric dynamically discovers qualifying Excel workbooks and transforms the file content into structured rows. Staging stg_customers represents the current SharePoint extraction. Bronze bronze_customers_raw preserves accepted source observations, lineage metadata, hashes, and ingestion timestamps. Silver silver_customer creates a standardized, current view of customer entities in a dedicated Silver Lakehouse. Gold The Gold layer transforms trusted entities into business-ready aggregations designed for analytics. Create the pipeline Save and Run your pipeline Schedule the pipeline Consuming the Gold Layer Through a Business Dashboard The dashboard surfaces several key metrics: Total Customers provides a consolidated count of customers represented in the Gold layer. Active Customers highlights the portion of those customers currently identified as active. Annual Customer Revenue summarizes the annual revenue values associated with the current customer population. Annual Revenue by Region provides a geographic view of where customer revenue is concentrated. Customers by Segment shows the distribution of customers across the available customer segments. Region × Segment Detail provides a more granular view of customer count, active customers, and annual revenue across the two business dimensions. The dashboard completes the end-to-end data flow demonstrated throughout the lab: SharePoint → Dataflow Gen2 → Staging → Bronze → Silver → Gold → Dashboard427Views2likes0Comments