artificial intelligence
97 TopicsAgents exchange, people negotiate: A pattern for AI agents at commercial trust boundaries
AI agents can communicate across organizational boundaries, but should they negotiate commercial decisions? This article introduces an Azure reference architecture for secure agent-to-agent exchanges using A2A, deterministic controls, sealed quotations and human decision-making. A working implementation and synthetic evaluation demonstrate the pattern, its trade-offs and its limitations.168Views1like0CommentsRunning green hydrogen export plants with AI agents on Azure
Before you read. I wrote this paper for my capstone in the Azure Master Architect Program. The design has not been built, and the test in section 9 is a simulation. The value figures come from the case and from that simulation, and the cost figures are my estimates at Azure list prices. All of them are illustrative, not guaranteed. The views are my own. Summary Most green hydrogen export plants will start life on fixed dispatch rules and spreadsheets. In the case study behind this paper, that costs a 500 MW solar, wind and electrolysis complex 8 to 10% of its ammonia output. The plant also earns a premium of EUR 200 a tonne under EU rules, but only on tonnes it can prove, and under the rules in force the proof must hold hour by hour from 2030. This paper describes a way to run such a plant with AI agents on Microsoft Azure. An optimiser makes the plan, and five agents do the work around it. A policy layer checks every agent action, one gateway is the only write path to the plant, and the safety system stays hardwired. Every hour of production is sealed as certification evidence as it happens. I have not built it. I tested the logic on a simulated plant over a year of real weather and priced it on Azure at about EUR 0.59 a tonne. The paper gives the pattern, the Azure architecture with the reason for each service, the test and the cost. The problem: one plant, four clocks An export plant must keep four clocks in step, and they rarely agree (Table 1). Table 1. The four clocks of a green hydrogen export plant Clock What it demands What goes wrong on fixed rules Sun and wind Power swings by the minute, and dust or calm can cut it for hours The ammonia loop trips when the hydrogen buffer runs dry Electrolyser stacks Stacks age with every hard ramp and start-stop Every stack runs the same duty, whatever its health Tanks and ships Tank space and loading windows are fixed A late ship is re-planned by phone and email EU rules Every tonne must prove additionality and correlation in time and place Evidence is built by hand at month end Fixed rules are safe, but they cannot look ahead. They find out about a dust front when it arrives. The case puts the cost at 8 to 10% of output, and since those tonnes would come from assets that are already paid for, most of their value is margin. The case plant is on Morocco’s Atlantic coast. The four clocks are the same for any plant that runs electrolysers on variable renewables and sells into the EU. Why the proof matters now The premium in the case is EUR 200 a tonne, or EUR 80M a year at 400,000 tonnes. The same hourly data also feeds the Carbon Border Adjustment Mechanism, which has applied to hydrogen and ammonia imports since January 2026. Power is matched to production by calendar month until the end of 2029 and by the hour from 2030. The Commission also plans to postpone some of these requirements and has not said which dates will move. So, the evidence must be automatic from the first day, and the rule version has to change without a rebuild. Four ways to run the plant I compared four ways to run the plant and chose the last one (Table 2). Table 2. Four ways to run the plant Option What it is Verdict Fixed rules and spreadsheets Dispatch rules, manual re-plans, evidence built at month end Safe, but blind to the next hour. Loses 8 to 10% of output An optimiser alone A planning model, with people doing the rest Recovers most of the output. People still explain each plan, deal with shippers and build the proof One AI agent in charge A single agent with every tool, setpoints included Quick to demo. No safety case accepts a language model in the control path Agents around a deterministic core An optimiser plans. Agents explain, negotiate, recommend and record, inside hard limits Chosen. The maths stays deterministic, the safety case stays intact and every hour is proven The optimiser does the arithmetic, and I expect most of the extra output to come from it. The agents are there for the work around the plan: a stack that starts to drift at 11:15 and needs someone to approve a derate, a ship that arrives six hours late, a verifier who wants the proof for a cargo before it sails. Today that work runs on phone calls, email and spreadsheets. The pattern: agents around a deterministic core The study evolves around five agents and gives each an autonomy level. The levels follow what a mistake can break, whatever the model is able to do. Certification is the only fully autonomous agent, because it records and never controls. Safety monitoring has the least autonomy: it briefs the operator, who decides on every alarm. Table 3. Five agents and their autonomy levels Agent Owns Autonomy People keep Board measure Renewable Dispatch Electrolyser load against sun, wind and price forecasts L3, acts within the operating envelope The envelope Output against plan Degradation Management Stack utilisation, to extend stack life L2, recommends Approval of each derate Stack life Storage and Shipping Tanks and vessel loading, with shipper agents L3, acts within contract terms Contracts and prices Cargoes on time Certification Evidence Hourly correlation and additionality proofs L4, autonomous, records only The independent audit Certified share, premium realised Safety Monitoring Hydrogen and ammonia safety telemetry L1, assists Every alarm decision Licence to operate Under the agents sit four layers of control, and none of them is a language model (Figure 1). A deterministic optimiser, a mixed-integer linear programme, makes the plan. Ramp rates, tank levels, berth windows and the matching rule are hard constraints, and the same inputs always give the same plan. A policy layer checks every tool call before it runs and answers allow, needs human or deny. When it cannot decide, it denies. I would write it in the Agent Control Specification, which keeps the rules outside the model, as code. A setpoint gateway on site is the only write path to the control system, and it checks the limits and interlocks again. The safety instrumented system and the emergency shutdown stay hardwired, with no network path from any agent. Figure 1. Five agents under one orchestrator. Policy checks every action, and one gateway is the only write path to the plant. The orchestrator is a fixed workflow on Microsoft Agent Framework, with a checkpoint at every step and a pause wherever a person decides. I rejected a group chat between agents, because after a fault nobody could replay it for a lender. An approval describes the plant as it was when the card was sent, and a dust front can arrive in ten minutes, so the policy check runs again after the operator approves. The architecture on Azure Figure 2 shows the full design. It reads from the bottom up. The control system and the safety system run the plant as they do today. Next to them, a three-node Azure Local cluster runs two things: Azure IoT Operations, which reads every tag over OPC UA and keeps working when the link drops, and the setpoint gateway, the only component allowed to write back. This layer stays on site because there is no Azure region in Morocco, and because no plant should depend on a cloud link to stay safe. A private ExpressRoute circuit links the site to one EU region. In the reference design that is Sweden Central, for its three availability zones and its Foundry services, with North Europe for any service it does not offer. Microsoft Fabric holds the live twin and the full history. I preferred it to assembling separate ingestion, time-series and reporting services, because one capacity with one security model is simpler to run, and OneLake keeps the history in open Delta tables that a lender can read without the platform. The optimiser is a Container Apps job, since it is a deterministic solver that starts every 15 minutes and should cost nothing in between. The agents run in Foundry Agent Service. They call models in the EU Data Zone through Azure API Management, which routes between a small and a reasoning model, caps the tokens of each agent and logs its cost. No language model computes a setpoint, so the small model can take about three calls in four. Each agent reaches the plant only through allow-listed MCP tools, under its own Entra Agent ID, so it can be audited and revoked alone. Table 4 gives the reason for each service. Figure 2. Reference architecture on Azure. The site keeps control, safety and raw plant data. One EU region holds the twin, the agents and the sealed evidence. Table 4. Azure products by layer, and why I chose them Layer Products and standards Why these Plant edge Azure Local with AKS, Azure IoT Operations, Azure Arc, Defender for IoT The plant has to run, and keep recording, without the cloud. Arc manages the site with no inbound ports. Defender for IoT watches OT traffic passively Network ExpressRoute, Azure Firewall Premium, Private Link Plant data never crosses the public internet, no service has a public endpoint, and all egress is inspected Data and twin Microsoft Fabric: Eventstream, Eventhouse, OneLake, digital twin builder, Power BI One capacity and one security model for per-second telemetry, time-series queries and board views. History stays in open Delta tables Forecast and plan Aurora 1.5 in Foundry, Azure Machine Learning, Azure Container Apps Aurora forecasts radiation and 100 m wind by the hour, ten days ahead. Azure Machine Learning versions the stack-health models. Container Apps runs the optimiser as a job that scales to zero Agents and models Microsoft Agent Framework, Foundry Agent Service, models in the EU Data Zone, API Management, MCP tools, Azure AI Search Workflows with checkpoints and built-in pauses for people. Managed hosting with full tracing. Prompts stay in the EU. Search grounds answers in procedures, contracts and rule texts People and partners Microsoft Teams, Azure Logic Apps, App Service, Entra B2B, A2A Approvals arrive where operators already work, with a timeout and an escalation. Verifiers and lenders sign in as guests to a read-only portal. Shipper agents are authenticated at the gateway Trust and evidence Agent Control Specification, Entra Agent ID, Confidential Ledger, Key Vault Managed HSM, immutable Blob Storage, Purview, Sentinel Policy sits outside the model. The operator cannot rewrite the ledger. Signing keys never leave the HSM. Sentinel sees OT and IT alerts in one place Operations Azure Monitor, GitHub Actions with Bicep, Azure Policy, Cost Management One release path for prompts, tools, policies and infrastructure. Policy allows EU regions only. Cost is tagged by agent and reported per tonne Two services are in preview, Aurora in Foundry and the digital twin builder in Fabric, and each has a fallback that changes nothing else. Proving every hour The certification agent produces what the premium is paid for. Every hour it measures, calculates, records, signs and seals (Figure 3). Figure 3. The evidence chain. It runs every hour, which gives 8,760 sealed records a year. Four choices make the proof hold up. Rules as code, with the version in the record. When the rules change, both versions run side by side and sealed hours stay sealed. One record per hour: the power by source, the matching in time and place, additionality, and the mass balance from hydrogen to ammonia, tank and ship. A seal the plant cannot rewrite. Each record is hashed, signed with a key in Key Vault Managed HSM and written to Azure Confidential Ledger, which is append-only and protected from insiders, the cloud provider included. Verifiers check each receipt against the identity of the ledger, without having to trust the plant. I tested the third choice in my demo. I changed one number in a chain of 24-hourly records, and the chain caught it. When I also recomputed every later hash, the chain verified again, and only a copy of the last hash kept outside the plant showed the change. That is why a database table with an audit log would not do: the administrator who can change the table can change the log. The target is 8,760 sealed hours a year, with the evidence pack for each cargo ready when loading starts, for a scheme such as CertifHy. Evaluation, security and resiliency A change goes live, and an agent moves up a level, only after the same gates: zero agent actions outside the limits in a full-year replay, zero impermissible behaviours in ASSERT, 100% tool input accuracy on write tools in the Foundry evaluators, and a ledger receipt for every hour. Agents bring two threats that a classic plant design does not have: instructions injected through a document or a partner’s agent, and an agent acting outside its job. So, Prompt Shields screen every input, partner text is treated as data, and no agent has a tool that changes a contract term or reaches the safety system. My reading of the EU AI Act is that the agents are not high-risk, because none is a safety component, and each plant should confirm that with counsel. When something breaks, the plant carries on. If the link drops, the control system holds its setpoints and the edge replays every tag later. If an agent or a model fails, no policy answer means no action. If the region fails, the sealed records are already copied to a second EU region, and the agents redeploy from code. Testing it on a twin before you build Before anyone buys hardware, I would run two copies of the plant on the same weather for a full year, one on fixed rules and one with the pattern. I did this for the case plant on a simple twin, with 8,760 hours of real weather for a site on Morocco’s Atlantic coast. The plant is my assumption, and it makes about 275,000 tonnes a year against the 400,000 of the case (Table 5). Table 5. The simulated year, November 2025 to October 2026, same plant and same weather. The twin has 800 MWp of solar, 700 MW of wind, 500 MW of electrolysers and a 200 MWh battery. Measure Fixed rules With the pattern Difference Ammonia produced 253,883 t 275,146 t 8.4% more Grid power bought 100,005 MWh 26,824 MWh 73% less Share of output that passes the hourly rule 92.2% 96.6% 4.4 points more Electrolyser starts and stops 7,292 4,828 34% fewer Ammonia loop trips 1 0 The twin is planning code with scripted events, and no language model runs in it. The forecast error is simulated. I also tuned the fixed rules run to the 8 to 10% gap in the case, so the extra ammonia is the brief’s own number coming back. Figure 4. Daily value of the pattern against fixed rules in the simulated year, at EUR 500 a tonne of ammonia, EUR 200 of premium and EUR 90 a MWh of grid power. What the replay adds is the shape of the result. The plan bought 73% less grid power, which is why more of the output passes the hourly rule. In October the plant with the pattern made slightly less ammonia than the plant on fixed rules and still finished EUR 1.4M ahead, because it bought a fifth of the grid power. It was also behind on 84 of the 365 days (Figure 4). On each of them the plan was holding hydrogen back for what came next. The value came back later, but a daily report shows a loss, so I would judge the year and put the losing days in the board report. What it costs I priced every Azure line of the design at list prices of November 2026, for the 400,000 tonnes a year of the case. It comes to about EUR 345k a year, and EUR 237k after five savings such as a reserved Fabric capacity, a small model first and test environments paused out of hours. That is EUR 0.59 a tonne, next to a premium of EUR 200 on the same tonne. The agents and their models are 11% of that bill. Trust, security and data are 56%. Anyone who budgets an agent system by counting tokens will miss most of the cost. With delivery and edge servers I estimate EUR 3.2 to 4.0M over the first three years, indicative until a partner quotes it. Proving 1% more tonnes is worth EUR 0.8M a year, 3.4 times the Azure run cost. Where the pattern does not fit I would not use this pattern where there is no reliable process model to optimise against, where telemetry is thin, or where someone wants AI inside the safety function. In the first two cases, start with data and a planning model. In the third, the answer is no. My own work leaves two things open. The language-model agents and their evaluation are designed and have not been run. And a sealed record is not a certified tonne until a certification body accepts the method. Within those limits I expect the pattern to carry to e-fuels, desalination, chemicals and mining, wherever AI sits next to process safety and a buyer or regulator wants proof. Conclusion My recommendation is to let an optimiser plan, to give the agents the work around the plan, and to design the hourly proof as carefully as the plant itself. Start with ten weeks on the plant’s own data. If the gain does not show up there, the board will know before it has spent the build budget. References Links checked in November 2026. [1] Microsoft, Azure Master Architect Program, FY27 cohort. Case Study 26: Agentic green-hydrogen export plant operations for a Moroccan energy developer. Program material, 2026. [2] Commission Delegated Regulation (EU) 2023/1184 of 10 February 2023, on the production of renewable fuels of non-biological origin. https://eur-lex.europa.eu/eli/reg_del/2023/1184/oj [3] European Commission. CBAM definitive regime, applying from 1 January 2026. https://taxation-customs.ec.europa.eu/carbon-border-adjustment-mechanism/cbam-definitive-regime_en [4] FuelCellsWorks. EU confirms plans to delay green hydrogen production rules as market growth falls short. 29 October 2026. https://fuelcellsworks.com/2026/10/29/h2/eu-confirms-plans-to-delay-green-hydrogen-production-rules-as-market-growth-falls-short [5] Bird, S. Build agents you can trust across any framework with open evals and a control standard. Microsoft Foundry blog, 2 June 2026. https://devblogs.microsoft.com/foundry/build-2026-open-trust-stack-ai-agents/ [6] IEC 61511, functional safety for the process industry. IEC 62443, security for industrial automation and control systems. [7] Microsoft Learn. Microsoft Agent Framework workflows: checkpoints and human-in-the-loop. https://learn.microsoft.com/en-us/agent-framework/workflows/checkpoints [8] Microsoft Learn. What is Azure IoT Operations? https://learn.microsoft.com/en-us/azure/iot-operations/overview-iot-operations [9] Microsoft Foundry model catalog. Aurora-1.5, lifecycle: preview. https://ai.azure.com/catalog/models/Aurora-1.5 [10] Microsoft Learn. What is digital twin builder (preview)? Microsoft Fabric. https://learn.microsoft.com/en-us/fabric/real-time-intelligence/digital-twin-builder/overview [11] Microsoft Learn. About Azure confidential ledger. https://learn.microsoft.com/en-us/azure/confidential-ledger/overview [12] Commission Implementing Decision (EU) 2024/3180 of 19 December 2024, recognising the CertifHy voluntary scheme. https://eur-lex.europa.eu/eli/dec_impl/2024/3180/oj [13] Liu, C. One requirement, many failure paths: evaluate, control, and optimize with ASSERT and ACS. Microsoft, 24 August 2026. https://commandline.microsoft.com/safety-requirements-failure-paths-assert-acs/ [14] Microsoft Learn. Agent evaluators for generative AI, Microsoft Foundry. https://learn.microsoft.com/en-us/azure/foundry/concepts/evaluation-evaluators/agent-evaluators [15] Regulation (EU) 2024/1689 (AI Act), Annex III, point 2. European Commission, guidelines on high-risk AI systems, updated 19 October 2026. https://digital-strategy.ec.europa.eu/en/policies/guidelines-ai-high-risk-systems [16] Open-Meteo. Historical Weather API, based on the ERA5 reanalysis. Dust from NASA POWER and the Copernicus Atmosphere Monitoring Service. https://open-meteo.com/en/docs/historical-weather-api [17] Microsoft Azure. Pricing calculator. List prices of November 2026. https://azure.microsoft.com/en-us/pricing/calculator/204Views0likes0CommentsEvidence before autonomy: Designing multi-agent battery passports on Azure
Author: Dominik Zemp, Microsoft Switzerland, Enterprise Cloud Solution Architect About this article. This article is written from the author's perspective as an Enterprise Cloud Solution Architect contributing to the wider Microsoft community, and the views expressed are the author's own. It is not official Microsoft documentation, product guidance or a product announcement. For official guidance, see Microsoft Learn and the Azure Architecture Center. The scenario is fictional and uses synthetic data only. The article proposes a design; it does not describe a customer engagement, a production deployment or measured results. The article provides general information, not legal, regulatory, security or other professional advice. The public GitHub repository [dzemp/multi-agent-digital-battery-passport] contains the companion prototype for this article, including the passport application and its AI agents, the Bicep templates and the command-line tool that deploy the Azure infrastructure, and documentation such as the architecture, scenario walkthrough and threat model. Executive summary From February 18, 2027, a digital passport becomes a market-access requirement for in-scope batteries first placed on the EU market or first put into service there [1]. For manufacturers, this is not simply a documentation deadline. Missing mandatory data can block a release on day one. As due-diligence and forced-labor obligations phase in during 2027, disputed sourcing evidence can block a release too, while outdated approvals can allow unsupported claims to reach customers. The challenge is to keep evidence current and make accountable decisions when the facts change. This article proposes an Azure reference architecture that connects supplier evidence, production records and review decisions to individual batteries. Microsoft Fabric prepares supplier and production data for analysis and reporting. Microsoft Foundry agents help interpret documents and prepare reviews. Accountable people resolve adverse findings and approve methods and policies. The passport application, not the AI, enforces publication controls and records decisions and passport versions in Azure SQL Database. The central design principle is to bind every decision to the evidence it judged. The article follows a conflict between a supplier certificate and a transport record. Two batteries use material from the affected lot and need review; a third uses a different lot and can proceed if its own checks pass. When the evidence changes, the earlier review can no longer authorize publication, and the affected decision must be made again. The immediate aim is dependable passport operations that support EU market access. This is a proposed design, not measured performance: its value must be demonstrated through reliable controls, reduced investigation effort and sustainable total operating cost. 1. Why battery passport evidence becomes a business issue The business problem behind the regulation The EU battery passport makes battery data a condition of market access. From February 18, 2027, every in-scope battery needs a passport when it is first placed on the EU market or put into service there [1]. Batteries for electric vehicles and for light means of transport such as e-bikes are in scope, as are industrial batteries over 2 kWh. The passport is an electronic record linked to the battery by a unique identifier and a QR code, and access rights determine what each reader sees. The rules take effect in phases, and the design must cover all of them: Since July 20, 2026: The EU registry for digital product passports is live, and battery passports are registered there [3], [32]. February 18, 2027: The battery passport becomes mandatory. Carbon footprint, recycled content and due-diligence information are not yet required in the passport on this date [32]. August 18, 2027: Battery due-diligence obligations apply [2]. December 14, 2027: The Forced Labor Regulation prohibits products made with forced labor from being placed or made available on the EU market [35]. One company is accountable for each passport: the responsible economic operator. It must keep the passport accurate, complete and up to date, and it can delegate the work, but not the accountability [1], [32]. In this article, that is the battery manufacturer; Appendix C describes when an importer or a vehicle manufacturer holds the role instead [32]. Passports also have to work across company boundaries. They must align with the EU's common Digital Product Passport (DPP) system and follow the data models in the Commission's semantic repository [3, Arts. 11 and 12]. European standards for identifiers, data carriers, APIs and data exchange support that alignment [36]. Behind these rules lies the business problem that this article addresses: keeping evidence, battery genealogy and decisions aligned as facts change. Battery genealogy is the record of which material lots went into which battery. The regulation does not require AI or blockchain. The value lies in handling change in a controlled way and keeping a traceable account of each decision. One supplier conflict, three batteries Consider a manufacturer preparing three batteries for release. Batteries 1 and 2 contain material from supplier lot A; battery 3 uses lot B. The certificate for lot A has a valid digital signature, but its origin claim conflicts with the transport records. For this illustrative example, the manufacturer's sourcing policy requires a review before affected batteries can be released. In February 2027, this check is a company control rather than a passport field. The team needs to establish which batteries contain material from lot A, whether the conflict has a reasonable explanation and who is accountable for accepting that explanation. Success is not simply publishing three passports. It is identifying the two affected batteries, avoiding an unnecessary hold on the third and ensuring that an earlier review cannot approve evidence that has since changed. Value beyond the first passport Figure 1 shows how solving the lot A problem reaches beyond one release decision. Figure 1. The same evidence foundation supports passport obligations and potential customer value. Horizon 1 is the business case this architecture is designed for: a correct passport for every battery in scope, without releasing batteries with unresolved issues or holding batteries that are unaffected. Horizon 2 is a credible extension: the same traceability could show vehicle manufacturers, often called original equipment manufacturers (OEMs), the carbon methods, sourcing evidence and review status behind a claim. Customer acceptance and commercial benefit remain unproven. Horizon 3 is exploratory and outside the scope of this design: lifecycle history might later help qualified partners assess batteries for second-life uses such as stationary storage. What the leadership team needs to see The Chief Sustainability Officer (CSO) needs to distinguish well-supported claims from claims that are incomplete, disputed or awaiting assurance. A single green compliance indicator would hide too much. The Chief Technology Officer (CTO) needs that information to stay consistent across source systems, the passport application and reporting. That requires clear record ownership and controlled interfaces. Azure SQL holds current state and ledger history, Fabric prepares connected data for investigation and reporting, and Foundry supports bounded interpretation of documents. Other technologies could meet the same requirements; what matters is that the application remains the authority. For the Chief Financial Officer (CFO), the case depends on the time needed to identify affected products, the duration of avoidable holds and the total cost of resolving an exception, including human review and correction of agent output. No savings or return are established here; section 5 outlines a cost model for testing the case. 2. Where AI agents help and where people decide AI agents help prepare decisions. Qualified people remain responsible for safety, legal interpretation and decisions on adverse findings. The passport application enforces approved rules and required human approvals. Routine work can proceed automatically when those rules permit it, but no agent can bypass them. Helping people work through mixed evidence Supplier evidence includes certificates, audit reports, transport documents and correspondence in different formats and languages. A data pipeline can move these files and check their structure, but it cannot always explain why two statements disagree. For lot A, an agent can identify the conflicting passages and explain which batteries may be affected. The reviewer receives a focused case rather than a folder of documents and still owns the decision. Not everything needs AI. The application performs the tasks that require a repeatable result: it verifies signatures, validates data types, calculates approved formulas and enforces access rules. Five roles, described by what each may do The architecture divides the work into five roles. Each role is described by what it is permitted to do, not by an autonomy score. Even the most automated role cannot override a failed check or a required human approval. Regulatory watch: advisory. The agent summarizes relevant legal changes and identifies potentially affected rules or records. Legal and compliance owners decide what those changes mean and whether a production policy should change. Supplier due diligence: bounded action with mandatory escalation. The agent gathers evidence, compares claims and prepares a cited review. It can request that the application place affected batteries on hold under an approved policy, but it cannot clear an adverse finding on its own. The same reviews later support the due-diligence report behind the passport's responsible-sourcing information [1, Annex XIII], [2], forced-labor inquiries and, where applicable, the Corporate Sustainability Due Diligence Directive [37]. Carbon footprint: automated workflow within a pinned method and verifier check. The agent prepares per-batch calculation inputs and calls a deterministic calculator with pinned versions of the approved method and emission factors. A run completes only when an independent check reproduces the result exactly and every input traces to approved evidence. Missing inputs stop the run, and gaps stay visible rather than being filled with plausible model-generated values. The method owner remains accountable for the calculation approach. Passport issuance: automated workflow within deterministic publication gates. The agent assesses whether a candidate passport appears ready, requests publication and explains any gaps that block it. The application, not the agent, determines publication eligibility and commits the version. It does not write field values or access groups: a deterministic passport builder in the application maps the source records and applies the legal access groups and the rules for each battery category [1], [31]. No model-generated text appears in published passport fields. If every check passes, publication needs no separate manual step, but the agent has no write access to the passport database. Lifecycle update: automated workflow within validation and duplicate checks. The agent interprets authorized submissions from OEMs, repairers and recyclers and requests the corresponding updates. The application validates each event, checks whether it has already been processed and preserves the version history. Partner systems, including partners' own agents, submit signed messages through the intake route or a data-space connector; they never call the passport agents directly. The passport application, not the agents, orchestrates the work. It runs Microsoft Agent Framework workflows inside the application itself [29]. Each run starts from a business event, such as changed evidence. Agents return typed proposals, and the application routes the next step by fixed rules, so agents never pass control to one another. Microsoft's orchestration guidance advises against agent-to-agent handoff when routing is deterministic and rule-based [30]; here, such a handoff could also bypass a required check or reviewer. Business state stays in Azure SQL Database, the system of record; Appendix C describes how runs start and resume [38]. Bind decisions to evidence The certificate for lot A can pass every technical check while the sourcing concern remains unresolved. A design that stores a single "approved" flag would merge those outcomes and keep the flag after the facts change. This architecture therefore records three outcomes separately: Evidence validity. A verifier checks the signature, issuer, expiry and revocation status against the organization's trust policy. Cryptographic validity does not establish that the supplier's origin claim is true. Human judgment. An accountable reviewer investigates the conflict and records a disposition: the decision, the reasons for it and the information considered. The disposition names a specific decision context, which the application calculates from the evidence versions, material relationships and the applicable method and policy versions. Publication eligibility. Before it commits a passport version, the application checks that the disposition still names the current decision context. When material evidence, a relationship, a method or a policy changes, the application calculates a new decision context. The earlier disposition still records what the reviewer judged, but it belongs to the old context and cannot authorize publication under the new one. Reassessment is required. Human approval also cannot waive a mandatory technical or legal requirement. Section 3 shows this sequence for lot A, where a corrected transport record turns context 7 into context 8. Choosing language models for each role An agent role consists of instructions, tools, permitted data and controls; it does not need its own model. Pretrained Foundry models [14] can do this work when governed retrieval supplies current evidence and legal sources with each request. Fine-tuning cannot add evidence the manufacturer does not hold or replace retrieval and the application's controls [23]. Consider it only if a role keeps failing in the same way after its prompts, tools and retrieval improve, and expert-reviewed examples exist. Supplier due diligence and regulatory watch reconcile ambiguous sources, so both are starting candidates for a more capable reasoning model. The carbon, issuance and lifecycle roles mainly prepare structured tool requests, so a smaller model may suffice. Earn autonomy through evaluation Agent quality has to be judged against the work people actually need done. For supplier due diligence, a useful evaluation asks whether the agent identifies conflicting evidence, cites the right passages and explains the issue without inventing facts. It must include cases where no conflict exists. Otherwise, an agent that raises a hold on everything could appear reliable while creating unnecessary work. Each candidate configuration, meaning a model version together with its prompts, tools and retrieval settings, runs against the same versioned cases. These include missing, contradictory, multilingual and maliciously instructed documents. Development and test cases come from different suppliers and document families. Deterministic checks score structured fields, tool calls and the resulting application state. Microsoft Foundry's built-in evaluators can add measures such as groundedness [22], which shows only that an answer agrees with its sources, not that those sources are true. Domain experts judge sourcing and legal quality, and an AI judge used to rate explanations should first be calibrated against human-scored examples. Candidates must first meet the required safety and quality checks. Compare those that pass on task quality, reviewer effort, response time and cost per correctly completed case. A role takes on more of the work only where these cases show that it stays reliable within its control boundaries. A replacement model or configuration is adopted only after it passes the same checks. 3. Following lot A through the Azure reference architecture The proposed architecture connects existing product and production systems to supplier evidence, agent-assisted work and a maintained passport record, without replacing the factory's systems of record or assuming one exchange technology for every supplier. Figure 2 shows the pattern in one view. Evidence flows from sources and partners into evidence preparation. Inside the authority boundary, the passport API on Azure Container Apps applies deterministic publication controls and is the only writer of passport state in Azure SQL Database. Figure 2. Simplified view of the proposed architecture. In the lot A walkthrough, context N is context 7 and context N+1 is context 8. Figure B1 in Appendix B shows the full reference architecture with numbered workflow steps. The rest of this section follows the lot A certificate through these stages. It is an illustrative design walkthrough, not a recorded implementation result. Receiving the evidence and finding the affected batteries Enterprise resource planning (ERP), manufacturing execution (MES) and quality management (QMS) systems supply the records that identify products, production activity and quality evidence. Fabric pipelines or supported mirroring bring permitted data into OneLake. Access controls must be configured for this analytical copy, because mirroring Azure SQL data does not transfer the source permissions or masking rules to Fabric [4]. In this design, MES owns the as-built lot-to-battery genealogy, reconciled with ERP supplier-lot identities; manufacturing data owners approve corrections. At commit, the passport API asks MES to confirm that the genealogy behind the candidate has not changed; if it has, or MES cannot confirm in time, the API refuses the commit. If the affected population is uncertain, operations must hold the potentially affected scope rather than assume that unlinked batteries are safe. Partners submit evidence through a controlled file or API route or, where both organizations participate in Catena-X [24], through an agreed data-space connector (Appendix C). The regulation mandates neither route, and neither proves that a claim is true. A deterministic verifier then checks a credential's issuer, proof, validity and status against the agreed profile. For an ordinary document, it records the authenticated sender and any signature check instead. The application records that technical result separately from authorization and the later compliance disposition. It stores the file in Blob Storage and records its reference, hash and status in SQL. In Fabric, material genealogy links lot A to batteries 1 and 2, and the transport record is matched to the same lot. Battery 3 is linked to lot B, so the concern does not automatically apply to it. The application then routes a short, lot-specific task to the supplier due-diligence agent in Microsoft Foundry Agent Service [7], [29]. Through role-scoped tools, the agent can read the pinned supplier claim and transport record; it has no database credentials or permission to browse unrelated evidence. It compares the sources, cites the passages that disagree and returns a typed result asking for review. A shipping route that differs from a claimed origin may have a legitimate explanation, so the agent reports a concern rather than accusing the supplier. The application applies its sourcing rules and places batteries 1 and 2 on hold. Because a database hold cannot stop a shipment, the application sends each hold to ERP, MES or QMS, which alone releases physical stock. Publishing the unaffected battery While the compliance review of lot A continues, battery 3 moves toward publication. The carbon agent prepares inputs and requests the approved calculation, the passport builder assembles the candidate passport, and the issuance agent assesses its readiness and requests publication. The scoped hold contains the sourcing risk without turning one supplier investigation into a delay for unrelated products. Publication authority belongs to the passport application on Azure Container Apps [8]. It rechecks battery 3's accepted evidence versions, genealogy assurance, dispositions and policies in the same SQL transaction as the write. That transaction does not span MES, Fabric or Blob, so later source corrections still trigger reassessment. The application then commits the passport version, an audit record and an outbox entry together in Azure SQL Database. The outbox records work to deliver to other systems; because it is saved in the same transaction, no delivery request is silently lost [9]. Two separate processes follow the commit. The passport's integrity status stays pending until ledger verification completes (section 4). A relay reads the outbox entry and passes the registration to the registry adapter, retrying if necessary; receiving systems must tolerate duplicates [9]. The adapter records the registry's answer as a separate status. A committed passport is not proof of registry acceptance, and a queued registration is not permission to release a product. Registry access is a production dependency: only verified economic operators can register passports, and their verification must be renewed periodically [3, Art. 4], [32]. Appendix C summarizes these registry mechanics. Revisiting a decision when the facts change Back on the lot A track, a compliance reviewer investigates the conflict: The application calculates context 7 for batteries 1 and 2. It contains the certificate, the original transport record, the lot-to-battery links and the applicable sourcing policy. The reviewer records a disposition against context 7. Before publication, a corrected transport record arrives. The application calculates context 8. Contexts 7 and 8 are versions of the decision basis, not passport versions. When the issuance agent requests publication for batteries 1 and 2, the application sees that the recorded disposition names context 7, not context 8, and rejects the request. The earlier review cannot approve facts the reviewer did not see, even when reusing it would be faster. The reviewer examines the corrected record and, in this example, records a new disposition against context 8. Publication can proceed only after the application reruns the remaining checks. Had the new evidence failed to resolve the concern, the hold would remain. The workflow supports either outcome without letting an agent decide which result the business would prefer. For readers who want every exchange, Figure 3 retraces the full lot A case from supplier submission to reporting; the steps above are its critical path. Figure 3. The full lot A sequence, read from top to bottom. Rows E1 to E26 are numbered separately from the workflow steps in Figure B1. Maintaining the record after release The evidence remains relevant after the batteries leave the plant. OEMs, repairers and recyclers send authorized updates through the partner intake route, and the application records them only after the checks described in section 2. Routine updates, such as a new state-of-health value, keep the same passport [32]. Much of that data reaches the battery manufacturer through the vehicle manufacturer, so the data-sharing agreement with each OEM is part of the design. Appendix C describes how the design handles ownership changes, repurposing, remanufacturing and recycling, and keeps private owners' personal data out of the passport [1, Art. 77(7)]. Giving each reader the right view Public QR readers receive the static public view; the authenticated API serves each access group its restricted view. An OEM using the restricted API can see the carbon method, supporting sources and sourcing-review status it is entitled to see. That entitlement rests on the regulation's legitimate-interest access [1, Art. 77(9)] or on a contract between the companies, and the application records the basis of each grant. This is the practical basis for Horizon 2: the OEM can inspect the basis of a claim instead of receiving an unexplained final number. Authorities and notified bodies receive the access that the regulation provides [1]. Because detailed access rights still await an implementing act [32], the roles shown in this architecture are illustrative, not a statement of legal entitlements. Legal and compliance owners translate the applicable rules into approved, versioned access policies. For reporting, the application sends a minimized copy of committed status to OneLake, and Power BI combines it with evidence-readiness and supplier views. The CSO can see that the lot A concern affected two batteries, who reviewed it, whether it remains open and which passport versions reflect the outcome. Linking that view to retained evidence and decisions is intended to reduce the effort of reconstructing a case for a customer or auditor. Access to these reports remains governed: an executive dashboard does not justify copying all restricted evidence into an analytical dataset. Report coverage as the number of in-scope batteries with a current, valid passport divided by all in-scope batteries in the release scope. Held batteries, and batteries whose passports the manufacturer maintains for an OEM, stay in the total. If only battery 3 has a valid passport, coverage is 1 of 3, not 100%. Show when the report was refreshed; if it differs from the passport application, the application is authoritative, and a dashboard never authorizes release. 4. Data and trust: Fabric, Azure SQL and the blockchain question Why preparation and publication remain separate Throughout the lot A journey, Fabric prepared and reported information, but only the passport application recorded decisions and passports. That division reflects two different needs. Investigators compare supplier documents with production and logistics data; later, an auditor needs a controlled, versioned record of the evidence and decision behind a published passport. Microsoft Fabric supports the first need by bringing information together, preparing reusable datasets and supporting reporting. Azure SQL Database supports the second by holding passport state, decisions and their relationships within transactions. A dashboard can tolerate a clearly disclosed refresh delay, but a publication decision cannot rely on a reporting copy that may be out of date. The product boundary matters too: SQL database in Fabric cannot create ledger tables under the documented limitations used for this design [6]. Azure SQL Database therefore holds the operational record, and Fabric remains valuable without becoming the authority for release. Preserving the route from source to battery Fabric's medallion pattern organizes data preparation into layers. Bronze retains what arrived, with its source and receipt time; Silver standardizes identifiers, units and relationships so that supplier lots match batteries; and Gold prepares candidate passport packages, evidence-readiness views and carbon inventories. For lot A, this processing must preserve both the certificate and the conflicting transport information. A transformation should not silently select whichever value looks more complete. Each candidate package carries the relevant evidence references and source versions, so the information seen by the application can be reconstructed later. Shared evidence requires careful treatment in analytics. If a production batch consumed 150 kg of a lithium compound and two batteries reference that batch, the material total remains 150 kg, not 300 kg. Battery counts use distinct identities, while per-battery values follow approved allocation rules. Making decisions and changes traceable Azure SQL Database is the working record for battery status, evidence references, review decisions and passport versions. SQL Ledger adds tamper evidence to selected tables [10]. Evidence files, such as a supplier certificate, are kept in versioned Blob Storage [13]. SQL records each file's location, version and cryptographic hash, so the application can detect a changed file and retrieve the evidence behind a decision. SQL Ledger digests are retained in protected storage that database administrators cannot rewrite, and verification compares the database history with those digests [11], [12]. Because verification is asynchronous, the application reports whether it is pending, verified or failed. Appendix C covers the storage, digest and retention details. Together, file hashes, retained versions and ledger verification can reveal certain changes to stored evidence or database history. They cannot establish that a supplier's claim is true, prove a battery's physical identity or confirm legal compliance. Why the baseline does not use a blockchain A battery passport does not inherently require a blockchain; the regulation does not prescribe one [1]. This proposal has one accountable operator, so Azure SQL ledger tables and protected digests support its history without a jointly governed network. A permissioned blockchain is relevant when independent organizations need shared control of a common history, but it would not resolve conflicting evidence. Consider Azure confidential ledger if the threat model in section 5 must cover collusion between database and storage administrators, or if partners need receipts they can verify independently [17]. Public hash anchoring adds privacy, cost and governance trade-offs. 5. Operating the architecture reliably The lot A workflow must remain dependable when services fail or evidence changes. The following sections cover the qualities this workload depends on most and map them to the pillars of the Azure Well-Architected Framework (WAF) [20]. Its AI guidance makes ongoing evaluation part of operating the workload, rather than a one-time model-selection exercise [21]. Reliability: keep records available and failures visible Passports must outlive the system, and even the company that issued them. The regulation requires open, interoperable formats without vendor lock-in, and the passport must remain available even if the operator ceases to exist or ceases its activity in the EU [1, Arts. 77(5) and 78(e)]. Published passports should therefore remain readable when AI, Fabric or partner connections fail. Static public views served through Azure Front Door depend on neither SQL nor AI, and restricted views are precomputed for each access group. Keep a tested export in the Commission's data models [3, Arts. 11 and 12] and a backup copy with an independent operator authorized in writing [1, Arts. 77(4) and 78(c)]. Set separate recovery objectives for reading and publishing, because publishing can pause but reading should not. Run the restricted read API, the passport API and the workflow worker as separate container apps, so that each can fail, scale and recover on its own. Work awaiting evidence or verification must wait rather than bypass checks. Restores must reconcile SQL records, Blob evidence, protected digests and registry work, while retries must not create duplicate effects. Security: enforce authority outside the model Managed identities, Key Vault and private data-service connectivity support the permission boundaries. Give each agent role its own least-privilege identity, scoped retrieval and allowlisted tools, so that a misled agent can reach only its role's data and cannot approve its own finding. APIs enforce field and action entitlements before returning data or calling tools. Supplier documents may contain prompt-injection instructions [15], so model warnings are insufficient. Turn on Prompt Shields document attack detection, which is off by default, for every model deployment or agent that reads partner content [39]. Scan uploads with Microsoft Defender for Storage on-upload malware scanning before an agent or reviewer opens them [40]. Public QR reads need an internet-reachable HTTPS entry point with abuse protection, such as Azure Front Door with Azure Web Application Firewall rate limiting and bot protection. Restricted partner and tool APIs require authenticated, scoped access. Choose processing regions for Fabric and models deliberately; private endpoints do not by themselves establish residency or partner entitlement. Use Microsoft Purview to classify restricted data and label the Fabric items that hold it. The companion prototype publishes a STRIDE threat model with seven trust boundaries and fifteen threats [41]. Table C1 in Appendix C summarizes the threats that shape this architecture most. It covers a prototype with synthetic data, not a production assessment; a production threat model must also address registry credentials [3, Arts. 4 and 19], partner connectors and credential issuers, isolation between OEMs and tested disaster recovery. Cost optimization: count the whole process Measure cloud consumption and human review together. A cheaper model may cost more overall if its output creates rework. A simple cost model separates three drivers: platform cost, which changes little with volume; per-battery cost, including public reads that must be free of charge [1, Art. 78(b)]; and per-exception cost for model tokens, reviewer time and rework. Divide the total by the number of correctly completed cases, not by the number of agent runs, and estimate each driver with the Azure pricing calculator [42]. Appendix C lists what each driver covers. Operational excellence and performance: make changes explainable and evidence timely Version prompts, tools, methods and policies, and re-evaluate representative cases when they change. Azure Monitor and Application Insights should trace the submission through review, publication and registry response without unnecessarily logging confidential content. Named owners handle holds and failures; people, not agents, activate policy changes. Microsoft Agent 365 can optionally add agent inventory and governance, but not publication authority [33]; see Appendix A. Legal owners must also assess applicable AI Act obligations for the intended uses, including transparency and AI literacy [34]. Human review and the authority descriptions used in this article do not establish compliance or determine a system's legal risk classification. For performance, prepare evidence in batches unless freshness requirements justify streaming. Container Apps can scale with demand [8], but database, model and partner limits still matter. For lot A, the priority is getting corrected evidence to the release process in time. 6. Conclusion: three principles to carry forward The lot A conflict began as a disagreement between two documents. It became a business issue because it affected the release of batteries 1 and 2. The architecture keeps that connection visible: it holds the two affected batteries, lets battery 3 proceed and refuses to let an outdated review authorize changed evidence. Three principles carry beyond battery passports: Keep authority outside the model. Agents interpret evidence and prepare actions; deterministic systems enforce release and publication. Bind decisions to evidence. A decision applies only to the evidence, relationships, methods and policy against which it was made. Earn autonomy through evaluation. Extend an agent's autonomy only where evaluation shows that it stays reliable within its control boundaries. Evidence before autonomy. References All links were last accessed on November 18, 2026. EU acts, harmonized standards, Commission guidance and Azure capabilities change, so confirm the current versions before you rely on them. Consolidated texts of EU law are documentation tools; only the texts published in the Official Journal of the European Union are authentic. Regulation (EU) 2023/1542 concerning batteries and waste batteries, consolidated version of August 13, 2026, particularly Articles 7, 13, 14, 47, 48, 77, 78 and 79 to 84. Also available as an EU Publications Office consolidated text. Regulation (EU) 2025/1561 amending Regulation (EU) 2023/1542 as regards obligations of economic operators concerning battery due diligence policies, particularly Article 1. Also available as an EU Publications Office text. Commission Implementing Regulation (EU) 2026/1778 laying down the implementation arrangements for the digital product passport registry set up under Regulation (EU) 2024/1781, particularly Articles 4 to 12 and 19. Also available as an EU Publications Office text. Microsoft Learn. Limitations in Microsoft Fabric mirrored databases from Azure SQL Database. Eclipse Tractus-X. Refactor of the Release Workflow, Azure distribution decision record, October 7, 2024. Microsoft Learn. Limitations in SQL database in Microsoft Fabric. Microsoft Learn. What is Microsoft Foundry Agent Service? Microsoft Learn. Azure Container Apps overview. Microsoft Learn. Implement the Transactional Outbox Pattern by Using Azure Cosmos DB (Azure Architecture Center), particularly the general pattern and relational-database discussion under Solution; the worked implementation uses Cosmos DB, not the SQL-based design proposed here. Microsoft Learn. Ledger overview. Microsoft Learn. Digest management. Microsoft Learn. Database verification. Microsoft Learn. Store business-critical blob data with immutable storage in a write once, read many (WORM) state. Microsoft Learn. Foundry Models sold by Azure. OWASP GenAI Security Project. LLM01:2025 Prompt Injection. Microsoft Learn. Connect agents to Microsoft Fabric with Fabric IQ (preview). Microsoft Learn. About Azure confidential ledger. Eclipse Tractus-X. EcoPass KIT: adoption view, published documentation, not the /next/ development version. Microsoft Learn. Microsoft Entra Verified ID architecture overview. Microsoft Learn. Azure Well-Architected Framework pillars. Microsoft Learn. Test and evaluate AI workloads on Azure (Azure Well-Architected Framework). Microsoft Learn. Built-in evaluators reference (Microsoft Foundry). Microsoft Learn. Training in Microsoft Foundry. Catena-X Automotive Network. About us. Gaia-X European Association for Data and Cloud AISBL. Gaia-X: A Federated Secure Data Infrastructure. W3C. Verifiable Credentials Data Model v2.0. Eclipse Dataspace Decentralized Claims Protocol. DCP v1.0.1. Eclipse Dataspace Components (EDC). Adopters Manual. Microsoft Learn. Microsoft Agent Framework overview, particularly Workflows. Microsoft Learn. AI agent orchestration patterns (Azure Architecture Center), particularly When to avoid handoff orchestration. European Commission. Digital Product Passport for Batteries (Battery Passport), including the linked guidance on data points for each battery category, last updated on October 19, 2026. European Commission. EU Digital Product Passport FAQ for Batteries, September 2026, particularly sections 1, 2 and 5 to 10 on timelines, standards, responsibilities, the registry, verification, data requirements, dynamic data, repurposing and compliance. Microsoft Learn. Microsoft Agent 365 overview and Microsoft Agent 365 service description, including governance, observability, feature and licensing boundaries. European Commission AI Act Service Desk. AI Act Explorer, for applicability, risk classification, AI literacy and transparency provisions; consult its linked Official Journal texts for legal authority. Regulation (EU) 2024/3015 on prohibiting products made with forced labour on the Union market and amending Directive (EU) 2019/1937, particularly Articles 3 and 39. Commission Implementing Decision (EU) 2026/1736 on harmonised standards for digital product passports drafted in support of Regulation (EU) 2024/1781, particularly the Annex. Directive (EU) 2024/1760 on corporate sustainability due diligence and amending Directive (EU) 2019/1937 and Regulation (EU) 2023/2859. Consult the current consolidated version for later amendments. Microsoft Learn. Durable Task Scheduler and Durable Task extension for Microsoft Agent Framework. Microsoft Learn. Prompt Shields (Azure AI Content Safety), particularly document attack detection. Microsoft Learn. On-upload malware scanning (Microsoft Defender for Storage). Author. Security and responsible-AI threat model, companion prototype for this article, synthetic data only, released under the MIT License. [dzemp/multi-agent-digital-battery-passport] Microsoft Azure. Pricing calculator. Appendix A: Capability map This map supplements Figure 2 and the full reference architecture in Appendix B with implementation boundaries and conditional services. It is not a deployment specification. Table A1. Capabilities and Azure responsibilities. Capability Proposed realization and boundary Enterprise intake Fabric Data Factory pipelines or supported mirroring read permitted ERP, MES, PLM and QMS data. Fabric access must be configured separately from source permissions [4]. MES owns as-built genealogy in this design; candidates retain source revision, completeness and freshness assurance for the application's gates. Partner intake Controlled file/API submission is a valid intake route; a maintained EDC/Tractus-X connector is optional where partners participate in Catena-X. Agree semantics, usage policy and credentials, and test conformance rather than infer it from the connector. Neither route replaces applicable EU DPP requirements. Earlier Azure-specific Tractus-X images are deprecated [5], [18], [24], [25], [27]. Credential verification A deterministic verifier checks the supported VC/VP proof, issuer, subject, validity and status. Separate participant identity/eligibility from product-evidence claims and technical verification from field/action authorization and compliance disposition [26], [27]. Other submissions retain sender attribution and applicable signature checks without being treated as VC/VPs. Data preparation OneLake holds governed bronze, silver and gold datasets. Power BI reports readiness and committed outcomes, but neither controls publication. Optional analytical assistant A Fabric data agent can support read-only questions through Fabric IQ (preview) [16]. Foundry connections use incoming Microsoft Entra user context or an OAuth session. Validate the selected connection and permissions; analytical answers never authorize publication. Agent roles Foundry Agent Service supports the five roles with scoped retrieval and allowlisted tools. Each role runs with its own least-privilege identity, and Prompt Shields screens partner documents for embedded instructions [39]. Choose pretrained models for the work each role performs; roles may share a model where it meets their needs (section 2). Agents cannot directly write passport records, clear adverse findings or activate policy changes. Orchestration, review and publication The Container Apps passport application runs Agent Framework workflows that route typed agent results by fixed rules; agents do not hand control to one another [29], [30]. Each run ends with a result or a hold for human review, and case, hold and review state stays in the same SQL database, which remains the system of record. The application records human dispositions and checks current decision context. It commits the version, audit and outbox in one SQL transaction. This protects accepted SQL context, not live upstream data; source-owned genealogy confirmation also gates physical release. Operational history Azure SQL Database ledger tables preserve authoritative state and audit history. Protected digest retention and separate verification are necessary to make tampering detectable [10], [11], [12]. Digest anchors must be protected from database writers; ledger history contains only retention-approved data. Evidence storage Versioned immutable Blob Storage retains files, while SQL holds references and hashes. Microsoft Defender for Storage scans each upload for malware before an agent or reviewer opens it [40]. The application reconciles partial failures without assuming a shared transaction or permission to delete retained files [13]. Reader access The public QR view is a static file in Blob Storage, served through Azure Front Door. Restricted views are precomputed for each access group and served through the authenticated API, which enforces field entitlements. Battery identity remains independent of the current hosting address. Use applicable DPP identifier/exchange standards and versioned legal access policies, including adopted rules for restricted data [31], [32]. Registry exchange The outbox-fed adapter uses a verified operator identity and records acknowledgments, failures, registration identifiers and proofs (Appendix C). The registry's automatic checks confirm structure, not compliance [3, Art. 8]. Reporting The application sends a minimized committed-status copy to OneLake. Power BI shows freshness and includes blocked batteries in the coverage denominator. Shared operations Microsoft Entra ID, managed identities, Key Vault, Azure Monitor and Application Insights support identity, secrets and traceability. Optional Microsoft Entra External ID manages partner identities, and Microsoft Purview classifies restricted data and labels the Fabric items that hold it. Recovery must include evidence, digests and registry reconciliation, not just database restore. Optional agent governance Microsoft Agent 365 adds organizational inventory, ownership, governance and observability for connected Foundry agents [33]. It is not the runtime, publication authority or a prerequisite for this architecture; validate integration, telemetry and licensing. Application Insights remains the workload-tracing service. Conditional extensions Azure Document Intelligence in Foundry Tools may help with complex document extraction; Foundry IQ (Azure AI Search) with governed retrieval; Azure API Management with external API policy; Azure Service Bus with asynchronous delivery; and Azure IoT Hub with device-event ingestion. Azure confidential ledger or a consortium ledger needs the justification discussed in section 4. Microsoft Entra Verified ID depends on partner credential fit [19]. These are not default deployments. Appendix B: Full reference architecture Figure 2 is a simplified view. Figure B1 shows the full proposed reference architecture behind it. It adds the official regulatory sources, the eleven numbered workflow steps that Figure 3 refers to, the workflow worker and Durable Task Scheduler, the ledger digest container and integrity status, the registry adapter, the Fabric data agent and the optional, trigger-based services. Each agent role carries a short label for the permitted authority described in section 2. Figure B1. Full proposed Azure reference architecture. Agents prepare typed, cited proposals; only the passport application writes passport versions. Role labels summarize the authority descriptions in section 2 and are not an industry or regulatory taxonomy. A Catena-X connector is conditional on partner participation and an agreed profile, not a legal prerequisite. EDC/Tractus-X does not itself establish interoperability, certification or deployment [5], [18], [24], [25], [27], [28]. The genealogy gate uses the source-version assurance described in section 3. Microsoft Agent 365 is optional governance and observability, not the agent runtime [33]. Long dashes mark external parties and systems; short dashes mark optional, conditional or recommended components. Azure Front Door is recommended for production public reads, with Azure Web Application Firewall as an option for rate limiting and bot protection. Foundry IQ (Azure AI Search), an optional retrieval service, is distinct from Fabric IQ. The Fabric data-agent box represents governed analytics through Fabric IQ (preview) [16]. Networking, regions and cost are not shown. Its numbered flow starts with enterprise and partner intake (steps 1 to 3), continues through data preparation (4), agent work (5) and human review (6) to publication (7), and ends with integrity verification (8), registry exchange (9), reader access (10) and reporting (11): Enterprise intake. Data Factory pipelines or mirroring copy permitted ERP, MES, PLM and QMS data into OneLake bronze. MES owns the as-built genealogy, reconciled with ERP lot identities. Partner intake. Suppliers and lifecycle partners submit through controlled file or API intake, with provenance, schema checks, malware scanning and quarantine, or through an optional Catena-X connector where both parties participate. Credential verification. The verifier checks the VC/VP proof, issuer and status; authorization remains separate. Verified evidence and lifecycle events go to the passport API. Data preparation. Fabric validates and joins data, builds versioned candidate packages and reports readiness in Power BI. Nothing is published here. Agent work. Five Foundry roles, each with its own least-privilege identity, read permitted context and official sources and propose through typed tool endpoints. Prompt Shields screens partner documents. Agents hold no permission to write, publish, sign or approve. Human review. Accountable reviewers record versioned dispositions that name the decision context they judged. Publication. The passport API runs deterministic tools, including the passport builder; rechecks evidence validity, genealogy currency with MES, disposition currency and policy version; and commits version, audit and outbox in one SQL transaction. Integrity verification. Ledger digests are stored asynchronously in a locked container, and integrity status moves from pending to verified or failed. Registry exchange and enterprise release. The outbox relay sends each hold event to ERP, MES or QMS, which sets a blocking quality status and alone releases physical stock. It also passes registrations to the registry adapter, which uses a verified operator identity and stores the registration ID and proof for each version. Reader access. Azure Front Door serves the static public view of each version from Blob Storage; partners and authorities use the authenticated restricted read API. Reporting. The application sends a minimized committed-status copy to OneLake, and Power BI reports it with evidence readiness. Agent Framework workflows in the application route typed agent results and hold work for reviewers; Durable Task Scheduler checkpoints run progress, while case and review state stays in SQL. Agent outputs remain proposals until the application and its controls accept them. Microsoft Entra ID, managed identities, Azure Key Vault, Azure Monitor and Application Insights provide identity, credential management and operational visibility across the whole flow. The cross-cutting band also shows Azure Front Door as the recommended public entry point, optional Microsoft Entra External ID for partner identities, Microsoft Defender for Storage, Microsoft Purview, optional Microsoft Agent 365 and the backup and exit controls described in section 5. Appendix A lists the service-level boundaries. Appendix C: Implementation considerations This appendix keeps implementation detail that supports the main text but is not needed to follow the architecture. It is not a deployment specification. C1. Who acts as the responsible economic operator In this article, the battery manufacturer is the responsible economic operator, because it places the finished batteries on the EU market. For batteries made outside the EU, the importer can hold the role, and a vehicle manufacturer that completes the battery, for example by adding the battery management system, becomes responsible [32]. The battery manufacturer can then maintain the passport on the vehicle manufacturer's behalf under a written authorization, without selling or reusing the data beyond that service [1, Arts. 77(4) and 78(d)]. C2. Data spaces and verifiable credentials Catena-X is an automotive data-space initiative, Gaia-X a related trust framework and Tractus-X EDC one connector implementation [5], [18], [24], [25], [28]. The Battery Regulation mandates none of them, nor verifiable credentials. Where partners use a verifiable credential (VC), a digitally signed statement about an organization or product, packaged in a verifiable presentation (VP) for an exchange [26], [27], the verifier checks the issuer, proof, subject and status against the agreed profile. Passing those checks shows who made a claim, for example that Supplier A says lot A came from Mine North, not that the claim is true. A VP does not itself grant access to data; the passport application decides which organization may see or do what. C3. Workflow runs and checkpoints Case status, holds, dispositions, passport versions and audit records stay in Azure SQL Database. The transactional outbox [9] starts each workflow run through Azure Durable Task Scheduler, which checkpoints run progress so that an interrupted run can resume [38]. A recorded disposition starts a new run that reloads current evidence, policy and decision context and reruns the publication gates. C4. Starting model hypotheses Table C1 lists starting candidates from the Microsoft Foundry model catalog [14]. The same model can serve several roles if it meets their needs; compare candidates on the same cases before choosing. Table C1. Starting model hypotheses for the five agent roles (not measured). Agent role and permitted authority What the model contributes Starting hypothesis What stays outside the model What evaluation measures Regulatory watch: advisory Compares dated legal sources and drafts impact notes More capable reasoning model; smaller challenger for simple summaries Legal interpretation and policy activation Correct source, status, scope and dates; no unsupported legal assertions Supplier due diligence: bounded action with mandatory escalation Reconciles conflicting documents, cites passages and prepares a review case More capable reasoning model; smaller challenger for simple extraction Credential verification; decisions on adverse findings Accuracy of critical fields, correct citations, escalation of every known conflict, unnecessary holds Carbon footprint: automated workflow within a pinned method and verifier check Matches approved batch inputs to the pinned method and explains the result's provenance Smaller tool-calling model Method and factor versions, units, arithmetic and the verifier check Correct inputs and method and factor versions, exact reproduction of the calculator's result, rejection of missing inputs Passport issuance: automated workflow within deterministic publication gates Assesses whether each candidate appears ready, then requests publication or explains blocking gaps Smaller tool-calling model; shared capable model as challenger Field values, access groups, applicability, authorization and the publication transaction Correct readiness assessments, actionable gap explanations, no improper release Lifecycle update: automated workflow within validation and duplicate checks Interprets ambiguous partner submissions and explains conflicts Smaller model; no model for well-structured events Battery identity, event order, duplicate handling and state transitions Correct battery and field mapping, duplicate and conflict handling, no unauthorized change C5. Registry mechanics Only verified economic operators can register passports, typically by using a qualified electronic seal or a qualified electronic attestation of attributes. Verification lapses when that seal or attestation expires, and after three years at the latest, so renewal belongs in the operating calendar [3, Art. 4], [32]. The operator must also protect its registry access credentials [3, Art. 19]. The registry's automatic checks confirm structure and granularity, not compliance [3, Art. 8]. Each proof of registration remains downloadable for only 90 days, so the adapter stores the registration identifier and a copy of the proof for each registered version [3, Arts. 8 and 9]. C6. Lifecycle events after release Dynamic data must be updated at least whenever the battery's status changes, not necessarily in real time [32]. A change of ownership keeps the same passport and is not recorded in it, but it can change who has a legitimate interest in restricted data, so the application applies any access change only under an approved policy. Preparation for reuse or repurposing, repurposing and remanufacturing each create a new passport linked to the original [1, Art. 77(7)]. After recycling, the passport ceases to exist [1]; any evidence kept after that point needs its own justification. C7. Evidence storage, ledger digests and retention SQL and Blob Storage do not share a transaction, so the application uploads and verifies a file before recording its reference and hash, and reconciliation finds files left unreferenced by a failed write. Retention rules mean cleanup cannot assume that a stored file can be deleted. Ledger digests are kept in a container with a locked immutability policy, administered separately from database writers [11], [12]. Define retention by data class before enabling ledger or immutable storage: keep personal data and confidential narrative out of permanent ledger history, because deleting a current ledger row does not erase its history. C8. Threat model summary Table C2. Threats that shape this architecture, summarized from the companion threat model [41]. Threat (identifier in the threat model) Controls in the prototype Controls to add before production Instructions hidden in supplier documents steer an agent (T03) A read-only tool scoped to each role's sections; a strict decision schema; agents hold no human decision rights Prompt Shields document attack detection; AI red teaming Forged, stale or replayed claims and approvals (T04, T07) Ed25519 signatures checked against a party registry; expiry, revocation and replay checks; stale-task and version-conflict checks Verifiable credentials through a standards-aligned partner connector; partner keys in Key Vault with rotation A hold is bypassed, or evidence or history is altered (T08, T09) Gates enforced in application code; separation of duties between the reviewer, compliance and policy-approver roles; ledger tables with digests in a separate storage account Separation of duties for each person who holds several roles; a locked immutability policy with an approved retention period Restricted data reaches the wrong reader (T02, T06) Server-side field policy for each access group; telemetry that excludes evidence and prompts Isolation between organizations; Microsoft Purview sensitivity labels C9. Cost drivers Platform cost changes little with volume and covers Fabric capacity, Azure SQL Database, Container Apps, the Durable Task Scheduler, Front Door, API Management where you use it, monitoring, the qualified electronic seal and partner connectivity. Per-battery cost covers passport versions, registry exchanges, evidence retention and public reads [1, Art. 78(b)]. Per-exception cost covers the model tokens of each agent run, reviewer minutes at a loaded hourly rate and rework. Integration, support, assurance and continuity also belong in the operating-cost view. Estimate each driver with the Azure pricing calculator [42].292Views2likes0CommentsUsing AI to help forestry planners prioritise fuel-reduction work
Print / save as PDF Using AI to help forestry planners prioritise fuel-reduction work By Eneko Vallecillo, Principal Solution Engineer, Microsoft UK Forestry companies, including pulp and paper producers, can manage thousands of plantation parcels. EU wildfire-prevention policy promotes reducing vegetation that can fuel fires [1], but legal duties vary. Portugal's Decree-Law 82/2021 requires fuel management around homes and other buildings used for economic activities on rural land, with a standard 50-metre strip where it covers forest land [2]. Spain's Forest Law 43/2003 makes owners responsible for managing private forests; regional governments set detailed fire-prevention rules [3]. I evaluated whether an AI agent built with Microsoft Foundry could help a forestry planner choose where to send limited crews for fuel-reduction work, and explain those choices to the board or, where required, an auditor or regulator. The WFI Scoring Accelerator repository [4] includes deployable code, setup instructions and a three-part test exercise, with full evidence and analysis. You can reproduce the tests or adapt the solution to another dataset or industry using an appropriate scoring policy and data model. The planner's challenge Picture a forestry planner with 100 parcels in her queue, each with a proposed fuel-reduction job. She has fewer crews than jobs and a window that closes on Friday. Which parcels get a crew first, and can those crews actually do the work? The planner asks an AI agent for the risk scores of all parcels needing fuel-reduction work. For parcel PAX-0017, it reports 'high risk, score 72.4, fully assessed from measured inputs'. That answer could hide several problems: The AI agent calculates the risk score from raw data instead of retrieving one calculated by code using the organisation’s agreed rules. Ask the same question again and the AI agent may give a different number. AI agents are not guaranteed to produce the same answer each time. A missing wind reading was estimated, yet the agent called it "observed", as though a sensor had measured it. A weather update changed the parcel's risk after a crew was booked. Nothing flagged the booking as out of date, so the crew could have been sent out in weather that was no longer safe. The AI agent was asked to calculate from unlabelled data, with no check on its answer. Even a correct ranking would leave the planner with questions: can a crew reach parcel PAX-0017, who lives downwind and where is the nearest water? The weather problem also needs a way to reassess an earlier decision. The approach The WFI Scoring Accelerator calculates risk scores in Python and stores the data and its relationships in Microsoft Fabric. AI agents running in Microsoft Foundry explain the results, helping the planner decide what to do. Keeping data, advice and approval separate The design separates data, advice and approval into three areas, called "planes" in the diagrams. It draws on the NIST AI Risk Management Framework [5] and the intent of the EU AI Act's record-keeping and human-oversight requirements, Articles 12 and 14 [6], for high-risk systems. Figure 1. Three planes. Only a designated owner in the authority plane advances a decision. Coloured parts are built; grey parts are design only. The evidence plane holds timestamped data in Fabric OneLake. Bronze, Silver and Gold are the stages of Fabric's medallion structure [7], which organises data as it is prepared for use. The agent reads only the Gold tables. Missing, stale or conflicting evidence blocks progression. The recommendation plane runs on Azure and Foundry. Agents use controlled, labelled data to rank parcels, explain results and propose next steps. A verifier, the code that checks an answer against its scoring record, checks their advisory output. The authority plane records authorised people's reviews and approvals in Fabric. An agent's answer cannot advance a decision on its own. From parcel data to a planning decision The intended workflow runs from parcel assessment to a crew list. Crew allocation components are not included in the accelerator. Figure 2. Forestry crew allocation, end to end. The agent stage represents two independent query paths. Numbers come only from the scorer; the agents advise; a named planner decides. Each parcel passes through seven steps before it can reach the crew prioritisation list: Evidence: Each scoring input in Fabric is labelled as either measured or estimated, and carries the date it was last assessed. Scorer: each score is calculated and locked by deterministic Python code under a hashed policy. The score is never guessed. Missing, expired or wrongly sourced evidence is marked as “incomplete”. Fabric IQ: adds context: access road, homes and facilities, water and crew access. AI agents: two independent Foundry agents use separate read-only MCP connections. The receipt agent retrieves and compares parcel scores and their supporting evidence; the Fabric IQ agent queries relationships between parcels, roads, homes, water sources and crew access. Their answers support the planner’s priorities and next steps. Neither changes a score. Verifier (algorithm): checks scoring claims and evidence labels against the receipt and blocks any mismatch. Forestry planner: a named planner approves or rejects. A rejection or a verifier block sends the job back to the planner. Crew list: only approved jobs reach the Friday crew list, and every step is logged. Calculating and recording the score The scoring code is deterministic: the same inputs, policy and assessment time produce the same result. The policy is the set of rules specifying factor weights, input ranges, risk bands and allowed input sources. Missing, expired or wrongly sourced evidence produces an "incomplete" assessment instead of a guessed score. Each assessment produces a receipt, a stored scoring record containing the score, risk band (such as "high"), assessment status and each factor's measured or estimated label. SHA-256 hashes act as digital fingerprints, helping to detect changes to the policy and receipt and trace each score back to the policy and evidence used to calculate it. Fabric IQ agent: context for planning Fabric IQ holds an ontology, a model of business entities and their relationships [8]. Here, those entities include parcels, roads and water sources. It gives the agent recorded connections to query when the planner asks: Which road reaches the parcel? Which homes and facilities could be affected? Which water sources are linked to the parcel's access roads? Which crew types can reach the parcel using the recorded roads? Figure 3. The Fabric IQ ontology behind a crew recommendation, built and queried in Fabric on synthetic data. These answers help the planner interpret the score, understand incomplete evidence and spot recorded gaps in access or water supply. Solution architecture Figure 4. The cloud architecture maps the grounding framework to Azure and Fabric services. Connections show service relationships, not deployment-verification status. Figure 4 shows how the services connect. The solution deploys two independent Foundry agents, each with its own MCP connection [9]. One uses the receipt tools to retrieve scoring records. The other queries the Fabric IQ ontology for relationships between parcels, roads, homes, water sources and crew access. Fabric keeps the evidence and a record of decisions, while Microsoft Entra ID checks user and service identities. Application Insights logs requests and tool calls so each agent’s activity can be traced. Giving the AI agent deterministic Python tools makes scores reproducible: the same inputs, policy and assessment time produce the same result. The agent calls predefined functions instead of calculating scores itself. This helps manage token use by reducing repeated lookups and calculations by the model. In a separate Foundry Agent Tools study, four newer models averaged about 46 table-lookup calls per question, compared with one call when using predefined calculation tools. Security and governance The accelerator has adopted security and governance controls. The figure below shows which controls have been implemented and which remain planned. Figure 5. Control layers and their deployment status as of 12 November 2026. Completed means deployed or configured; planned means not yet deployed. What the agent can access The receipt agent’s tools let it read and compare receipts, but not change them. The agent uses the Foundry project’s managed identity to call tools hosted in an Azure Function. The Azure Function uses its own managed identity [10] with Storage Blob Data Reader access to receipt storage, allowing it to retrieve receipts but not modify or delete them [11]. For review and approval, the agent uses verified parcel scores to propose priorities, but the forestry planner must decide whether to approve those priorities. The accelerator checks the planner’s Entra sign-in name against its reviewer and approver lists before allowing them to record a review or approve a reviewed proposal. Answer verification controls The accelerator calculates each score using the pinned policy, checks the policy and receipt hashes for mismatches, and compares the agent’s answer with the receipt. These checks tie the answer to its supporting evidence. Application Insights [12] records agent activity to help trace what happened during a run. Cost Guard I also tested an estimated token-cost meter, a budget guard and a kill switch. The guard checks accumulated estimated spending before further model calls. You should consider the following improvements to strengthen the accelerator’s security posture: Set up private networking, read-only access to the SQL endpoint and Azure budget alerts. Choose and test protections against prompt injection and sensitive-data exposure, and controls for managing and monitoring agents. OWASP describes prompt-injection risks and mitigations, including least privilege and human approval [13]. Microsoft options include Foundry guardrails, Entra Agent ID, Defender, Purview and Agent 365. These options have not been configured or tested in the accelerator. The accelerator does not provide a complete production security posture or a compliance assessment. Who approves the work? Figure 6. Where the decision stops. Coloured steps are built and tested in the reference implementation; grey, dashed steps are design only. The agent can submit a proposal only when the evidence is complete and verified. The planner then reviews it, and Fabric records each accepted step in the decision log. Before the next step can proceed, the application checks the log’s hash chain for signs of tampering. Approved decisions remain in Fabric, where you can use OneLake APIs to connect the records to your own systems and build the remaining stages, such as crew allocation and field-work scheduling. Evaluation and results I tested score consistency, answers from Fabric IQ and calculations through Foundry Agent Tools. The repository reports contain the full methods, question sets, results and supporting evidence. Scenario Test scope Models tested Locking the score 150 synthetic parcels, three repeats gpt-4.1, gpt-4.1-mini, Phi-4, gpt-5.5, gpt-6.1-sol, gpt-6.1-terra, grok-4.7 Fabric IQ 5 connection questions against 150 parcels; separate 20-question usefulness comparison Live checks: Foundry agent deployment; usefulness: gpt-4.1, judged by gpt-4.1-mini Foundry Agent Tools 20 questions per model, covering four scenarios gpt-4.1, gpt-5.5, gpt-6.1-sol, gpt-6.1-terra, grok-4.7 Locking the score The study compared 7 models’ own score calculations from raw data with answers using code-calculated scores and verification across 150 synthetic parcels. Each available test was repeated three times. Four newer models calculated the scores correctly and the other three made errors. For the six models tested with verification and receipt fallback, delivered scores had zero error against the code-calculated reference. When a check failed, the system replaced the answer with values from the stored receipt. This is called receipt fallback. The Locking the score evidence contains additional details of the tests and results. Figure 7. Score consistency by model. Verification and receipt fallback enforce zero delivered error. Fabric IQ The Fabric IQ experiment tested whether recorded relationships between parcels, roads, homes, water sources and crew access could answer planning questions. The dataset contained 150 parcels and 450 crew-access records. I asked five questions in two ways: directly through Fabric's Graph Query Language (GQL), and through the Fabric IQ agent's MCP connection. Both matched answers calculated independently in code, the test's ground truth. As an example, the crew-access question identified all 15 expected parcels with a critical facility but no access for a fire engine, including those with passable but narrow roads. Latest 150-parcel relationship check Correct answers Direct Fabric graph GQL 5/5 Foundry agent using ask_ontology MCP 5/5 The sanitised live evidence contains additional details of the tests and results. Foundry Agent Tools I asked Foundry agents 20 planning questions about a synthetic electricity network, covering exposure, mitigation, electricity-feeder disconnection and sensitivity to scoring weights. The experiment compared three setups: Foundry agent with calculation tools: custom Python functions calculated the results for the agent to explain. Foundry agent with table-lookup tools: tools retrieved the data, leaving the model to connect the records and calculate the answers. Direct model call without tools: the model received only the question, without access to the dataset. With calculation tools, four models answered all 20 questions correctly and one answered 19 correctly. Each averaged one tool call per question. With table-lookup tools, two models also answered every question correctly, while the others were less accurate. The four newer models averaged about 46 table-lookup calls per question. Without tools, correctness was between 0% and 5%. The Foundry Agent Tools evidence contains additional details of the tests and results. Figure 8. Foundry Agent Tools compared with raw-table lookup tools and a model given no data. These small, synthetic tests compare approaches, not model rankings. Limits of the study The tests used synthetic data, not field observations; crew access was derived from rules. An AI model assessed the answers for clarity, relevance and practical value. Further studies should include forestry planners’ feedback to assess their usefulness in practice. The decision-tool tests used one repeat per model, with different data sources and tool-call limits. Experiment 3 compared answers calculated by Python tools with those calculated by the model itself. The tools ran locally and are not yet part of the provided cloud deployment. The study did not demonstrate reductions in fires, improvements in crew safety or operating-cost savings. The tests covered answers and calculations, not live crew deployment or field operations. Conclusion and recommendations One observation worth exploring is how the proposed solution scales as more types of information need to be connected. In Fabric IQ, entity types represent categories such as parcels, roads and water sources. Relationships describe how they connect, such as which roads provide access to a parcel. The Fabric ontology contains five entity types and four relationships. In a larger model, perhaps with 100 entity types and many more relationships, maintaining Python logic for the connections could become more demanding. Fabric IQ could make those relationships easier to manage and query, although the study did not test a model of that size. The study supports keeping calculation, explanation and approval separate. The agent can help a planner work through the evidence, but its answer should not become the source of a score or permission to start work. Getting the same score each time does not prove that the weights accurately reflect real wildfire risk. For teams trying this approach, start with a decision that has stable rules and consequences worth checking. Calculate scores in code, record the inputs and give the agent only the tools and permissions it needs. Keep approval with the planner and make the supporting evidence inspectable. The next step is a pilot with forestry planners using real, governed data, comparing the agent with the simpler tools or templates they already use. This pilot would assess whether the accelerator improves planning compared with existing alternatives. The WFI Scoring Accelerator repository contains the implementation, deployment instructions and detailed evaluation reports. This work is based on a broader wildfire intelligence project that has not yet been published. More details are planned for publication in the coming weeks. When not to use it There are no stable rules to pin: the result is a judgement or forecast. Answers contain no numbers or labels the verifier can check. A wrong or unrepeatable answer costs nothing. The use case requires very high volumes or real-time responses, and extra tool calls and verification would be too slow or costly. References [1] European Commission, Wildfires: Policies to protect EU forests against fire, including the 2026 integrated wildfire risk-management strategy and land-based prevention guidance. [2] Portugal, Decreto-Lei n.º 82/2021: Sistema de Gestão Integrada de Fogos Rurais, consolidated text, article 49. See also the Vendas Novas municipal explanation of fuel-management strips. [3] Spain, Ley 43/2003, de Montes, consolidated text, articles 23 (private forest management) and 44 (fire prevention), incorporating the amendments in Ley 21/2015. [4] WFI Scoring Accelerator: implementation, deployment instructions, test harnesses and recorded evidence. [5] NIST, AI Risk Management Framework. [6] European Union, Regulation (EU) 2024/1689: Artificial Intelligence Act, articles 12 (record-keeping) and 14 (human oversight). [7] Microsoft Learn, Implement medallion lakehouse architecture in Microsoft Fabric. [8] Microsoft Learn, What is ontology (preview)?, including entity types and relationships in Fabric IQ. [9] Microsoft Learn, Connect agents to MCP server endpoints. [10] Microsoft Learn, Managed identities for Azure resources. [11] Microsoft Learn, Authorize access to blobs using Microsoft Entra ID. [12] Microsoft Learn, Agent tracing overview. [13] OWASP GenAI Security Project, LLM01: Prompt injection, risks and mitigation guidance.226Views0likes0CommentsThe Model Isn’t the Boss: An Azure Architecture for Accountable AI Agents
An illustrative housing-repair journey, from a tenant's photo to verified completion, shows how to design agentic workflows on Azure without letting model output act on its own. The article separates reasoning, trusted action and operational intelligence, maps each to candidate Azure and Microsoft Fabric services, and turns Well-Architected guidance into concrete security, governance and evaluation controls.649Views0likes0CommentsRepairs and Renovation Should Not Compete Blindly for the Same Capacity
Repairs and planned renovation in Dutch social housing often draw on the same trades, budgets, and tenants’ time without seeing each other’s plans. This article offers a six-check decision card for when work can safely be coordinated, a bounded architecture with named approvals, clear “do not combine” cases, and a pilot design that separates service, cash, and capacity.Repairs and planned renovation in Dutch social housing often draw on the same trades, budgets, and tenants’ time without seeing each other’s plans. This article offers a six-check decision card for when work can safely be coordinated, a bounded architecture with named approvals, clear “do not combine” cases, and a pilot design that separates service, cash, and capacity.211Views0likes0CommentsDutch Social Housing Transformation: Smarter Repairs, Faster Renovations, Accountable Tech
Dutch housing associations must improve repairs, renovate faster, and use technology accountably, all within tight budgets and limited capacity. This article separates legal duties from sector commitments and proposals, introduces a five-step chain from commitment to evidence, and sets out a vendor-neutral architecture with named decision owners and a staged roadmap.209Views0likes0CommentsAgent experience with data in Onelake using Fabric IQ
Business Scenario A retail organization runs multiple promotional sales events across its store network in different cities, featuring various product categories. Data is captured from: Third-party systems (products, stores, sales events) ERP system i.e. Finance and Operations (customer data) Customers are linked to stores based on city in the ERP system, and each store hosts specific sales events. However, while significant investments are made in marketing campaigns, inventory allocation, and event planning, the organization needs to identify Which stores generate the highest revenue during events Which locations are having majority of customer footprint Solution: Rather than creating custom reports on raw data, an agent can leverage the data in Onelake and use Fabric semantic models and Fabric IQ to provide conversational analytics. The agent can intelligently normalize user inputs and return accurate results even when values such as city names are entered with spelling errors or variations. Advantage: Because the data comes from two disconnected worlds (third-party systems for products/stores/events, ERP for customers), the "join" between them — customer → city → store → event → product — is business logic, not a database key. Fabric Ontology captures exactly that: entity types, relationships, rules and source mappings, so agents don't have to rediscover it from raw tables each time. A. Prerequisite: Data Sources & Relationships Overview Product, store, and sales event data are sourced from third-party systems. Customer data is sourced from the ERP (Dynamics 365 Finance & Operations) system through Fabric lakehouse. How the data is connected: Customers are linked to stores based on city alignment (customer city = store location). Sales events are associated with: The products being sold, and The stores where the events are conducted. Licenses and access requirement: Component License / Requirement Microsoft Fabric Fabric Capacity F2 or higher OR Power BI Premium Capacity P1 or higher with Fabric enabled Fabric IQ Ontology Ontology (Preview) enabled and an active Ontology item in Fabric Copilot Studio A Copilot Studio environment where MCP tools are allowed D365 F&O Valid Dynamics 365 Finance and/or Supply Chain Management licenses for the source users and data access Data movement Fabric ingestion pattern (Lakehouse, OneLake, Dataflow, Link to Fabric, etc.) as applicable B. Step by step configuration: Push the data to OneLake : Connect D365 F&O customer data to Fabric Lakehouse through PowerPlatform Ref: Link your Dataverse environment to Microsoft Fabric and unlock deep insights - Power Apps | Microsoft Learn A Lake house will be created in Fabric with the data Ingest the Data for Store , Sales event and Product from third party system to Fabric using any of the methods as outlined in the documentation below (as relevant) Ref: https://learn.microsoft.com/en-us/fabric/data-engineering/load-data-lakehouse Create a semantic model and relationship between them Ref: https://learn.microsoft.com/en-us/fabric/data-engineering/tutorial-lakehouse-build-report Create Ontology using the semantic model Ref: https://learn.microsoft.com/en-us/fabric/iq/ontology/concepts-generate Ref: Create an Ontology with Fabric IQ - Training | Microsoft Learn Click on View entity type details > click on manage relationship > click on the relation Configure the source and target entity names and connected fields. Repeat similar setup for others as relevant Login to https://copilotstudio.preview.microsoft.com/ and Create Copilot studio agent with following instruction: When processing a user query: Determine whether the user input contains a city name, location name, region, state, or geographical reference. If a location reference is detected: o Identify potential spelling mistakes, abbreviations, alternate spellings, phonetic variations, or non-standard user input using the <<custom prompt>>. o Normalize the value to the most likely official city name used in the enterprise data model. o Examples: "Bombay" → "Mumbai" "NYC" → "New York" Use only the normalized location value when querying Fabric IQ. If confidence in the normalization is high, proceed automatically without asking the user for confirmation. If multiple cities are equally likely matches, ask a clarifying question before querying Fabric IQ. When invoking Fabric IQ MCP: o Replace the original user-entered city value with the normalized city value. o Use the normalized value consistently across all ontology searches and filters. Never expose the internal normalization process unless the user explicitly asks how the result was determined. Return the business result based on data retrieved from Fabric IQ, not based on assumptions. Example: User: "Show sales for Bangaluru last quarter" Normalized City: "Bengaluru" Fabric IQ Query: "Show sales for Bengaluru last quarter" Add Fabric IQ MCP tool Click on Fabric IQ MCP and provide workspace ID and Ontology ID as retrieved from the Ontology URL in Fabric To find the URL, follow these steps: Open your ontology item in Fabric. View the URL in the browser, in the format https://app.fabric.microsoft.com/groups/<workspace-ID>/ontologies/<ontology-item-ID>. Copy the values of <workspace-ID> and <ontology-item-ID> from the URL. Form the MCP server URL by entering the copied values into this string: https://api.fabric.microsoft.com/v1/mcp/dataPlane/workspaces/<workspace-ID>/items/<ontology-item-ID>/ontologyEndpoint.You use this MCP server URL in the next section Following figures explains the details once the process Ref: https://learn.microsoft.com/en-us/fabric/iq/ontology/how-to-create-agent-copilot-studio Add a tool Prompt to ensure normalised search for any user input (e.g. City) Put the following instruction in a custom prompt : You are a location normalization expert. Your task is to identify the most likely city name from the user's input, even when: - The city name contains spelling mistakes. - The city name is partially entered. - The city is entered using an old or alternate name. - The city contains abbreviations or phonetic spellings. Rules: Determine the most likely official city name. Correct spelling mistakes using geographic knowledge. Expand abbreviations where appropriate. Return only the normalized city name. If confidence is below 80%, return "AMBIGUOUS". Never invent a city when multiple equally likely matches exist. Examples: Input: Banglore Output: Bengaluru Input: Mumbi Output: Mumbai Input: BNG Output: Bengaluru Input: Londn Output: London City input: {{CityName}} Output format: { "normalizedCity": "Bengaluru", "confidence": 0.95 } Test the agent Open the Test pane using the Test button in the top right corner of the screen. Enter NL query Allow the MCP tool when prompted Test case 1: What is the top product revenue across all stores? Test case 2: Intelligent Location Normalization with Fabric IQ When a user submits a query such as "Compare the customer footfall between city Blr and Hyd", the agent first applies an AI-powered normalization layer before querying enterprise data. The normalization prompt analyses abbreviations, alternate spellings, phonetic variations, and non-standard location references, mapping them to their canonical business values. In this example: Blr → Bengaluru (Bangalore) Hyd → Hyderabad The normalized city names are then passed to Fabric IQ for semantic retrieval against the ontology and underlying data sources. This approach improves query accuracy, reduces dependency on exact user input, and enables a more natural conversational experience while ensuring consistent reporting and analytics results. Process Flow : User Query → AI Prompt Normalization → Canonical City Resolution (Bengaluru, Hyderabad) → Fabric IQ Semantic Search → Data Retrieval & Comparison Results487Views1like0Comments