artificial intelligence
435 TopicsFrom Features to Flow: How Real-World Adoption Reshaped the Azure Architecture Diagram Builder
In May, I introduced the open-source Azure Architecture Diagram Builder as a way to move from a natural-language prompt to an Azure architecture diagram, cost estimate, Well-Architected assessment, and deployment guidance. In July, I shared how the project had become agent-ready through Model Context Protocol (MCP). Those posts described what the tool could do. The more interesting story came next: what happened when people actually used it. As adoption grew, the central product question changed. It was no longer simply, Can AI generate an Azure architecture? It became: How do we help an architect choose how to begin, improve a result without losing their work, validate it responsibly, and turn it into something another person can use? That question reshaped the Azure Architecture Diagram Builder from a collection of capabilities into a guided workflow: Create → Refine → Validate & Improve → Share or Build This post explains what we learned, what changed in the product, and why the hardest part of AI-assisted architecture is not the first diagram. It is everything that comes after it. TL;DR. Growing adoption created a feedback loop. Aggregate usage showed that people moved beyond generation into validation, recommendations, exports, and deployment guidance. Privacy-safe feedback revealed recurring problems with diagram integrity, preservation of human edits, cost credibility, export quality, and validation continuity. Those signals led to a four-stage architecture journey that keeps human judgment and professional review at the center. The same lesson now shapes agent access and the next product boundary: distinguish logical proposals from evidence-backed physical architecture. Adoption created a product feedback loop As of August 5, 2026, the first two Azure Architecture Blog articles had accumulated approximately 12,100 combined views. A refreshed view of deduplicated application telemetry through August 13 recorded: Activity Aggregate count Architecture generation and refinement events 5,023 Well-Architected validations 960 Recommendations applied 175 Diagram exports 2,020 Deployment guides generated 212 As of August 13, the public repository had reached 45 stars and 14 forks. In GitHub’s current rolling 14-day window, the repository recorded 277 unique visitors and 67 unique cloners. These numbers measure different things and should not be added together. Article views are not unique readers. Application activity uses anonymous telemetry identifiers, not verified people. GitHub traffic is a rolling aggregate window. The signals are useful because of the pattern they reveal, not because they can be combined into one headline user count. Activity also accelerated during the period following the second article. Compared with the May 19–July 9 baseline, daily activity from July 10 through August 13 was approximately 7.0 times higher for architecture generation and refinement, 5.6 times higher for Well-Architected validation, and 5.9 times higher for recommendation application. The timing coincided with publication; it does not prove that the article alone caused the growth. The important product lesson was simpler: people were not stopping after the first diagram. They were testing alternatives, validating designs, applying recommendations, exporting artifacts, and asking how to move toward implementation. Generation was the entry point, not the complete job. The first guided-journey signals reinforce the need for more than one starting path. Through August 13, the new journey instrumentation recorded 880 interactions from 174 anonymous identifiers across 241 sessions. At first start, structured brief/image generation and Guided Chat were selected at almost the same frequency (158 and 156 events), while template and live-Azure import added another 68 selections. These are interaction counts, not unique people or conversion rates, and the window is still too early to claim that the journey improves completion. They are enough to show that architecture work does not begin in one uniform way. In-product Start Here panel showing the four-stage Azure Architecture Diagram Builder journey: Create, Refine, Validate and Improve, and Share or Build. Figure 1. The in-product Start Here panel explains one complete architecture loop. The stages are recommendations, not gates, and direct access to every tool remains available. Stage 1: Create — make the starting choice explicit As capabilities accumulated, the first screen became harder to interpret. Architecture Chat and structured generation were both useful, but they competed for attention. Importing an existing architecture was available, yet easy to miss. The new starting experience makes three paths explicit: Starting path Best suited for Guided Chat Exploring requirements conversationally and refining them over multiple turns Generate Diagram Providing a structured brief or image and producing a first architecture quickly Import Existing Opening an existing architecture or infrastructure artifact for analysis and editing This is not a marketing landing page placed in front of the tool. It is a small decision point inside the authoring experience. Once a path is selected, the user lands on the real canvas. The distinction matters because different architecture tasks begin with different levels of certainty. Sometimes the architect knows the target services. Sometimes the problem needs discovery. Sometimes the architecture already exists and the work is to understand or improve it. The product should acknowledge those differences instead of pretending every design starts with a perfect prompt. Start chooser presenting Guided Chat, Generate Diagram, and Import Existing as three equal entry paths. Figure 2. Three starting paths reflect three different architecture situations: discovery, structured generation, and analysis of an existing design. Stage 2: Refine — preserve human work One of the clearest feedback themes was not about adding another AI capability. It was about preventing AI from casually undoing human effort. An architect might spend time arranging a one-page diagram for a review, resizing groups, moving labels, or emphasizing a specific boundary. A subsequent AI refinement could improve the service selection while disrupting that carefully prepared layout. The design principle that emerged was straightforward: AI acceleration should preserve deliberate human work by default. Refinement now retains existing node positions, group geometry, sizes, and viewport context whenever possible. The model can change the architecture without treating every turn as permission to redraw the entire document. The same principle applies beyond geometry: Preserve the prior validation result when recommendations change the architecture. Preserve the active light or dark theme in exported artifacts. Preserve the distinction between the authoring canvas and the presentation deliverable. Preserve user-configured pricing assumptions rather than replacing them with one fixed estimate. This is a broader lesson for AI-assisted tools. A generated result is not the only source of value. The edits, judgments, and communication choices a person adds afterward are part of the artifact too. Before-and-after AADB canvases showing an AI refinement that adds Azure Front Door and WAF while retaining the positions of eight existing services and the anchors of four existing groups. Figure 3. In this controlled synthetic refinement, all eight existing service positions and four group anchors remained unchanged. The containing Application group expanded to accommodate the new edge tier, so preservation does not imply that every group dimension stays fixed. Quality is structural, not only visual A diagram can look polished while still being architecturally confusing. Early feedback exposed cases where a generated service appeared disconnected because a model referenced a display name instead of the service identifier used by the canvas. The correction was not another prompt instruction alone. The application now resolves connection endpoints across identifiers, normalized service names, and service-type aliases. It repairs valid edges, drops invalid or self-referential edges, detects remaining orphan nodes, and records aggregate integrity signals. That creates a more useful definition of diagram quality: Are the services connected as intended? Were any generated edges repaired or dropped? Are there orphaned nodes? Did refinement preserve the existing layout? Did an architecture change receive a fresh validation? Visual polish still matters, especially when an artifact leaves the editor. But structural integrity gives the product something deterministic to test and monitor. Stage 3: Validate & Improve — treat validation as a lifecycle The Azure Well-Architected Framework is most useful when validation becomes iterative rather than ceremonial. The Diagram Builder can assess a proposed design across the five Well-Architected pillars, surface findings, and apply selected recommendations. But that workflow exposed an important state-management problem: when the architecture changed, the prior validation result disappeared along with the obvious route back to revalidation. The updated experience keeps the previous report, marks it Revalidate Needed, and makes clear that the score describes an earlier state of the architecture. A new validation replaces it only after the updated design has been assessed. This distinction prevents a stale score from looking current. It also clarifies what an architecture-level assessment can and cannot prove. A diagram may show that a WAF, cache, backup service, or secondary region exists. It usually cannot prove that purge protection, diagnostic routing, encryption settings, role assignments, health probes, or failover policies are configured correctly. That is why validation findings need to distinguish between: Pattern-level gaps — missing or misplaced architectural components Configuration-level gaps — required settings that must be verified in Infrastructure as Code or the deployed environment Generated scores and recommendations help architects review a design; they do not replace an Azure Well-Architected Review, security review, deployment validation, or professional judgment. Validation result retained after architecture recommendations are applied, with a Revalidate Needed status and action. Figure 4. Architecture changes make a previous validation historical, not useless. The result remains available while the interface clearly asks for a fresh validation. Stage 4: Share or Build — design for the artifact’s destination The editing canvas and the final deliverable serve different purposes. Canvas dots, handles, navigation controls, and selection states help during authoring. They can make an exported diagram feel unfinished. The Diagram Builder now separates those concerns with Plain, Dots, and Grid export backgrounds while preserving the active light or dark theme. The same AADB architecture shown first on the editing canvas with the export menu open and then as the resulting Plain PNG without authoring controls. Figure 5. Authoring and delivery are different contexts. The upper view shows the editable canvas and its real export controls; the lower view is the Plain PNG produced from that same canvas, without editing chrome. Cost language is deliberately qualified. Azure services often combine fixed, usage-based, and configuration-dependent charges. A baseline that includes six numerically priced services but excludes 20 usage-based items is not the total cost of the architecture. The output identifies those exclusions rather than treating missing values as zero. The final stage also includes deployment guides and Infrastructure as Code. Here, honesty about artifact coverage is essential. A generated Bicep file may be a useful starter while still omitting private endpoints, diagnostic settings, failover configuration, or service-specific resources. The artifact should state what it implements, what remains conceptual, and whether Azure Resource Manager validation passed. AI-generated diagrams, costs, validation results, deployment guides, and Infrastructure as Code should all be reviewed and validated before production use. The same journey now extends to agents The MCP server introduced in the previous article makes the Diagram Builder available to agent experiences such as Microsoft Scout. The four-stage journey provides a useful way to think about agent orchestration too: Import or create one canonical architecture. Refine it without silently changing the intended topology. Validate it, apply supported improvements, and revalidate. Render or generate artifacts with explicit coverage and limitations. The current MCP surface exposes 12 tools, three resources, and three reusable prompts. It can normalize an existing architecture, validate and harden it deterministically, estimate regional costs from a dated pricing snapshot, render presentation/technical/cost views, and generate Bicep, Terraform, and deployment guidance. The calling agent still owns orchestration and reasoning; the MCP server is intended to remain a deterministic architecture capability, not a second hidden agent. The native MCP renderer can project one canonical architecture into three communication profiles: Presentation emphasizes the primary request path, reduces supporting labels, and removes pricing. Technical preserves complete connection detail for engineering inspection. Cost retains the focused composition while adding service-level pricing assumptions, a fixed-priced baseline, and explicit exclusions. These are MCP-generated SVG views, not Blueprint diagrams or screenshots of the editable web canvas. The services, connections, and groups remain the same; only the information treatment changes. The AADB MCP renderer projecting the same canonical architecture into presentation, technical, and cost SVG profiles. Figure 6. Native AADB MCP output from one 8-service, 9-connection, 4-group architecture. Presentation prioritizes the story, Technical exposes connection detail, and Cost foregrounds pricing assumptions and exclusions. Recent work on the MCP renderer added purpose-built presentation, technical, and cost profiles. More importantly, testing agent-generated artifacts reinforced an accountability principle: a polished diagram and a compiled Bicep file do not prove deployability. An agent workflow should report whether topology changed, whether validation improved, which services are represented only conceptually, and whether the generated IaC passed Azure preflight. That is more useful than an unsupported claim that a design is production-ready. Trust also includes the tool boundary itself. The hosted MCP endpoints now require a bearer token for real session operations; missing or incorrect credentials are rejected. A shared token is appropriate for the current controlled integration, but it is not the end state for enterprise multi-user access. Entra ID/OAuth, per-client authorization, rotation, and revocation remain future hardening work. Microsoft Scout response after an authenticated Azure Architecture Diagram Builder MCP workflow, showing the tools used, initial and final validation scores, cost scope, Bicep classification, rendered architecture, artifact links, coverage gaps, and no-deployment warning. Figure 7. The guided lifecycle extends beyond the web application. In this synthetic Scout run with GPT-5.6 Sol, the agent used authenticated AADB MCP tools to validate, harden, cost, render, and generate starter artifacts while explicitly reporting coverage gaps and that nothing was deployed. Learning from adoption without identifying people Product learning does not require reconstructing individual identities. The findings behind this article use aggregate, deduplicated application telemetry, public article counters, public repository totals, and paraphrased feedback themes. They do not correlate Application Insights identifiers, feedback records, GitHub accounts, or email addresses. Written feedback remains submittable without contact information. When someone explicitly opts into follow-up, the email address is stored with the feedback record in Cosmos DB and is not sent to normal product telemetry. The current 180-day expiry field is a retention marker; automated deletion must be implemented and verified before describing that retention period as enforced. Those boundaries matter for both product design and public writing: Aggregate activity rather than profiling individuals. Paraphrase themes rather than publishing comments without permission. Keep optional contact consent separate from telemetry. Avoid presenting anonymous identifiers as confirmed people. Avoid claiming that publication timing proves acquisition causality. This is not a claim of legal compliance. It is a product discipline: collect less, preserve user agency, and make only the claims the evidence supports. What changed The guided journey is the visible result, but the deeper change is how the project now evaluates progress. Earlier question Better question Did the model generate a diagram? Did it generate a connected and understandable architecture? Did the user click Validate? Was the current architecture validated, and was it revalidated after changes? Did export start? Did a professional artifact finish generating successfully? Does the IaC compile? What does it actually implement, and does Azure preflight pass? How many features exist? Can an architect understand the next useful step? The model portfolio continued to evolve as well. The production selector now contains 15 configured entries, including MAI-Thinking-1 (Public Preview). But the more consequential changes in this article are deliberately model-independent: preserve human work, keep state and provenance explicit, qualify generated artifacts, and authenticate the tools agents can call. The goal is not to remove flexibility. Architects can still open any tool directly, rearrange the canvas, reject recommendations, change pricing assumptions, or export at any point. The goal is to make the workflow coherent without pretending architecture itself is linear. The next boundary: logical versus physical architecture Recent feedback points to a harder problem than adding another model or export format. Architects working with private Azure AI landing zones need to distinguish shared platform resources from project-owned resources, preserve VNet and subnet boundaries, and reason about CIDRs, NSGs, route tables, private endpoints, DNS, and managed identities. The current Topology mode can show services and relationships, but it should not imply exact physical fidelity when those facts are absent. A useful logical diagram answers what exists and how it interacts. A physical or low-level design must answer where it is deployed, how it is isolated, and which values came from evidence. That is the next technical direction I am exploring: an evidence-aware Physical Architecture view backed by deterministic reconstruction from Terraform plan/state, ARM, or a live Azure inventory. Exact fields would be labeled as observed or resolved; AI suggestions would remain explicitly proposed; unsupported or missing inputs would be reported instead of silently invented. This capability is not shipped today, and it will require its own schema, validation rules, layout, security review, and evaluation set. That distinction matters. The lesson from adoption is not to put every architecture concern into one crowded canvas. It is to make each artifact’s purpose and evidence boundary clear. Try it, challenge it, help shape what comes next The Azure Architecture Diagram Builder remains open source, and the live experience is available today: Live app: https://aka.ms/diagram-builder Source code: github.com/Arturo-Quiroga-MSFT/azure-architecture-diagram-builder Getting started: Documentation and deployment guidance The next phase is to measure whether the guided journey helps people complete the full loop, especially recommendation-to-revalidation and artifact-generation success. In parallel, I am beginning the narrower physical-architecture investigation described above. Both efforts will use aggregate signals, reviewed fixtures, and sufficiently large cohorts rather than individual journey reconstruction. Try the workflow with a real architecture problem. Tell me where the handoffs are unclear, where the diagram loses intent, or where an artifact claims more than it implements. Those are the gaps worth fixing next. Measurement note: Article views are rounded public counters observed August 5, 2026. Application figures use deduplicated retained telemetry through August 13 and anonymous identifiers. GitHub totals and rolling 14-day traffic were observed August 13. The comparison windows are May 19–July 9 and July 10–August 13. These signals have different populations and must not be added together. Timing comparisons show concurrent activity, not causal attribution.1.4KViews1like3CommentsEvidence 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].137Views0likes0CommentsAutonomous AI Cyberattacks: Architecting Cyber Defense with Azure
Attackers do not need a new vulnerability to change the economics of cyber defense. They can use AI agents to compare patches, identify likely weaknesses, generate candidate exploits, test them, and repeat the loop at machine speed. A recent NDTV report highlighted Google Threat Intelligence Group’s (GTIG) November 2026 finding that threat actors were using large language model (LLM) frameworks to automate vulnerability discovery and exploitation without a human in the loop [1][2]. GTIG also identified an important limitation: many autonomous offensive frameworks currently trade stealth for velocity, producing forensic traffic and recognizable traces [1]. That combination changes the defender’s job. The patch window gets shorter, alert volume rises, and an incident can move from reconnaissance to impact before a manual queue catches up. But speed is not the same as invincibility. Noisy automation creates behavior that defenders can correlate, prioritize, and contain — if the defensive system is designed to reason and act safely at the same tempo. This article proposes an Autonomous Cyber Defense Framework (ACDF): a conceptual, human-governed architecture that combines Microsoft Sentinel, Microsoft Defender XDR, Microsoft Security Copilot, Microsoft Entra, Azure-native automation, and optional custom agents built with Microsoft Foundry Agent Service. ACDF is not a Microsoft product or an official Microsoft framework. It is a reference pattern for deciding where autonomy helps, where deterministic policy must take control, and where a human must approve the next step. Key takeaways Use agents to accelerate investigation and recommendation, not to grant open-ended production authority. Keep authorization and high-impact decisions outside the language model. Separate read, reason, decide, and act into independently governed stages. Start with simulated telemetry and measure both security value and unsafe-action risk. Why autonomous attacks require a different control loop Traditional security operations often follow a human-paced sequence: collect an alert, enrich it, assign it, investigate it, decide on containment, and execute a playbook. An autonomous attacker can run an Observe-Orient-Decide-Act loop continuously across many targets. It can branch, retry, and adapt based on tool output. The underlying techniques are often familiar: stolen credentials, exposed services, unpatched software, weak authorization, and lateral movement. The change is operational compression. GTIG describes automated patch-differential analysis and n-day exploitation pipelines that reduce the time between disclosure and weaponization. It also cautions that AI-generated exploit claims can fail, creating extra verification work for defenders [1]. A useful defensive response is therefore not “let an AI fight an AI.” It is a faster, evidence-driven control loop: Observe: collect endpoint, identity, cloud, network, application, and threat-intelligence signals. Orient: correlate events into an incident and establish asset, identity, and business context. Decide: score risk through deterministic policy, supported by agent-generated analysis and evidence. Act: execute only an allowlisted, least-privileged response appropriate to the risk tier. Learn: record the decision, approval, action, outcome, and analyst feedback for evaluation. The architecture must assume that telemetry, retrieved documents, emails, web content, and even messages from another agent can be hostile. A prompt injection hidden inside a log field should never become an instruction to isolate a device or disable an identity. ACDF: a governed autonomous-defense architecture Figure 1. Proposed ACDF reference architecture. AI can enrich and recommend, while a deterministic policy decision point and human approval gates control consequential actions. 1. Signal and context plane The first layer collects normalized security signals. Microsoft Defender XDR can contribute cross-domain endpoint, identity, email, application, and cloud-app evidence. Microsoft Sentinel can add broader SIEM data, analytics, incidents, and threat hunting. Microsoft Defender for Cloud can contribute cloud workload posture and alerts; Microsoft Entra supplies identity and access context; Azure Monitor and application telemetry add service-level evidence. Coverage matters more than model sophistication. Missing identity logs, stale asset ownership, or incomplete endpoint onboarding can cause a sophisticated agent to produce a precise answer to the wrong question. Before adding agents, validate data freshness, retention, entity mapping, and the ownership of critical assets. 2. Correlation and detection plane Use native detections, behavioral analytics, advanced hunting, and incident correlation to reduce raw events into evidence-backed cases. Microsoft Sentinel data can be used with Security Copilot, and unified incidents in the Microsoft Defender portal can bring Sentinel and Defender XDR context together [3][10]. The Microsoft Sentinel and natural-language-to-KQL plugins described in the Security Copilot integration documentation are in preview, and not all Microsoft Sentinel tables are supported. Advanced hunting with Microsoft Sentinel data also has documented limitations, so generated queries and coverage must be validated before operational use [3][10]. This layer should retain deterministic detections for conditions that must be explainable and repeatable. Agents can propose hunts, summarize evidence, and identify gaps, but a model output is not itself a detection verdict. 3. Agentic analysis plane Use the most managed capability that fits the task. Microsoft Security Copilot and its agents in Microsoft Defender support security workflows such as alert triage, threat intelligence, hunting, and risk analysis [4][5]. Check the current product documentation before deployment: the broader Security Alert Triage Agent coverage includes preview capabilities, and the Security Analyst Agent documentation contains a prerelease notice. For a custom scenario that is not covered by an existing security agent, Microsoft Foundry Agent Service can provide Microsoft Entra identity, managed tools and toolboxes, tracing, and evaluation capabilities [6]. A practical separation of duties is: Intelligence agent: summarizes public advisories and maps them to the organization’s technology inventory. Investigation agent: gathers read-only evidence for an incident and identifies competing hypotheses. Risk agent: proposes a score with citations to the evidence it used. Response planner: selects only from an allowlisted catalog of playbooks and explains prerequisites. These agents should not share a single broad identity. Give each agent the minimum data scope and tools it needs. Treat every inter-agent message as untrusted input and preserve provenance. 4. Policy decision point The policy decision point is deliberately outside the LLM. It combines stable facts — incident severity, asset criticality, identity privilege, confidence, blast radius, action reversibility, change window, and regulatory constraints — into an action tier. A simple policy can be expressed as four levels: Table 1. Proposed ACDF action tiers and execution rules Tier Example outcome Execution rule 0 - Observe Add context, open an incident, notify an analyst May run automatically 1 - Low-impact Increase logging, collect a diagnostic package, add a temporary tag Automatic only when allowlisted and reversible 2 - Contain Isolate one endpoint, revoke one session, block one indicator temporarily Named analyst approval; consider two-person approval for privileged assets 3 - High-impact Disable a privileged identity, remove production access, modify a firewall broadly, delete data No autonomous execution; follow incident command and change-control procedures Risk thresholds must be versioned configuration, not prompt text. The policy engine should fail closed when evidence is missing, conflicting, stale, or outside the evaluated operating range. 5. Controlled action plane Microsoft Sentinel automation rules and playbooks based on Azure Logic Apps can provide a governed response mechanism [7]. Each playbook should have a narrow purpose, a managed identity or other approved authentication method, an explicit resource scope, a timeout, an idempotency key, a rollback path, and structured audit output. The agent does not receive a generic “run command” tool. It can request collect_diagnostics , temporarily_block_indicator , or isolate_single_device , each with a typed schema and preconditions. The policy service reauthorizes every action at execution time. This helps reduce confused-deputy risk and prevents an old approval from being reused against a different resource. 6. Evidence, observability, and learning plane Store a tamper-evident decision record containing the incident ID, evidence references, model and prompt version, policy version, tool request, approver, action result, rollback state, and analyst feedback. Foundry Agent Service supports tracing and evaluation for custom agents [6]; native Microsoft security experiences provide their own evidence and activity views. Do not train directly on every analyst click. A rushed approval, a false positive, or attacker-poisoned telemetry can become a persistent failure pattern. Curate feedback, separate evaluation data from production memory, and require review before changing prompts, policies, or action permissions. Guardrails that matter more than the model The most important controls are architectural: Separate read from write. Investigation agents should be read-only. A distinct action service performs mutations after policy evaluation. Authorize every action. Recheck user, agent, resource, purpose, and policy at execution time — not only when a session starts. Use least privilege and just-in-time access. Use Microsoft Entra role-based access controls and Privileged Identity Management where applicable. Avoid standing administrative credentials. Allowlist tools and parameters. Block arbitrary shell, browser, query, or code execution in the response path unless it is isolated and explicitly required. Require approval for consequence. Human approval is mandatory for high-impact, irreversible, externally visible, privacy-sensitive, or legally significant actions. Limit blast radius. Set maximum affected identities, devices, subscriptions, duration, calls, tokens, and cost per run. Treat context as data, not instructions. Sanitize untrusted fields, isolate system instructions, and do not let retrieved content redefine the agent’s policy. Design for rollback. Temporary blocks should expire; device isolation should have a tested release path; repeated requests should be idempotent. Log enough to reconstruct the decision. Capture evidence and rationale without copying unnecessary secrets or personal data into prompts or long-lived memory. Provide a kill switch. Security operations must be able to suspend an agent, revoke its identity, and disable playbooks independently. These controls align with Microsoft’s AI agent shared responsibility guidance: customers remain accountable for data, identity, authorization, human oversight, and governance, even when using a managed agent platform [8]. OWASP guidance similarly emphasizes least privilege, human approval for high-impact actions, input validation, memory protection, logging, and emergency shutdown [14]. Safe proof of concept: score simulated telemetry and request approval The following Python example is intentionally benign. It does not scan systems, generate exploits, or invoke a live security API. It scores synthetic observations, selects a recommendation from an allowlist, and emits an approval request. Use it to test the control boundary before connecting any production data. from __future__ import annotations from dataclasses import asdict, dataclass from typing import Literal import json import re import uuid Action = Literal[ "no_action", "observe", "collect_diagnostics", "isolate_single_device", ] Status = Literal["evaluated", "rejected"] POLICY_VERSION = "acdf-lab-v1" @dataclass(frozen=True) class SyntheticObservation: incident_id: str device_id: str failed_signins_10m: int privileged_identity: bool unusual_process: bool outbound_spike: bool asset_criticality: int # 1=low, 2=medium, 3=high @dataclass(frozen=True) class Decision: decision_id: str policy_version: str status: Status score: int | None recommendation: Action requires_action_approval: bool requires_human_review: bool evidence: tuple[str, ...] validation_errors: tuple[str, ...] def validate(obs: SyntheticObservation) -> tuple[str, ...]: """Reject malformed or out-of-scope inputs before scoring.""" errors: list[str] = [] if not re.fullmatch(r"SIM-[0-9]{4,8}", obs.incident_id): errors.append("incident_id must be a synthetic SIM identifier") if not re.fullmatch(r"LAB-DEVICE-[0-9]{2,4}", obs.device_id): errors.append("device_id must identify an approved lab device") if type(obs.failed_signins_10m) is not int or not 0 <= obs.failed_signins_10m <= 10_000: errors.append("failed_signins_10m must be an integer from 0 to 10000") if type(obs.privileged_identity) is not bool: errors.append("privileged_identity must be boolean") if type(obs.unusual_process) is not bool: errors.append("unusual_process must be boolean") if type(obs.outbound_spike) is not bool: errors.append("outbound_spike must be boolean") if type(obs.asset_criticality) is not int or obs.asset_criticality not in {1, 2, 3}: errors.append("asset_criticality must be 1, 2, or 3") return tuple(errors) def evaluate(obs: SyntheticObservation) -> Decision: errors = validate(obs) if errors: # Fail closed: reject the record and propose no action. return Decision( decision_id=str(uuid.uuid4()), policy_version=POLICY_VERSION, status="rejected", score=None, recommendation="no_action", requires_action_approval=False, requires_human_review=True, evidence=(), validation_errors=errors, ) score = 0 evidence: list[str] = [] if obs.failed_signins_10m >= 20: score += 20 evidence.append("failed_signins_10m>=20") if obs.privileged_identity: score += 25 evidence.append("privileged_identity") if obs.unusual_process: score += 25 evidence.append("unusual_process") if obs.outbound_spike: score += 20 evidence.append("outbound_spike") score += {1: 0, 2: 5, 3: 10}[obs.asset_criticality] if score >= 70: action: Action = "isolate_single_device" elif score >= 35: action = "collect_diagnostics" else: action = "observe" consequential = action == "isolate_single_device" return Decision( decision_id=str(uuid.uuid4()), policy_version=POLICY_VERSION, status="evaluated", score=score, recommendation=action, requires_action_approval=consequential, requires_human_review=consequential, evidence=tuple(evidence), validation_errors=(), ) sample = SyntheticObservation( incident_id="SIM-0042", device_id="LAB-DEVICE-07", failed_signins_10m=24, privileged_identity=False, unusual_process=True, outbound_spike=True, asset_criticality=2, ) invalid_sample = SyntheticObservation( incident_id="PROD-0042", # Rejected: outside this synthetic lab scope. device_id="SERVER-01", failed_signins_10m=-1, privileged_identity=False, unusual_process=False, outbound_spike=False, asset_criticality=9, ) valid_decision = evaluate(sample) rejected_decision = evaluate(invalid_sample) assert valid_decision.recommendation == "isolate_single_device" assert valid_decision.requires_action_approval is True assert rejected_decision.status == "rejected" assert rejected_decision.recommendation == "no_action" print(json.dumps(asdict(valid_decision), indent=2)) print(json.dumps(asdict(rejected_decision), indent=2)) The key design choice is not the score. It is the boundary: the program creates a recommendation and evidence record, but it has no credential and no function that can isolate a device. Malformed or out-of-scope input is rejected with no_action and routed for review. A separate approval and action service would validate the request again, re-check current policy and authorization, bind the approval to the exact action and lab resource, enforce an expiry, and then invoke a narrowly scoped playbook. To extend the lab safely: Replace the single sample with version-controlled synthetic JSON Lines files. Add unit tests for thresholds, missing fields, duplicate requests, expired approvals, and rollback. Mock the playbook endpoint; return deterministic success, failure, timeout, and partial-completion responses. Add a read-only agent that explains the deterministic decision, then test whether hostile text inside a telemetry field can alter the proposed action. Never use real customer data, production credentials, malware, exploit code, or internet scanning in the experiment. Evaluate the system without inventing success Do not claim that an agent “reduces response time” or “improves accuracy” until the system has been evaluated against a documented baseline. A reproducible evaluation can compare three modes on the same labeled, synthetic scenario set: Rules only: deterministic scoring and static playbook selection. Agent assisted: an agent enriches and explains; policy still decides. Agent plus governed action: low-risk actions can run; consequential actions require approval. Record the dataset version, scenario families, label owner, product configuration, model version, prompts, policy version, run count, and randomization settings. Measure: Table 2. Reproducible evaluation metrics Metric Definition Detection precision and recall Correct suspicious classifications relative to the labeled set Alert-to-decision latency Time from final synthetic event to a complete recommendation Unsafe-action proposal rate Proposals that violate the action policy divided by all proposals Approval override rate Approved recommendations that analysts change or reject Evidence completeness Required evidence fields present and traceable to source records Idempotency pass rate Repeated requests produce no duplicate side effect Rollback success rate Reversible actions restored within the test objective Cost per evaluated incident Model, compute, and automation cost for each completed case Define gates before running the test. For example, any Tier 3 autonomous action, cross-tenant data exposure, policy bypass, or unlogged tool call should fail the release. Report confidence intervals or raw counts, not only percentages, and publish negative cases. An agent that is faster but proposes unsafe containment is not an improvement. Operational rollout: earn autonomy in stages A production journey should expand authority only after evidence supports it: Shadow: the agent reads copied or synthetic data and produces recommendations that no one acts on. Assist: analysts can inspect evidence and manually launch existing playbooks. Approve: the system creates a typed action request; an authorized analyst approves it. Bounded autonomy: only reversible Tier 0 or Tier 1 actions run automatically within strict scope and volume limits. Continuous assurance: red-team prompt injection, poisoned telemetry, permission drift, model changes, tool failures, and rollback every release cycle. Keep emergency response outside the experimental agent path. If the agent is unavailable or produces conflicting evidence, analysts must retain access to the native Microsoft Defender and Microsoft Sentinel workflows. Limitations and design boundaries ACDF does not eliminate cyber risk, replace patch management, or guarantee containment. Its effectiveness depends on telemetry quality, identity hygiene, asset context, well-tested playbooks, supported product capabilities, licensing, region, and operational maturity. Some Microsoft security agent capabilities and Security Copilot integrations are in preview and can change. Not all Microsoft Sentinel tables are supported in every Copilot or advanced-hunting path. Verify current documentation, permissions, query behavior, licensing, regional availability, and support boundaries before production use [3][4][5][10]. Language models can hallucinate, overgeneralize, follow malicious instructions embedded in context, or vary between runs. Deterministic policy reduces these risks but cannot compensate for incorrect labels, missing logs, compromised administrators, or an overly permissive action catalog. Legal, privacy, employee-monitoring, customer-contract, and regulatory obligations may also restrict what data an agent can process and which actions it may recommend or execute. Finally, autonomous defense should not become a reason to normalize autonomous disruption. The objective is controlled speed: faster evidence gathering, better prioritization, and narrowly governed response with clear accountability. Start with one bounded control loop Choose one high-volume, low-consequence security workflow. Build a synthetic scenario set, define an allowlisted action catalog, and separate the agent from the policy and action services. Connect read-only evidence first. Then run the evaluation until you can explain every decision, reproduce every result, and roll back every permitted action. If you already use Microsoft Defender XDR and Microsoft Sentinel, start by exploring their unified incidents, advanced hunting, Security Copilot integration, and documented agents. Treat preview capabilities and generated queries as inputs for validation, not as automatic authority. Use Microsoft Foundry Agent Service only when a custom agent is justified, and keep the action boundary outside the model. Autonomous attackers compress time. Defenders can respond by compressing analysis — without compressing governance. References Google Threat Intelligence Group, GTIG AI Threat Tracker: Agentic Threat Activity Crosses a Significant Threshold, November 16, 2026. NDTV, Google Warns 'Era Of Autonomous AI Attacks Has Arrived', November 18, 2026. Microsoft Learn, Security Copilot with Microsoft Sentinel. Microsoft Learn, Deploy AI agents in Microsoft Defender. Microsoft Learn, Microsoft Security Copilot Security Analyst Agent overview. Microsoft Learn, Agents in Microsoft Foundry. Microsoft Learn, Azure Logic Apps for Microsoft Sentinel playbooks. Microsoft Learn, AI agent shared responsibility model. Microsoft Learn, What is Privileged Identity Management?. Microsoft Learn, Advanced hunting with Microsoft Sentinel data in Microsoft Defender. NIST, Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile, NIST AI 600-1. NIST, The NIST Cybersecurity Framework (CSF) 2.0. MITRE, ATLAS: Adversarial Threat Landscape for Artificial-Intelligence Systems. OWASP Cheat Sheet Series, AI Agent Security Cheat Sheet.227Views2likes1CommentNative real-time multilingual transcription is now generally available, and faster
In July, real-time transcription went multilingual for the first time. multilingual post-stream refinement entered public preview, so a single live session could recognize multiple languages, including switches mid-conversation, without knowing the language in advance. Today, multilingual post-stream refinement is generally available in Azure Speech, part of Microsoft Foundry. It also has a new engine. Instead of running a second recognition pass in parallel and waiting for it to finish, multilingual post-stream refinement now runs on an LLM Speech streaming model. The result is refined final transcripts that arrive much sooner. What’s new Generally available: Multilingual real-time transcription, with code-switching and no locale preselection, is ready for production. Faster final results: The streaming model removes the wait for a separate second pass. Final results typically arrive in around 100 milliseconds. Phrase lists: Bias recognition toward product names, people, and domain terms in multilingual sessions. This was the most requested capability from the preview. Each phrase list can have up to 200 phrases and 3,200 characters. 61 multilingual locales: Up from 29 at preview. Diarization included: Multilingual transcripts still show who said what. Why the new architecture matters Partial and final results do different jobs. Partial results drive live captions and voice-agent turn-taking. Final results feed storage, analytics, search, summarization, and downstream AI. In preview, multilingual post-stream refinement paired a real-time recognizer with a second, non-streaming recognition pass that refined each final result with broader audio context. That improved accuracy, but applications had to wait for the second pass before the refined final arrived. Multilingual post-stream refinement now runs natively on an LLM Speech streaming model inside the real-time service, so refined finals arrive without that extra wait. The integration doesn’t change. If you already use multilingual post-stream refinement, you get the new engine with no code changes. This update applies to real-time speech to text through the Speech SDK. If the player doesn't load, open the video in a new window: Open video Get started Enable Post-Stream Refinement with open-range language detection, then add a phrase list if you need it: Multilingual Post-Stream Refinement requires Speech SDK 1.50 or later. import azure.cognitiveservices.speech as speechsdk import time done = False speech_config = speechsdk.SpeechConfig(subscription="YourSpeechKey", endpoint="YourSpeechEndpoint") # Enable multilingual post-stream refinement. speech_config.set_property( speechsdk.PropertyId.SpeechServiceResponse_PostProcessingOption, "PostRefinement", ) # An empty configuration enables open-range language detection. auto_detect_config = speechsdk.languageconfig.AutoDetectSourceLanguageConfig() audio_config = speechsdk.AudioConfig(filename="multilingual.wav") speech_recognizer = speechsdk.SpeechRecognizer( speech_config=speech_config, auto_detect_source_language_config=auto_detect_config, audio_config=audio_config, ) def recognized_cb(evt: speechsdk.SpeechRecognitionEventArgs) -> None: if evt.result.reason == speechsdk.ResultReason.RecognizedSpeech: language = speechsdk.AutoDetectSourceLanguageResult(evt.result).language print(f"RECOGNIZED ({language}): {evt.result.text}") def stop_cb(evt: speechsdk.SessionEventArgs) -> None: global done done = True speech_recognizer.recognized.connect(recognized_cb) speech_recognizer.session_stopped.connect(stop_cb) speech_recognizer.canceled.connect(stop_cb) speech_recognizer.start_continuous_recognition() try: while not done: time.sleep(0.5) finally: speech_recognizer.stop_continuous_recognition() Tip: For the lowest final-result latency in voice-agent scenarios, commit results explicitly when your application detects the end of a turn, instead of relying only on the service’s silence timeout. What else: more languages for monolingual post-stream refinement This release also expands monolingual post-stream refinement, for sessions where you know the language up front. It now supports 148 locales, up from 29, which matches fast transcription coverage. Monolingual post-stream refinement keeps its existing design, a second recognition pass that runs in parallel with real-time streaming. For the full list, see Speech to text language support. Which mode should I use? Your scenario Use Why Language unknown up front, or speakers switch languages Multilingual post-stream refinement low latency final results, open-range detection, code-switching, 61 locales Known single language, broadest locale coverage Monolingual post-stream refinement 148 locale coverage Designed for global, real-time workloads Global contact centers, where callers start or continue in different languages. Voice agents that must handle code-switching without restarting the session, and recognize product and customer names with phrase lists. International meetings, webinars, and live captioning. Travel, automotive, media, and consumer apps serving many markets. Availability Multilingual post-stream refinement is available in six regions: Central India, East US, North Europe, Southeast Asia, West US, and West US 2. For complete locale and region lists, see Speech to text language support and Supported regions for Azure Speech. Get started today Read the documentation: Multilingual post-stream refinement Phrase lists: Improve recognition accuracy with phrase list Check locale and region support: Speech to text language support and Supported regions for Azure Speech. Azure Support: File a support request through the Azure portal GitHub: Open issues on the Azure Speech SDK samples repository559Views1like1CommentGulf Air's Continuous Improvement Journey with Microsoft Foundry
On November 9, Gulf Air reached a milestone: two AI agents in its Falcon Eye application—a voice agent and a chat agent—went live for users. The milestone did not come from finding one perfect prompt. Gulf Air had spent weeks building a demanding pool of evaluation questions, studying traces, finding gaps, changing instructions and code, and testing again. Ahmed reported that the team generated approximately 10,000 candidate questions across different business perspectives, then ran selected questions in smaller batches to exercise real aviation and management logic. Ahmed AbdulJalil Ebrahim described the impact plainly: " What evaluation, insights, and optimize did for us was really amazing. We were able to fix business logic the agent had not understood." For us, the important part of this story is not that one tool produced one answer. It is that Gulf Air assembled a repeatable improvement practice around the hard questions its business would actually ask. The application had to do more than retrieve an answer Falcon Eye is an important Gulf Air application used for operational analysis and management decision support. Ahmed described a five-agent vision spanning UI summaries, smart search, dynamic reporting, real-time voice, and a reasoning chat experience. These agents connect to operational data through APIs and a Postgres MCP. They can analyze information, perform calculations, and help users create reports or dashboards. That makes them useful, but it also raises the quality bar. A simple factual test cannot establish whether an agent: selected the right operational field for the user's question; followed an aviation-specific rule; generated an appropriate query; performed a calculation correctly; preserved the user's data permissions; or remained reliable when the same intent appeared in a different form. For senior leaders asking operational or financial questions, a fluent answer is not enough. The reasoning path and the business result both matter. Gulf Air built an evaluation pool around the hardest business questions Ahmed described this generated question pool as covering multiple business perspectives. He emphasized that these were not only straightforward questions such as total departures or delays. They were intended to test the business logic that had been difficult to express through a system prompt alone. The team selected questions from that pool and generally ran them in batches of 100. The evaluation results separated successful answers, failures, no-answers, and errors. Gulf Air then examined the resulting traces and insights, brought the evidence into VS Code with its engineering context, implemented changes, and evaluated again. The loop looked like this: Run difficult evaluation questions -> inspect failures, no-answers, and errors -> review generated insights and supporting traces -> bring the evidence into the coding workflow -> change instructions, tools, or application logic -> test candidate improvements -> add independent human review -> run evaluation again Human review was a deliberate part of the process. Other team members approached the agent differently and documented issues that the original test design had missed. Their findings became new inputs to the next improvement cycle. Immediately before our November 9 conversation, Ahmed had completed another 400-question run and applied additional fixes. This was not a one-time benchmark. It was an operating rhythm. Evidence became useful when it entered the engineering workflow The workflow did not stop at an evaluation score or a list of traces. Gulf Air used the evidence to decide what to change. Insights from traces helped group recurring behaviors and connect them with representative executions. VS Code supplied the surrounding engineering context: code, APIs, MCP access, reports, and prior findings. The team could then investigate whether an issue came from instructions, tool behavior, application logic, or the test itself. This distinction matters. An insight can identify a pattern and point to a likely direction, but it is not automatically a validated fix. Gulf Air still reviewed the evidence, implemented the change in the appropriate system, and ran the agent again. That developer-led pattern is also central to the latest Microsoft Foundry experience: Scheduled and on-demand analysis can process new traces incrementally after the initial lookback. Linked and highlighted traces let developers inspect the evidence behind an insight. Custom categories and additional instructions help focus future analysis on business-specific concerns. A proposed change can be copied into a coding workflow when the issue belongs in code or application configuration. For eligible instruction or tool-description issues, developers can use fix insights and create an agent optimizer run. The handoff is important, but so is its boundary: a proposed fix is a starting point for validation, not an automatic production change. From a selected insight to an evaluated candidate From the Insights tab, a developer can choose Select insights, select the relevant insights, and choose Fix insights to create an optimization run. Foundry uses the selected evidence to prepare supported replay scenarios, proposes candidate changes, and compares them with the current agent version as the baseline. The goal is not to accept whichever candidate has the highest single score. Developers can inspect: which selected issues improved; the candidate's actual instruction or tool-description changes; per-scenario and overall evaluation results; quality comparisons with the baseline; token usage and estimated cost; latency; and whether independent conversations were available to check for broader regressions. Sometimes the responsible result is still the baseline. A candidate might fix one failure while regressing elsewhere, the evaluator might find the result inconclusive, or the available evidence might be too narrow. The developer reviews those trade-offs and explicitly decides whether to promote a candidate. Nothing in this workflow automatically changes the active agent. Human review, promotion, testing, and production activation remain separate decisions. Gulf Air assembled this handoff manually. The new select-insights-to-fix experience is designed to shorten part of that journey by carrying verified insight evidence into a controlled optimization run. Confidence was the business outcome The value of this work was not a single score or a one-time test. Each evaluation cycle produced reusable evidence - failure cases, traces, human-reviewed findings, and proposed changes that the team could carry into the next iteration. Validation became part of the engineering workflow rather than a final checkpoint before launch. The business outcome was confidence. Ahmed described the workflow as giving Gulf Air a level of confidence in its agents that the team had not achieved before. He also reported that Gulf Air management was impressed by the voice and chat-agent demonstration on launch day. From Gulf Air: what changed for our team “The agent refinement experience changed the way we approach agent AI development at Gulf Air. Instead of relying on individual tests or continually adjusting prompts, we can systematically challenge our agents with thousands of real business questions, understand where they struggle, and use evaluation, traces and insights to identify the underlying issues. This approach helps us refine how agents understand complex aviation business logic and gives our teams greater confidence in the agents we move into production. More importantly, it establishes a continuous development cycle where real-world usage and evaluation drive the next improvement.” Five lessons for teams moving agents into production Gulf Air's experience suggests five practical lessons. 1. Build the evaluation set around business difficulty Start with the questions your business struggles to encode, not only the questions your agent already answers well. Include ambiguity, calculations, tool use, permissions, and domain rules. 2. Use insights to find patterns beyond predefined evaluations Evaluations test the requirements a team already knows how to define. Insights can look across production traces for recurring behavior the team did not anticipate, bring related executions together, and show representative evidence. Custom categories and additional instructions can focus that analysis on business-specific concerns. Developers still review the cited traces and compare the finding with business expectations before deciding that an issue is real. 3. Turn recurring guidance into a reusable skill When a verified issue reflects guidance the agent should apply across many future interactions, repeatedly tuning prompts might not be enough. A versioned skill can capture that learning in a form the team can review, evaluate, and deliberately adopt. Not every issue belongs in a skill. Code defects, tool-description problems, data-quality issues, and platform failures still need to go to the workflow that owns the responsible layer. 4. Compare trade-offs, not only quality scores A candidate can improve one behavior while using more tokens, adding latency, or regressing on normal conversations. Compare candidates with the baseline and inspect the underlying evaluation cases. 5. Keep production changes explicit Continuous analysis can discover new patterns, and optimization can test candidates. Neither should remove the developer's responsibility to review evidence, approve changes, and test the promoted version before sending production traffic to it. The next chapter: keep learning after launch Production is not the end of the evaluation set. It is where new evidence begins. Real users ask questions in ways a development team did not anticipate. Data changes, tools evolve, and a response that works for one scenario can fail at the edge of another. The opportunity is to turn those new production behaviors into the next round of learning without losing the controls that made the launch possible. For Gulf Air and other enterprises building complex agents, that means establishing a repeatable rhythm: Observe new behavior in production traces. Verify the pattern against representative evidence and business expectations. Turn confirmed failures into evaluation coverage. Test candidate changes against the current baseline. Compare quality, latency, and cost rather than optimizing one measure in isolation. Promote a change only after human review, then watch the new version under real traffic. This is the larger promise of continuous improvement in Microsoft Foundry. Insights from production traces can help teams discover what deserves attention. Evaluation makes expected behavior testable. Agent optimizer can compare possible improvements. Developers remain responsible for deciding what is correct, what is safe, and what should reach production. The next milestone is not an agent that changes itself without oversight. It is a controlled learning system in which production evidence, business context, evaluation, and human decisions reinforce one another. For Gulf Air, the first milestone is already real: difficult questions became evidence, evidence became engineering work, and that work helped two agents reach production with greater confidence.160Views0likes0CommentsFrom Connected Devices to AI-Ready Operations
For years, the promise of connected devices was visibility; collect telemetry, monitor assets and help people see what was happening. Customer conversations have moved past dashboards and alerts toward a bigger goal, which is turning operational insight into timely, coordinated action. Organizations want their teams to have contextual intelligence that reflects operational reality, and architectures that deliver data and control wherever they're needed. They're asking how to anticipate failures, automate maintenance, improve safety and manage entire fleets without adding complexity. At Ignite, we're reaching a major milestone in modernizing the Azure IoT stack, with new capabilities that help customers move from connected devices to AI-ready operations. Scaling Physical AI starts with three things: a simpler way to deploy, manage and secure connected device fleets; operational data that lands in the right destinations with its context intact; and the Agent ready integrations that bring the full cycle of perceive, reason, act and learn to life. As we evolve the platform, our goal is to meet customers wherever they are and make it easier for them to unlock the full potential of Physical AI. What You’ll See at Ignite Unified Management with Azure Device Registry: Announcing the general availability of Azure Device Registry integration with Azure IoT Hub with X509 cert management capabilities. Azure Device Registry represents IoT devices as Azure resources in Azure Resource Manager. Customers can manage and govern their fleets with familiar Azure capabilities, applying their existing cloud management, security and governance practices to even the smallest connected devices. Unified Data: Announcing the general availability of Fabric Eventstream as a native Azure IoT Hub endpoint. Customers can now route device data directly into Microsoft Fabric Real-Time Intelligence, where operational data gains physical-world context and joins enterprise data to power real-time insights, AI and agents. At Microsoft Ignite we're also previewing MQTT v5 support in Azure IoT Hub, which brings more flexible, application-aware messaging to connected devices. Unified Intelligence: Announcing the preview of Model Context Protocol (MCP) tools for Azure IoT Hub and Azure Device Registry. These agent-ready interfaces let agents orchestrate device management and connect the management and data foundations. Agents can then reason across operational and enterprise context and take governed actions on physical systems. Together, these capabilities help customers build on their existing investments while advancing toward more intelligent, adaptive, and autonomous operations. Unified Management with Azure Device Registry Azure Device Registry (ADR) extends that management model to IoT devices and assets, bringing them into a single management plane. By representing devices and assets as Azure resources, ADR provides a centralized source of truth for their metadata and a consistent foundation for management across the fleet. Customers using Azure IoT Hub can take advantage of ADR’s unified registry alongside familiar Azure management capabilities, including Azure Resource Graph queries, role-based access control (RBAC), and Azure Policy. This brings device management into established cloud governance practices rather than requiring a separate set of tools and controls. Azure Device Registry also delivers one of the most requested device security capabilities: fully managed, Microsoft-issued X.509 certificates for device operational credentials. Certificate management is built into device provisioning and connectivity, which simplifies the full certificate lifecycle. This is critical for Physical AI, before customers can safely give systems more autonomy, they need the tools to build Zero Trust solutions they can trust. The general availability of these capabilities marks a major milestone in modernizing the Azure IoT stack, bringing it deeper into Azure so customers can manage connected devices the same way they manage the rest of their cloud resources. Building on this foundation, we're also previewing new capabilities at Ignite that extend connected device management and operations. ADR software update enters preview, letting customers use ADR groups to organize devices into fleets that span IoT Hub boundaries. They can then use ADR jobs to coordinate software updates across those fleets. Azure's firmware analysis capabilities now integrate more deeply into ADR, putting fleet-wide security insights and continuous vulnerability visibility right inside device management. Customers can find risky code, keep vulnerability data current, and discover more of the firmware components running across their fleets. ADR brings inventory, governance, credentials, and software updates together under one management surface, helping customers move from managing individual connected devices to governing their fleets consistently at scale. “Connecting devices is only the beginning. By bringing Azure IoT Hub and Azure Device Registry together, Microsoft is making it easier for organizations to manage connected fleets as part of their broader Azure environment. At Mesh, we see this as an important step toward simpler, more scalable connected operations.” - Andrew Cohoat, President and CEO, Mesh Systems Unified Operations Data For agents to act on what's happening in the physical world, they need operational data that is unified, structured, and ready to use. Azure IoT Hub already brings that data into Azure. With the general availability of Fabric Eventstream as a native IoT Hub endpoint, you can now route device data straight from IoT Hub into Microsoft Fabric Real-Time Intelligence, with no custom pipelines or intermediate services to build and maintain. You configure the route in IoT Hub, choose Fabric Eventstream as the destination, and your device messages flow into Fabric in the open CloudEvents format. From there, Eventstreams' no-code and low-code tools let you transform, enrich, and route events to a unified operational data foundation. Three new previews extend what IoT Hub delivers through that connection. A standardized message format, set on the endpoint, wraps each message in a consistent, self-describing envelope, so downstream consumers see one structure whatever devices send. Device type and data schema references tell consumers what each device is and what shape its data takes, so meaning travels with the data. And Fabric Accelerator improvements guide you from streaming data to dashboards, alerts, and data agents, shortening the path from signal to action. At Microsoft Ignite, we’re previewing MQTT v5 support in Azure IoT Hub. Default Azure Device Registry (ADR) linking combines modern messaging with unified device management across IoT hubs. Custom topics let customers structure messaging around application needs, while routing based on user properties directs messages using application-defined context. A unified SDK ties these capabilities together, providing a consistent development experience. Together, these capabilities deliver a modern, extensible, and flexible cloud IoT stack secure by design and built for the future of device connectivity and fleet management at scale Physical AI is redefining the future of Industrial Autonomy, enabling connected assets to sense, learn and act intelligently. By combining TCS’ industry expertise with Azure IoT Hub and Azure Device Registry, enables us to blend digital intelligence with physical contexts to transform device data into self-healing, secure and autonomous ecosystems to unlock exponential business value.” – Mahesh Singhal, Director Alliances, Industrial Autonomy and Engineering (IAE), TCS “Industrial operations are moving from connected assets to intelligent, AI-driven decisions at the edge. The integration of Azure IoT Hub and Azure Device Registry creates a strong foundation for helping customers make that shift at scale.” - Martijn Handels, CTO, Helin Unified Intelligence Bringing these capabilities together, we are enabling a unified intelligence foundation that helps customers perceive, reason, and act on their physical environments. Secure cloud connectivity provides the foundation, while Model Context Protocol (MCP) tools for Azure IoT Hub and Azure Device Registry enable agents to orchestrate device management. Operational data flows into Microsoft Fabric’s OneLake, carrying the semantic context of physical assets so AI and agents can interpret it alongside enterprise data, reason across systems, and inform intelligent action. This connects the full cycle of Physical AI to perceive, reason, act, and learn advancing IoT from connected devices to connected operations and, ultimately, governed autonomy. “Physical AI becomes meaningful when intelligence is connected to the real operational environment. Azure IoT provides the secure connectivity foundation, while CogitX brings the reasoning, workflows, and safeguards needed to turn insight into responsible action.” - Pradeep Parappil, CEO, CogitX Customers / Partners The shift to Physical AI won't happen through technology alone. It takes an ecosystem that understands devices, operational environments and industry workflows, along with the safeguards needed to turn intelligence into responsible action. Across industries, partners are already combining these capabilities to solve real operational challenges and deliver measurable outcomes. The next chapter will be written together. We invite customers and partners to join us in bringing these possibilities to life across real-world operations. Spirax Group | Accelerating Industrial Maintenance with Azure IoT Hub and AI Spirax Group, working with Mesh Systems, uses Azure IoT Hub and AI to remotely monitor approximately 20,000 connected steam traps and automatically detect failures. The solution reduces failure notification times from months to hours, enabling faster maintenance response, reducing manual inspections, and helping minimize downtime and energy waste. WLS Lighting | Safer, Smarter, More Energy-Efficient Working with Mesh Systems, WLS Lighting leverages Azure IoT Hub to remotely manage over 250,000 commercial light poles through its netLiNK Controls platform. Intelligent monitoring, dimming, and scheduling have helped deliver over $78 million in cost savings and 951 million kWh in energy savings, while optimizing lighting for safety and efficiency. CogitX | Turning Industrial IoT Data into Intelligent Operations CogitX builds multi-agent AI solutions on Azure IoT Hub and Microsoft Fabric to transform industrial telemetry into actionable intelligence. In aluminum smelting operations, its AI agents correlate equipment signals, identify emerging risks, and recommend actions that operators can review and approve before production is affected. Watch the video Resources Getting started Azure IoT Hub Devices in ADR X509 Cert management with ADR Fabric as native Azure IoT Hub endpoint Azure IoT Hub support for MQTT5 (Preview) Partner Guide Microsoft Industrial AI Partner Guide742Views2likes0CommentsYour Agents Are Running. But Are They Safe and Compliant?
An AI agent can perform perfectly and still violate your organization’s policies. Picture an enterprise running hundreds of agents across customer service, financial transactions, and internal workflows. Every operational dashboard looks healthy: tasks are completing and targets are being met. But are those agents using approved models? Accessing only authorized tools? Running the required safety protections? And when one violates a requirement, can an administrator tell which policy failed, which asset is affected, and what to change? An operationally healthy fleet isn’t necessarily a safe or compliant one. As organizations move from experimenting with individual agents to running AI across business-critical operations, it’s no longer enough to define policies and trust each team to implement them. Enterprises need to enforce the controls that matter at runtime, verify those controls actually work, and confirm, across the fleet, that they’re in place. That’s what Microsoft Foundry Safety brings together. It’s the home for the capabilities that keep agents inside the boundaries you set: Foundry Guardrails: safety controls a developer configures and Foundry applies at runtime. agent controls: the managed policy engine underneath Guardrails, enforcing deterministic rules, classifiers, and LLM-based judgments across frameworks and clouds. Safety Rubric Evaluators: spec-driven evaluations that measure whether a control actually holds, before and after you ship. AI Red Teaming Agent: adversarial probing that finds failures before an attacker does. Compliance dashboard: the new experience that confirms, across your entire fleet, that these controls are assigned, in place, and holding. Each of these has its own story. Governing hundreds or thousands of agents is a different challenge than building one. The new Manage experience in Microsoft Foundry brings fleet inventory, operational telemetry, cost, and compliance into a single view. The Foundry Governance blog walks through Fleet, Operations, and Cost in depth. This post, however, focuses on the capabilities that tells you whether your fleet is safe and compliant. Compliance: from requirements to action At the center of this experience is Foundry Manage → Compliance, bringing together relevant governance signals from Azure Policy, Microsoft Defender for Cloud, and Microsoft Purview. Four complementary views help administrators investigate their AI estate: Compliance view What it helps answer Policy Which organizational policies apply, and where are violations occurring? Asset Is a particular agent, model deployment, or toolbox compliant? Security posture Which security recommendations require attention? Data security & governance What Purview coverage and data-security findings are relevant to my AI assets? Understand compliance from the policy or the asset Administrators and developers come to Compliance with different questions. An administrator may start with an organization-wide requirement and ask which resources violate it, across a subscription or resource group. A developer is more likely to start with a particular agent and ask which policy it failed, why, and what needs to change. The Policy and Asset views support these complementary workflows. Through its integration with Azure Policy, Microsoft Foundry brings organizational governance into the context of your AI estate. Administrators can define and assign policies at the appropriate scope, review compliance status, identify violating assets, and investigate policy requirements. These capabilities span model deployments, agent configurations, tools, network egress, and safety controls, as outlined below: Policy category What organizations can govern Models Restrict deployments to approved models or publishers and enforce model eligibility requirements, such as excluding preview models. Agents Govern approved agent types and trusted Hosted Agent container images. Tools Govern tool usage and connections, including approved tool types, MCP endpoints, and connectors. Network egress Control which outbound destinations hosted agents are permitted to access. Safety controls Establish requirements for safety guardrails, such as harmful-content filtering, jailbreak protection, indirect-attack protection, and custom controls. For example, an organization might establish a policy restricting AI deployments to an approved set of models. In Manage → Compliance → Policy, an administrator can review the assigned policy, examine its scope and configured parameters, understand whether it is compliant, and identify the exact model deployments that violate the requirement. They can also inspect the policy definition, enforcement effect, and available evaluation details to understand why an asset is noncompliant. For changes to assignments or exemptions, Foundry links to the relevant Azure Policy management experience. Audit and Deny provide different levels of control. Audit identifies noncompliant resources without blocking operations. Where supported, Deny prevents new noncompliant create or update operations, while existing resources that violate the policy remain flagged until remediated. The effects available depend on the specific policy definition. This gives administrators a clearer view of not just which policies exist, but where they apply, how they are configured, and which resources require attention. The Asset view provides the complementary perspective. Starting from a flagged customer-support agent, a developer or administrator can examine the relevant policy evaluations and identify the cause: perhaps a disallowed model deployment or a missing required protection. The agent may be operating successfully from an application perspective while remaining noncompliant. Operational health and policy compliance are not the same thing. And knowing a violation exists is only useful if you can act on it. Foundry connects the affected asset to the requirement and the relevant management experience, helping teams determine whether to update a configuration, enable a protection, or follow an Azure Policy workflow. From compliance requirements to safety controls enforced at runtime Configuration compliance is essential, but agents introduce another challenge: an agent can be configured correctly and still attempt an action that violates a business rule. Imagine a financial-services agent offering a new credit product to a customer who has disclosed financial hardship, or an agent attempting a transaction above its authorized limit. These are runtime behavioral requirements that depend on what the agent is doing in the moment. That's why we're bringing more flexible safety controls into the Foundry developer experience. Define safety controls once. Apply them automatically at runtime. With Microsoft Foundry Guardrails, developers can configure safety controls through Build → Guardrails or programmatically through the API. These controls include supported built-in safety protections, such as harmful-content filtering and prompt-attack protection. The architecture is also evolving to support more expressive organization-specific requirements through deterministic business rules and LLM-based judgments. Once a guardrail policy is configured and assigned to a supported agent, Foundry automatically applies its supported controls at runtime. Developers don't need to build a separate policy-evaluation and enforcement integration for the supported Foundry-hosted execution path. The runtime invokes the applicable protections at supported intervention points and applies their decisions as part of execution. Behind this experience are our investments in the open-source Agent Control Specification (ACS), Agent Hooks, and the managed agent controls service. Agent Hooks defines where the runtime can intervene; ACS defines the policy evaluation contract; the managed service evaluates supported policies; and the Foundry runtime enforces the returned decisions. For example, consider an insurance agent processing a policyholder's request to change a beneficiary. An organization might want to require verified identity context before the update, use an LLM judge to detect possible coercion requiring escalation, and apply built-in classifiers to relevant content risks. These are illustrative policy patterns, with availability depending on the supported controls and intervention points. Developers define the boundaries. Foundry handles runtime application of assigned, supported guardrails. Azure Policy complements this experience by establishing and auditing supported organizational requirements; an Azure Policy assignment is not a prerequisite for a properly assigned guardrail to operate at runtime. For more on the underlying architecture and cross-framework integration, see agent controls announcement. Check that the control actually works: Safety Rubric Evaluators Enforcing a control and verifying it holds are two different things. Safety Rubric Evaluators (preview), built on our open-source ASSERT work, turn a plain-language safety policy plus your agent’s own definition and traces into a structured set of Allowed and Disallowed behaviors, then score conversations on two independent metrics, whether the agent did something disallowed, and whether it refused something legitimate. Measuring those separately matters: the easiest way to drive unsafe outputs to zero is to make an agent refuse everything ambiguous, and a single blended score would hide that over-refusal. Teams can generate a rubric from a policy, review and version it in the Evaluator Catalog, and re-run it before and after a mitigation to confirm a fix reduced risk without breaking legitimate user workflows. Together, the pieces form a loop: Guardrails and agent controls enforce policy at runtime, Safety Rubric Evaluators and AI Red Teaming measure whether it holds, and Compliance confirms coverage across the fleet. (Read the Safety Rubric Evaluators deep dive →) Security and data governance belong in the same view Compliance doesn't stop at resource policies and runtime guardrails. An AI resource can meet its configuration requirements and still have security weaknesses or data-exposure risks. Security posture: Microsoft Defender for Cloud The Security posture view surfaces relevant Defender for Cloud recommendations for supported resources. For example, an administrator may discover a recommendation to disable local key-based authentication on a Foundry resource, see which AI resource is affected, and navigate to Defender for deeper investigation and remediation. Data security and governance: Microsoft Purview The Data security & governance view brings relevant Microsoft Purview information into Foundry, including supported coverage information, agent interactions, and prioritized data-security findings. As agents retrieve documents and process sensitive records, administrators can investigate relevant data-protection signals in the context of their AI estate, then use Purview for specialized management and remediation. From compliance signals to action An administrator may begin in Fleet or the Policy view to assess an organization-wide requirement, identify noncompliant assets, and navigate to Azure Policy for an assignment change or exemption. A developer may begin with an agent in the Asset view, inspect the specific violation, and update its model, tool configuration, or guardrails. Both benefit from seeing the requirement and the affected asset in the same Foundry management experience. If an agent is experiencing errors or elevated latency, Operations provides relevant telemetry. If the concern is infrastructure security, teams can investigate in Defender. If it involves sensitive enterprise information, Purview provides its specialized data-security workflows. These systems retain distinct responsibilities for policy evaluation, runtime enforcement, and evidence. What changes is that teams no longer have to begin their investigations with disconnected information scattered across multiple systems. Foundry connects the AI assets organizations build with the policies, protections, and governance insights they need to operate them responsibly. Get started Building an agent that works is only the beginning. The next challenge is building an AI fleet your organization can confidently operate and govern. With Microsoft Foundry Safety, we’re bringing the capabilities that keep agents safe into one place: Guardrails and agent controls to enforce policy at runtime, Safety Rubric Evaluators and AI Red Teaming to verify it holds, and the new Compliance experience to confirm coverage across the fleet. Together with the broader Manage experience — fleet inventory, operational monitoring, and cost — these help organizations move from defining policies to enforcing, verifying, and confirming them. Ready to explore? Start in Microsoft Foundry: Manage your AI fleet: Discover your agents, models, and other AI assets across supported scopes, and understand fleet-level activity and health. Explore Compliance: Navigate to Manage → Compliance to investigate organizational policies, noncompliant assets, security recommendations, and data-governance insights. Understand Azure Policy: Learn how to establish organizational requirements, manage policy assignments, and review compliance results. Configure runtime safety with Foundry Guardrails: Navigate to Build → Guardrails or use the supported API to define and assign safety controls that Foundry automatically applies to supported agents at runtime.279Views0likes0Comments