azure ai foundry
237 TopicsUnable to get Foundry & storage account working inside private networking
I asked my agent to summarize the issue so you can find more detailed info below. The core issue is that when deploying a standard foundry setup protected by a vnet and private endpoint, as well as a storage account with private endpoint on the same vnet, then, when creating a basic agent inside foundry and enabling toolbox and adding file_search tool, the upload files due to storage account permission error. This is despite foundry account and project having storage blob contributor permission. When you try to do the same action but add the storage account and foundry to a network security perimeter with subscription scope, then the file_search works. When you try to do the same action but enable "trust microsoft services" on the storage account settings then it works. But pure private endpoint only fails. See below for more detailed info: Microsoft Foundry File Search upload fails with Blob CreateContainer 403 in Standard private deployment Environment Sweden Central, subscription XXXX, resource group azure-foundry-init. Foundry account ai-foundry-r3-vebezr6ujx33q and project foundry-project-r3 Bring-your-own storage account stfoundryr3vebezr6ujx33q, with public network access and Shared Key access disabled Approved Blob private endpoint pe-foundry-r3-storage at xx.xx.xx.xx. The storage hostname resolves to that private IP from the test VNet. Account and project Agents capability hosts both show Succeeded. The project host references the customer-owned Storage, Cosmos DB, and Azure AI Search connections. Reproduction and impact Uploading a small text file through Tools → File search → Upload files in the Foundry portal from a VM on the private VNet fails before indexing. The API upload also fails. Azure ML Asset Store returns HTTP 403 on POST swedencentral.api.azureml.ms/assetstore/v1.0/temporaryDataReference/createOrGet, with UserError/Auth/Authorization/ResourceMsiTokenDoesntHavePermissionsOnStorage. This blocks File Search ingestion. Private model inference and conversation persistence pass. Diagnostic evidence Reproduction Azure evidence Controlled upload on November 26, 2026 at 21:51:58.9056074 UTC StorageBlobLogs recorded CreateContainer, HTTP 403, AuthorizationFailure, with OAuth and requester object ID 68473b4a-7fcf-4699-8dce-58bcfeb849e5. Caller IP was xx.xx.xx, outside the workload VNet. TrafficClassification was empty, so the record does not establish which endpoint the call used. Portal upload on November 26, 2026 at 23:51:49.4378289 UTC Asset Store returned the same MSI authorization error. Azure Storage metrics recorded one OAuth CreateContainer authorization error in the 23:52:00 UTC bucket. The request-level Blob record above is from the earlier controlled upload. The Blob requester object ID matches the project’s system-assigned managed identity. That identity has a direct, unconditional Storage Blob Data Contributor assignment at the storage-account scope. Granting the same role to the Foundry account’s managed identity and retesting produced the same error. Correlation ID Value Controlled upload – Foundry APIM request 6b4092be-3515-41c8-8da8-7ff773b7078f Controlled upload – Blob correlation ID 7d81096e-401e-007c-69f0-7d0335000000 Controlled upload – Blob client request ID 4e2ff3dd-34d1-4267-b3b7-08e86cbb20c3 Portal upload – Azure ML operation ff0976985cbc9d74c4cc070e2ede20df Portal upload – Asset Store request effd891ec11432ab Portal upload – Dataset request f12c9f6885e4bf02 Retest after account identity grant – Foundry APIM request ed8cc668-4479-4fe2-af18-e278de60b1d8 Requested resolution Please trace the Asset Store CreateContainer request to determine which Blob endpoint and network path it used, what caused Storage to deny the request, and why Asset Store reported insufficient MSI permissions despite the verified role assignment. If the Microsoft-managed Asset Store path is misconfigured, please repair or reprovision its private connectivity. If a customer-side change is required, please provide the supported private-only configuration. Success is a File Search upload that completes indexing while retaining the existing private endpoints, Foundry VNet injection, and Entra authentication, with storage public network access and Shared Key access disabled.Debugging SEO for a bilingual nonprofit site with Bing Webmaster Tools and Microsoft Clarity
How I fixed SEO for a bilingual English and Malay nonprofit website with Bing Webmaster Tools, Microsoft Clarity and Copilot, IndexNow and Azure AI Translator. Eight real test cases cover title length, alt text, structured data (JSON-LD), hreflang, robots.txt, Clarity heatmaps and dead clicks, and AI crawler access through Cloudflare, with before and after evidence for each fix.362Views1like2CommentsWhy Autonomous Networks Stall Before Level 4
Observe ✓ · Decide ✓ · Execute ✗ A router at 3 a.m. An alarm fires. Correlation analysis has already narrowed the likely cause down to a single link failure. The AI recommends a fix: raise the cost on that link and steer traffic around it. The dashboard lays all of this out in a matter of seconds. Then an on-call engineer, woken up in the middle of the night, logs into the router and types the commands by hand. Before doing so, they double-check that the recommendation is right, estimate the blast radius in their head, compare it against the runbook, and give their manager a heads-up. Only then do they press Enter. I spent years designing mobile core networks at Ericsson, and later worked with service providers at Cisco. Through every technology generation, this scene has barely changed. What has changed is that everything up to the moment of execution is now automated. That makes it much easier to see that the final step is the one thing still left to people. Where the industry stands TM Forum defines six levels of autonomous networks, from L0 (manual operations) to L5 (full autonomy). The level that many operators have set as their mid-term target is L4: a state in which, within a defined scope, the system can predict, decide, and act in a closed loop on its own [7, 8]. In a TM Forum survey of 80 operators, 81% said they are targeting Level 4 or above by 2030 [9]. Figure 1. TM Forum autonomous network levels (short names). Up to L3, you can design around a human giving final approval. From L4 onward, the design has to assume the system acts by itself. From what I see in the field, the move from L2 to L3 has gone well. Telemetry is being collected, correlation and anomaly detection are good enough for production, and generative AI can now explain root causes and propose fixes. But as initiatives push toward L4, many of them stall. Where the gap is If you split the control flow into three stages, observe, decide, and execute, it becomes clear where things stop. Observation and decision-making are already automated. What is stuck is execution [14, 12]. Figure 2. The three stages of control, and the three reasons execution stalls. There are three main reasons execution stalls [10, 11]. Authority Nobody has defined what an AI agent is allowed to do: which devices, which kinds of change, and how far. Human operators work within a system of roles and permissions. Agents usually have no equivalent, so the choice becomes all or nothing: give the agent full control, or give it none. Reversibility There is no agreed plan for what to roll back, and in what order, when a change does not work as expected. In human operations, a rollback procedure is always part of the runbook. Agent-driven execution needs the same thing, but in most cases the decision logic gets built first and the way back is left for later. Accountability No record is kept that can explain, after the fact, why the system did what it did. Operators have to explain outages to regulators and customers. An action that cannot be explained cannot go into production, however correct it turns out to be. It is not a model accuracy problem When I raise this, a common response is: "Once LLMs get smarter, this will solve itself." I don't think so. Even if decision accuracy goes from 99% to 99.9%, you still cannot hand over execution unless you have decided who stops it, how it gets undone, and how it gets explained when something goes wrong in that last 0.1%. Aircraft autopilot is a useful comparison. Pilots don't trust autopilot because it is smarter than they are. They trust it because its operating envelope is defined, because they can take back control at any moment, and because every action is recorded. What execution needs How autopilot handles it The question for network operations Authority A defined operating envelope (altitude, speed, flight phase) Which settings on which devices may the agent change? Reversibility The pilot can take back control at any time When a change doesn't work, who rolls it back, and based on what? Accountability The flight recorder captures everything Are the rationale and the result kept in a form that can be audited later? In other words, the wall in front of L4 is not about model performance. It is a problem of architecture and governance, and it is one we can design for with the technology we already have [1, 15]. Closing the gap What I propose is to design the execution layer itself as a governed closed loop. Instead of acting on a decision as soon as it is made, the execution layer runs its own small loop: check authority, act, verify the result, and roll back if needed. Every step is recorded. Figure 3. Concept of a governance loop inside the execution layer. Authority, reversibility, and accountability are built into the design as "authorize," "roll back," and "audit trail." The key is to treat governance not as a brake applied from outside, but as a loop that is part of the execution layer itself. Within its authority, the agent acts on its own. Outside it, the agent hands off to a person. People supervise from outside the loop and step in only when needed. This is what is often called human-on-the-loop [1, 3, 13]. The building blocks for this are already coming together on the Microsoft cloud. Microsoft Foundry can be used to build and run agents, Microsoft Entra Agent ID to give each agent its own identity and permissions, and Agent 365 to manage agents across the organization [4, 5]. In the coming parts, I will show concretely how these pieces fit together into an execution layer. I describe this approach as a "3+2" architecture: the horizontal observe, decide, and execute loop, plus two more loops, one for learning and one for governance. I have also built a lab on Azure that emulates a service provider network, where I run agents against real fault scenarios to test these ideas. What this series covers Over five parts, this series walks through the design needed to take autonomous networks all the way to execution. #1 Observe ✓, Decide ✓, Execute ✗ — Why autonomous networks stall before L4 (this article) #2 A Closed Loop Is Not Enough — The 3+2 architecture, with learning and governance loops #3 Governing Autonomous Agents — Identity as the subject, ontology as the predicate #4 Lab Notes — Multi-fault triage, and knowing when to call a human #5 Beyond Assurance — Autonomous lifecycle management for network functions Where does your organization get stuck: observe, decide, or execute? And is the reason closer to authority, reversibility, or accountability? I would love to hear from you in the comments. Sources for this article This section maps the claims in this article to Microsoft Learn documentation, TM Forum publications, and other standards and research. “Aligned” means the source says essentially the same thing. “Related” means it addresses the same concern in different terms or a different framework. “Author's extension” means I built on the source, but the framing or naming is my own. How the claims map to sources Claim in this article Sources How they relate TM Forum defines six levels, L0 to L5, and many operators are targeting L4 [7] [8] [9] [Aligned] Follows TM Forum's level definitions. In a survey of 80 operators, 81% are targeting Level 4 or above by 2030. Observation and decision are automated, but execution is stuck [14] [12] [Related] Parasuraman et al. split automation into four functions that can each be automated to a different degree. 3GPP TS 28.100 also defines levels by how each task is split between humans and the system. In those terms, "Observe ✓, Decide ✓, Execute ✗" describes a system where only action implementation lags behind. The wall in front of L4 is about execution [9] [Related] TM Forum calls Level 4 "an industry execution challenge." There, "execution" means the industry's ability to deliver, which is broader than the execution layer in this article, but it points at the same place. The execution layer lacks authority, reversibility, and accountability [10] [11] [2] [Author's extension] The TM Forum Inform article calls for controls on what an agent may know, decide, and do, and for logging decision rationale and a rollback path. The Catalyst's IPOE model shares the same concern. Grouping these into three words is my own framing. This is a problem of architecture and governance, not model accuracy [1] [15] [Related] The WAF says oversight and control matter more as autonomy grows, and calls for escape hatches and circuit breakers. Bainbridge showed that more automation makes human intervention harder, not easier. Make the execution layer a governed closed loop (authorize, verify, roll back, audit) [1] [3] [13] [10] [Aligned] Maps to the WAF's human-in-the-loop checkpoints and step-by-step logs, Agent Framework's approval-required tools, ETSI ZSM's human approval or rejection of actions, and TM Forum's call to log rationale and rollback paths. Foundry, Entra Agent ID, and Agent 365 are the building blocks [4] [5] [2] [6] [Aligned] Product roles follow the official documentation. For telecom specifically, Microsoft's Network Operations Agent (NOA) is introduced on this same blog. References Microsoft Learn and Microsoft Responsible AI in Azure workloads Microsoft Learn — Azure Well-Architected Framework · learn.microsoft.com “Build escape hatches into your agentic design.” “Human-in-the-loop checkpoints where agents pause execution for validation before proceeding with high-risk or high-impact actions.” “For automated workflows that include multiple agents, create log files that record each step.” “implement auditability of agent activities, role-based access control, and circuit breaker functionality to prevent catastrophic outcomes.” Govern and secure AI agents Microsoft Learn — Cloud Adoption Framework · learn.microsoft.com “Agent actions must be attributable and enforceable to a unique identity.” “Enforce least privilege.” Microsoft Agent Framework Workflows — Human-in-the-loop (HITL) Microsoft Learn — Microsoft Agent Framework · learn.microsoft.com “Agents can use tools that require human approval before execution.” What is Microsoft Entra Agent ID? Microsoft Learn — Microsoft Entra · learn.microsoft.com “they need purpose-built identity constructs to authenticate, authorize, govern, and protect these nonhuman identities.” “All agent authentication and activity is logged for compliance and audit.” Overview of Microsoft Agent 365 Microsoft Learn — Microsoft Agent 365 · learn.microsoft.com “Admins can now view all their agents in a single, centralized registry providing a unified view of agent adoption, activity, and agent health.” Introducing Microsoft's Network Operations Agent – A Telco framework for Autonomous Networks Microsoft Tech Community — Telecommunications Industry Blog, 2025 · techcommunity.microsoft.com “At its core, NOA is a multi-agent system tailored for telecom operations.” TM Forum Autonomous Networks: Empowering digital transformation – evolving from Level 2/3 towards Level 4 (IG1326) TM Forum whitepaper, September 2023 · tmforum.org Fifth edition of the AN whitepaper series; defines the business-level traits of Level 3 and Level 4 behavior. Autonomous Network Levels Evaluation Methodology (IG1252) v1.2.0 TM Forum · tmforum.org How operators assess L0–L5. The level names in Figure 1 (Manual / Assisted O&M; Partial, Conditional, High, Full Autonomous Networks) follow this series. Autonomous Networks Leadership Forum spotlights Level 4 shift TM Forum Newsroom, 2026 (DTW Ignite 2026) · tmforum.org “81% are targeting Level 4 or above by 2030.” “an industry execution challenge” Survey of 80 operators. The second quote is TM Forum's George Glass describing Level 4. Telecoms operators need a governance-first approach to AgenticOps TM Forum Inform, Sukrit Kalia (Omantel), 27 August 2026 · inform.tmforum.org “the mechanism that decides at each step what an agent is permitted to know, decide and do” “every autonomous action logged with decision rationale, tool calls, and rollback path for regulator and post incident review” Zero-trust agents for Autonomous Networks (Catalyst C26.0.933) TM Forum Catalyst — Orange, Telefónica, Telstra, Vodafone · tmforum.org “how to trust autonomous systems in live operations” “AI Governance via an IPOE model — Identity, Policy, Observability and Evidence” Standards bodies and research 3GPP TS 28.100: Management and orchestration; Levels of autonomous network 3GPP · 3gpp.org Defines levels by whether each task is performed by humans, the system, or both. Scenarios include deployment (RAN NE deployment) and maintenance (fault management). ETSI GS ZSM 009-1 V1.1.1: Closed-Loop Automation; Part 1: Enablers ETSI, June 2021 · etsi.org “it is important that any autonomous system still allows interactions with human operators” A model for types and levels of human interaction with automation R. Parasuraman, T. B. Sheridan, C. D. Wickens, IEEE Trans. SMC-A 30(3), 2000 · doi.org Splits automation into four functions (information acquisition, information analysis, decision selection, action implementation), each of which can be automated to a different level, from suggesting options to executing after human approval to acting on its own. Ironies of automation L. Bainbridge, Automatica 19(6), 1983 · doi.org The more we automate, the harder the remaining human interventions become, and the harder it is for people to keep the skills they need. TM Forum IG documents are available to members. Links point to their summary pages, and quotes are limited to what those pages show. Quotes are verbatim and were checked on November 3, 2026. Hiroyuki Hikino / Solution Engineer, Microsoft Japan Hiroyuki designed 3G, 4G, and 5G mobile core networks at Ericsson and worked with service providers at Cisco before joining Microsoft Japan. He focuses on telecom and agentic AI, and runs a hands-on autonomous networks lab on Azure.Coding, Decisions, and Image Editing: Which AI Models Should Your Business Use?
Choosing an AI model is not just a leaderboard exercise. Building software, deciding whether an action is permitted, and editing a product image are different jobs with different acceptance criteria. Code must work and survive review. Decisions must be fast without interrupting legitimate work. Images must preserve product details and brand identity—not merely look convincing. A practical enterprise solution assigns each job to a suitable model rather than asking one expensive general-purpose model to do everything. This article explains MAI-Code-2, MAI-Code-2-Flash, Microsoft-Decision-1.1, and MAI-Image-2.7, using three public evaluation pages to connect model capabilities with business use cases, mainstream alternatives, and deployment decisions. 1. Four-model overview: purpose, best-fit scenarios, and access This is a copyable Markdown comparison table. The accompanying SVG is exported from the same table without Mermaid and contains the English text used here. Two distinctions matter. Flash is a separate model, not simply a speed switch for Code-2. The coding and image sections cover MAI models; the decision section covers Microsoft-Decision-1.1. This article compares four models by purpose rather than referring to all four as MAI models. Historical screenshots retain the original site's labels. 1, 2, 3 2. Start with the solution, not the model Consider a retailer building an internal product-content and operations workspace. The four models could divide the work as follows. This is a proposed architecture, not an integration already implemented by the three evaluation pages. Workflow Suggested role Business rationale Build approval workflows, extend the backend, create operational dashboards MAI-Code-2 Requires repository understanding, multi-file changes, business logic, and tests Explain existing code, adjust a field, fix a narrowly defined issue MAI-Code-2-Flash Frequent, bounded tasks benefit from a lower-cost coding option Route a request or decide whether a proposed tool action needs approval Microsoft-Decision-1.1 plus deterministic policy Separates factual judgment from authority to execute Replace product backgrounds or create packaging and campaign variations MAI-Image-2.7 plus human review Preserving the original product matters more than generating a similar one The operating pattern is request → decision and routing → specialist model → tests or human acceptance → authorized execution and publication. Sensitive tool calls need another policy check immediately before execution; checking only the initial request is insufficient. A decision model does not replace access control. Authentication, permissions, spending limits, and approval state remain enforced by software. The model supplies semantic judgments that fixed fields and simple rules cannot fully express. 3. Code-2 and Flash: evaluate completed work, not plausible code Where each model fits MAI-Code-2 targets complex everyday enterprise engineering: deep debugging, multi-file implementation, repository-wide reasoning, and frontend development. Flash targets explanations, localized edits, routine fixes, and rapid iteration. Microsoft explicitly notes that these models are not yet optimized for fundamental scientific research or very long-horizon autonomous work.1 Provide repository context, reproduction steps, permitted scope, required tests, and behavior that must not change. Assess the resulting diff and test evidence—not just the fluency of the explanation. What the official comparisons say Published comparison Reported result Interpretation Code-2 vs GPT-6.1 Sol 98% of average coding performance at approximately 40% of the cost A workload-specific average, not a guaranteed 60% saving on every project Code-2 vs Claude Opus 5.5 96% of average performance at approximately 5% of the cost Not evidence that total enterprise ownership costs fall by 95% Flash vs GPT-6 Luna / Claude Haiku 5.5 Comparable performance at approximately 65% / 20% of the cost Relevant to frequent coding tasks, not universal quality equivalence Microsoft published these comparisons on November 17, 2026. Models ran at max reasoning effort. Code-2's four benchmarks were DeepSWE 1.1, TerminalBench 2.1, SWE Atlas, and FrontierCode 1.1; Flash used the first three. MAI costs use 50% promotional pricing. Those conditions belong alongside the headline numbers.1 What the independent coding site shows Open the coding benchmark. Its saved Terminal-Bench 2.0 experiment planned 59 of the official 89 tasks across 14 categories. The original environment used Windows + ARM64 and Linux ARM64 Docker, low reasoning effort, and one attempt per task. Some tasks required environment repairs or adaptations. This is not an official full-leaderboard submission. Model Passed / validly graded Provisional pass rate Execution errors Mean agent time Known usage-value subtotal MAI-Code-2 45 / 58 77.59% 1 235.1 s $1.363 MAI-Code-2-Flash 39 / 55 70.91% 4 173.6 s $0.147 GPT-6.2-Sol 44 / 55 80.00% 4 113.9 s $5.125 Gemini-4-Hydrogen 44 / 55 80.00% 4 152.5 s $4.125 Source: saved run 0ff12f517c1349afb3a7c9f79b35f59d, executed November 21–22, 2026. Every model had 59 planned tasks. Pass rates divide passes by validly graded tasks. Dollar figures are partial known usage-value subtotals, not complete costs or additional invoices. The results reveal trade-offs. Code-2 passed more of its validly graded tasks, while Flash had a much lower known usage value. But Code-2 also had the longest mean agent time in this run: the evidence does not support “MAI is always faster.” The 80% and 77.59% figures do not establish a winner. Graded coverage differs, errors remain, environments were adapted, and costs are incomplete. Mean agent time covers agent execution for graded tasks and excludes verification; it is not a single model API response time. A procurement-grade comparison needs the same task set, controlled environments, and complete cost records. 4. Decision-1.1: a judgment layer inside software What makes it different Microsoft-Decision-1.1 specializes in classification, routing, prioritization, verification, and workflow control. Its primary output is a structured decision with confidence, rather than a long answer. Version 1.1 also accepts images, including photos and screenshots; the experiment discussed here tests textual tool actions, not that multimodal capability.2 For example, “clean up files” might mean removing regenerable cache files or deleting original customer records. The model judges factual predicates about the proposed action. Application code combines those judgments with permissions and approval state into ALLOW, ASK, or BLOCK. Define independent rules and positive and negative boundaries, call the Decision API, and apply thresholds in code. Missing context, uncertainty, or API failure should trigger escalation or conservative handling—not automatic permission. Microsoft reports a score of 68 on Artificial Analysis Decision Index v2.1, ahead of Jev 1.14, Gemini Decision 1, and GPT-6 Luna (Decisions). The index combines quality, calibration, and latency; 68 does not mean 68% accuracy.2 The experiment: better boundaries can matter as much as model choice Open the decision experiment. Ten governance scenarios each contain one hazardous and one safe synthetic action: 20 actions total. Every request evaluates ten rules. Three models and two prompting conditions produce 120 requests and 1,200 rule judgments, at a fixed 0.5 threshold. Proposed tool actions are classified, never executed. Model: definitions + boundary examples Rule recall Rule false-positive rate Unnecessary interruption rate P50 / P95 Estimated cost per 1,000 requests Microsoft-Decision-1.1 100.0% 0.0% 0.0% 446 / 843 ms $0.05254 Decision-1.0 (site label) 100.0% 0.0% 0.0% 538 / 619 ms $0.04812 GPT-6 Luna Decisions 91.7% 0.0% 0.0% 2,878 / 6,251 ms Unknown: one API error Understanding the price Official Foundry input prices are $0.042 per million tokens for Global Standard, $0.046 for US Data Zone, and $0.05 for EU/APAC Data Zone. Output tokens are free.2 At 1,000 input tokens per request, Global Standard model-only cost is approximately $0.042 per 1,000 requests. Longer rules and context increase input cost; the experiment's $0.05254 is not a fixed per-request tariff. Gateways, storage, monitoring, and other services are additional costs. 5. Image-2.7: measure commercial acceptability, not just appearance Controlled editing is the core proposition Microsoft emphasizes fine-grained edits: change an object's color, material, or position while preserving the rest of the image. Image-2.7 supports successive edits and transparent backgrounds. That is relevant to product photography, brand variations, and portrait work where preserving identity and details is essential.3 As of November 16, 2026, Microsoft's release notes report first place on AA-Image-Editing v2.1: 1,215 Elo across 5,478 votes, four Elo ahead of GPT Image 2.6 Sunburst (max). The announcement describes approximately one-fifth of the competitor's cost and a reference price of roughly $35 per 1,000 images for Image-2.7.3 This is a useful market signal, not evidence of overwhelming superiority. A four-Elo lead should not be called statistically significant without confidence intervals. An editing rank also does not mean first place on every generation task or guarantee commercial acceptance of every output. The evaluation page: inspect what stayed unchanged Open the image-editing benchmark. It contains ten commercial editing briefs, GPT-Image-2-generated synthetic reference images, and fixed English instructions. Seven models have 70 saved results spanning portraits, product backgrounds, packaging labels, web banners, application screens, and logo cleanup. The packaging brief illustrates acceptance clearly: change only the blue accent band to green. Product name, package shape, typography, barcode, shadows, and background should remain intact. An attractive overall result does not establish those details are correct; small print and barcodes need full-resolution inspection, OCR, or scanning. Review dimension Commercial acceptance question BRF: Baseline Requirement Fulfillment Were all requested edits completed without changing protected text or features? VEQ: Visual Execution Quality Are artifacts, lighting, materials, composition, and text legibility acceptable? CNS: Commercial Necessity Satisfaction Were unedited regions, identity, and product attributes preserved with natural edit boundaries? The published outputs do not include completed human BRF, VEQ, CNS scores or acceptance judgments. This article therefore does not invent average quality scores or turn the gallery into a ranking. The experiment draws on ServImage; it is not a full reproduction of that paper's original benchmark.4 What the timing and cost records show The following averages use 70 saved outputs from November 18, 2026: ten per model. Costs are the site's reference estimates. Timing is end-to-end at the application's API boundary. Site model label Mean time per image Mean estimated cost per image MAI-Image-2.7 35.18 s $0.0350 MAI-Image-2.7-Flash 27.76 s $0.0100 FLUX.2-pro 17.42 s $0.0465 FLUX.2-flex 23.49 s $0.1049 gpt-image-2 41.91 s $0.0397 gpt-image-2.5-sunburst 34.02 s $0.0314 gpt-image-2.5-flare 30.83 s $0.0334 6. Run a pilot with acceptance criteria before expanding Start with bounded work rather than immediately granting an agent authority over production. Pilot Approach Measures Engineering Compare Code-2, Flash, and your current model on the same real issues and features Test outcomes, reviewer acceptance, rework, completion time, complete cost Decisions and controls Use a held-out set of safe, hazardous, and underspecified actions; standardize transport and warm-up Misses, false interruptions, escalation, API errors, P50/P95 Commercial images Fix references, instructions, and output specifications; conduct blind review BRF/VEQ/CNS, acceptance rate, rework, cost per accepted output The takeaway The strongest proposition is a division of labor: Code-2 for complex engineering, Flash for frequent bounded changes, Decision for structured judgment and routing, and Image for controlled visual production. Official benchmarks help identify candidates. Independent experiments expose trade-offs. Your own acceptance set determines whether to deploy. The winning solution is the one that consistently delivers acceptable outcomes at an acceptable cost and risk—not simply the model with the most impressive headline. Sources and evaluation pages Microsoft: MAI Code 2 and Code 2 Flash — capabilities, access, evaluation settings, and promotional pricing. Microsoft: Microsoft-Decision-1.1 general availability — official naming, Decision Index, image inputs, access, and regional prices. Microsoft: MAI Image 2.7 — editing, public preview, Elo results, and reference prices. ServImage paper and decision-governance paper — methodologies referenced by the sites, not sources of this experiment's scores. GitHub Copilot models and pricing — usage, caching, and AI-credit accounting. Coding benchmark · Decision experiment · Image-editing benchmark.357Views0likes0CommentsMicrosoft-Decision-1 scores changed on the same deployment / version 1 – anyone else?
We use Microsoft-Decision-1 in Foundry (DataZoneStandard, model version 1, Sweden Central) as a yes/no gate with `noul` questions and a fixed probability threshold. Between Oct 23 (~15:00 UTC) and Oct 24 (~22:00 UTC) the scores changed for our calibration requests: Same deployment, same API key, no changes in the activity log. We had this running for pretty much since the announcement and probabilities for the same requests where near identical. Now: Repeated calls of the same query can vary a lot (0.915 vs 0.932 seconds apart). Re-scoring 10,000 stored requests: Results are all over the place. Most low scores barely move, but clear positives dropped (0.99 -> 0.78) and some negatives rose (0.00 -> 0.90). Pinning the deployment (versionUpgradeOption = NoAutoUpgrade) changed nothing. The model now seems to read the instructions much more literally: removing one qualifying word from our context note moved a clear positive from 0.92 to 0.996. Did anyone else see Decision-1 probabilities shift around Oct 23/24? Has Microsoft said whether updates (e.g. the announced rebase onto MAI/OpenAI base models) can happen behind "version 1"?192Views0likes2CommentsFrom Writing Scripts to Running a Newsroom: A 24-Hour News Station with Microsoft Copilot Harness
Picture an evening commute. You open a page on your phone and hear two anchors delivering a coherent news bulletin. Headlines and timestamps move across the bottom of the screen. Tap a headline and the audio jumps to that story. Tap its source and the original report opens separately. Switch to English and you hear the same underlying facts—not an unrelated second news selection. That is the idea behind Meridian 24: a half-hourly China and world news podcast, with Chinese and English audio and a single HTML, JavaScript and CSS3 page. At first, it sounds like a simple recipe: search for news, ask a model to write a script, and turn the script into speech. Once we started building, the real challenge became clear. Getting AI to speak was relatively easy. Keeping a small newsroom working responsibly was not. 1. Why Introduce Microsoft Copilot Harness? The first script needed a better process, not prettier sentences Give a model a pile of headlines and it can produce a pile of summaries. The stories may not connect. Some search results contain too little detail, inviting the model to fill space with commentary. One agency may dominate simply because its reporting is easier to retrieve. Another instruction to “sound more professional” does not solve that problem. We needed an editorial method: collect public reporting, consolidate related events, identify missing details, research those gaps, prepare evidence-backed facts, and only then write a coherent two-anchor programme. A model can be a capable editor. A newsroom still needs a workbench, a filing system, task assignments and handovers. Microsoft Copilot Harness supplies a managed execution foundation for that work. Microsoft Foundry operates the agent loop and sandbox, coordinates model and tool steps, and supports native subagents, file operations and reusable skills, among other capabilities.[1][2] Developers can spend less time constructing the newsroom's office equipment and more time teaching it how to do useful work. A 22:30 production job should not lose its progress A bulletin involves retrieval, editorial requests, speech synthesis and audio encoding. If the service stops after ten speech segments have already been synthesized, starting everything again wastes time and money. Two capabilities matter here, and they should not be confused. Microsoft Copilot Harness operates the managed editorial runtime. Long-running resilience for Hosted Agents provides a foundation for restarting interrupted work. The application still decides what progress to save, how to resume and how to prevent duplicate publication.[1] We therefore did not put the entire station into one prompt. Nor did we interpret “managed” as “nothing left to engineer.” 2. How Do We Build the Application with Microsoft Copilot Harness? A managed editor, with a separate audio production room The existing Hosted service already knew how to call WebIQ, invoke speech synthesis, run FFmpeg and write to Blob. Instead of replacing it, we kept those deterministic responsibilities there and created a separate Prompt Agent using Microsoft Copilot Harness for research and editing. Figure 1: The purple boundary contains managed editorial execution. WebIQ and audio production run in external Hosted services. Important results are stored in Blob, not entrusted to a permanently available sandbox. Microsoft Copilot Harness owns the editorial execution: researching, organizing, delegating and drafting. Hosted code owns external API execution, validation, synthesis and publication. That boundary is also a practical preview requirement. You cannot switch an existing agent to a different harness during the initial public preview. We created a new editor and retained the original Hosted Agent's type and responsibilities.[2] Here is an abbreviated excerpt from the project's definition, omitting the full instructions and custom news tools: kind: prompt name: newsradio24-editor model: gpt-6.1-sol harness: type: microsoft_copilot_preview tools: - type: microsoft_copilot_toolset_preview defaultConfig: enabled: false configs: - name: filesystem_read enabled: true - name: filesystem_write enabled: true - name: shell enabled: true - name: subagents enabled: true gpt-6.1-sol is the model deployment name used in this project, not a promise that it is available in every project. Use a supported model already deployed in your own project region. See the full newsroom.yaml, and check official documentation for current preview fields and supported tools. Subagents are backstage editors, not extra presenters The audience still hears just two anchors. Behind the scenes, the work has three logical roles: Subtask role Input Output China research China reporting and evidence IDs Consolidated events, facts and research gaps World research International reporting and agency coverage Topic order, citations and expansion needs Fact verification Expanded evidence, briefs or scripts Citation checks, conflicts and bilingual consistency issues The parent editor delegates bounded tasks and merges their results. This project allows at most three subtasks per editorial request. These are not three separately deployed, permanently running services, nor an identical fixed trio instantiated in every phase. The sandbox acts as an editor's workbench: shell and file tools help organize JSON and inspect evidence IDs and topic order. Each conversation has a separate workspace, but that workspace is not a durable archive. Important outputs belong in durable storage.[2] The station currently describes its method through version-controlled instructions and request-level procedures. It has not published those procedures as separate Foundry Skills. Reusable skills are a supported extension opportunity, not something we should claim this implementation already uses. Let tools bring evidence, not credentials The editor requests discovery and expansion through collect_news and expand_news. Both accept an empty object. The server binds the news window and context, and the WebIQ key remains in the Hosted service. When an external function call arrives, Hosted code executes the search and returns a function_call_output with the matching call_id in the same conversation. The editor can continue without receiving credentials. This excerpt shows only the editorial request entry point—not the full tool-execution loop. payload carries the phase's procedure, evidence and output contract: import json import os from azure.ai.projects.aio import AIProjectClient from azure.identity.aio import DefaultAzureCredential async def request_editor(payload): async with ( DefaultAzureCredential() as credential, AIProjectClient( endpoint=os.environ["FOUNDRY_PROJECT_ENDPOINT"], credential=credential, allow_preview=True, ) as project, project.get_openai_client( agent_name="newsradio24-editor", timeout=900, max_retries=2, ) as client, ): conversation = await client.conversations.create() return await client.responses.create( conversation=conversation.id, input=json.dumps(payload, ensure_ascii=False), ) The project uses azure-ai-projects 2.9.0. Read your own project endpoint from a server-side environment. Never put keys, real resource-group names or complete environment files into an article, browser code or sandbox. The complete adapter is in harness.py. 3. Where does it offer an advantage over a typical self-built agent harness? As a technical evangelist, I prefer describing the responsibility it removes rather than implying that nobody else can implement these capabilities. Open-source frameworks and custom systems can also support tools, delegation, state management and sandboxes. The distinction is that Microsoft Copilot Harness delegates part of that execution infrastructure to Foundry and connects it with the platform's agent definitions, identity and tool configuration. Question Typical self-built approach Microsoft Copilot Harness Who maintains the internal model/tool loop? Your team builds it or operates a framework runtime Foundry operates that runtime How are files, commands and subtasks integrated? Your team assembles execution and delegation mechanisms Use supported native capabilities How are agent definitions delivered? Establish your own configuration and release conventions Version declarative definitions alongside application code How is tool access governed? Depends on your framework and integrations Connect with Foundry roles, agent identity and connections How much runtime control is available? Greater control, with greater maintenance responsibility Less runtime operation, within supported capabilities and preview limits For a news station, that trade-off leaves more engineering time for evidence quality, editorial coherence and listening experience. It does not make reporting automatically true, remove permission configuration or support arbitrary models and tools. If you need to control the framework, dependencies, process model or specialized middleware, a Hosted Agent remains a sensible choice.[1][2] Costs do not disappear either. Inference, speech, retrieval, storage, traffic and runtime usage require a budget. Consult current regional service pricing and your agreement. The advantage is not “all engineering done for you.” It is a clearer opportunity to spend engineering effort on what makes your application different. 4. What Techniques Matter Most When Building a 24-Hour News Station? Turn reporting into facts before turning facts into sound Our production flow does not send raw search results directly to speech synthesis. It produces explicit intermediate deliverables: Figure 2: Each blue node has an inspectable data shape. Research gaps trigger an expansion loop. Editorial execution and audio production have separate validation gates. WebIQ searches public reporting from Xinhua, AP, AFP and Bloomberg. We check sources and dates. Homepages, advisories and headline-only results are discovery leads, not sufficient factual evidence. Related reports become topics. Missing details become targeted searches. If expansion still does not find enough evidence, shorten or omit the story rather than fill the silence with opinions. A section without sufficient facts should prevent publication. “Trending” also needs an honest definition: this implementation selects using relevance, recency and cross-source coverage. It does not possess a measured audience-popularity leaderboard. Agency balance must come from evidence, not relabeling Early programmes leaned toward Xinhua because more usable reporting was available. The answer was not to label those stories “AP.” We reserved candidate space for underrepresented agencies and added bounded expansion searches. Final selection keeps at most two China topics and four world topics. When at least two reliable non-Xinhua topics are selected, Xinhua is capped at half the programme. Sparse evidence may still produce an uneven mix. The page reports actual sources rather than inventing four-agency coverage. Neutrality is not achieved by asking the male and female anchors to exchange opposing opinions. They complement each other with cited facts and background, finish one story before moving on, and use transitions without manufacturing debate. Two languages should share one factual foundation If Chinese and English select stories independently, they can become different programmes. We prepare an ordered factual brief, draft the Chinese body, and adapt the English version from the same brief and Chinese content. Deterministic code adds introductions, AI-voice disclosure, greetings and polite sign-offs rather than hoping the model remembers every time. The Chinese anchors use MAI Voice 2.1's Wei and Mei; English uses Grant and Harper. The station has no sports section or third anchor.[3] “The voice is too slow” turned out to be a timing problem too Wei's Chinese delivery needed more pace. Instead of accelerating the entire programme in the browser, we applied pitch-preserving 1.25x tempo to Wei's synthesized tracks on the server. Mei and both English anchors remain at 1.0x. That decision requires measuring the processed tracks again before calculating story starts, assembling audio and encoding it. Otherwise, a “jump to story two” button may land in the wrong sentence. WAVs are working files. The final MP4 contains real AAC audio; it is not an MP3 with a different extension. The complete bulletin and every section must remain within 1,200 seconds, measured from actual audio. Oversized output is rejected, not cut in the middle of a sentence. Inspect the handover sheet, not the AI's claim of completion The station stores records for collection, topic organization, expansion, final briefs, Chinese scripts and English scripts. All four editorial phases must actually execute native subtasks and shell operations. A response saying “I checked it” is not sufficient. Here is an abbreviated illustration of two gates. Production checks runtime records per phase and duration after audio production: observed = harness.native_tools(response_outputs) if not {"task", "shell"} <= observed: raise RuntimeError("Missing native editorial execution") audio.check_duration(chapters, total_seconds) Native subtasks and shell operations run through the platform. They must not be mistaken for unresolved external functions that Hosted code still needs to execute. The implementation uses actual response events and call_id pairing, not the model's self-assessment. In one completed end-to-end run, Chinese audio measured 268.1 seconds and English 271.0 seconds. Verification covered all six phase records and story starts derived from actual WAVs. Those are results for one particular edition—not guarantees of future latency, quality or availability. Passing these gates establishes structural, citation and execution conditions. It is not proof of truth or semantic neutrality. Human editorial review still matters. Put recovery into the data and publication into a handover Completed evidence, scripts, WAVs and status live in private Blob storage. A resumed task reads checkpoints and reuses synthesized tracks rather than repeating every completed action. Only after Chinese and English are complete does a publication lease protect the catalogue update. One write reveals both outputs. Scheduled editions and manual extras have separate catalogues, so a manual success cannot be passed off as proof of a successful scheduled run. We also encountered a very practical deployment hurdle: the Hosted service's instance identity lacked project permission to create managed editorial conversations. Assigning Foundry User at the project scope to the correct calling identity, then allowing propagation, resolved it. Your user account having permission does not imply that the running agent has it.[2] Midnight is a real handover, not another replay “Keep one day” requires a shared definition of the day. We use the current Asia/Shanghai calendar date—not a rolling 24 hours, and not each visitor's local day for deleting shared Blob content. A separate task runs at Beijing midnight to prune expired catalogues, public/private audio, evidence, scripts, WAVs and runtime records, including snapshots and stored versions. Each production also sweeps to catch missed cleanup. Dated writes and cleanup share the publication lease, so an old job cannot recreate yesterday's files after deletion. The browser stops expired audio at rollover even if catalogue refresh fails. If today's first programme is not ready, it waits. Repeating the latest completed programme is allowed only within the current station day. Cleanup does not silently disable account-wide Azure soft-delete protection. If enabled, recoverable copies remain subject to that policy. Previously downloaded files cannot be recalled. The final details live on a phone screen The frontend needs no elaborate framework: a lightweight single page can offer a persistent player, headline ticker, source links, language switching and current-day listening on demand. A headline seeks the audio; a source link opens the report. Keeping those actions separate avoids an ambiguous click. Display all times in the listener's browser timezone while retaining Beijing time for paths and cleanup. Refresh catalogues every 45 seconds. Expect browser autoplay restrictions to require an initial tap. A desktop demonstration is not enough: exercise mobile playback, scrolling, seeking and timezone conversion. Closing Thought: A Useful Agent Is More than a Beautiful Answer The takeaway is not simply that AI can generate a podcast. It is that we gave the station understandable responsibilities, durable data and inspectable handovers. Microsoft Copilot Harness gives the managed editor tools, a workbench and delegation. Application code protects evidence, permissions, duration, publication and lifecycle boundaries. That is the agent story I want to tell as a technical evangelist: bring intelligence into a real workflow, rather than hide the workflow inside a prompt. Explore the current programme and interactive data-node diagram on the Meridian 24 page. The page retains only the current station day's content; it is not a permanent episode archive. Source Code Repo - https://github.com/kinfey/MSCopilotHarness.NewsPodcast References Microsoft announcement: Microsoft Copilot Harness and Hosted Agent long-running resilience Microsoft Learn: Microsoft Copilot Harness, including identity, workspaces and preview limitations Microsoft Learn: MAI Voice 2.1 and MAI Voice 2.1 Flash Project implementation and documentation Source Code Repo377Views0likes0CommentsIs Microsoft Foundry the Future of Enterprise AI?
After reviewing several recent Microsoft Foundry presentations, one theme stood out: The future of AI isn't about having the best model. It's about connecting models to business context, systems, governance, and observability. The slides consistently highlight the challenges organizations face: Choosing and managing models Connecting AI to enterprise knowledge Integrating with business systems Governing agents at scale Microsoft's answer appears to be Foundry, an AI app and agent factory that brings together models, knowledge, tools, orchestration, security, and lifecycle management into a single platform. What I found most interesting is the emphasis on Foundry IQ and business context. The message seems to be that AI becomes truly valuable when it understands not just language, but how your organization operates. As AI evolves from chatbots → copilots → agents, governance and context may become more important than raw model intelligence.370Views0likes2CommentsMaking Azure AI Foundry Agents Explainable — Knowledge Graphs + Source Attribution
90% of Azure AI demos work on stage — most never ship. The gap is architecture, not the model. I wrote up a field guide on taking Azure AI Foundry agents from POC to production, with knowledge graphs (GraphRAG) doing the grounding and source attribution. What the post covers Grounding with a knowledge graph — multi-hop retrieval + inline citations so every answer is traceable to a source (critical for regulated/medical use cases). Externalized state — keeping agent memory and session state outside the model. Identity at the boundary — Entra ID / RBAC instead of trusting the prompt. Observability & compliance — tracing, evaluation, and auditability. The stack — Azure AI Foundry + Model Context Protocol (MCP) + Azure Functions (Flex Consumption) + Azure OpenAI, from a real build (VeritasGraph medical MCP server). 📖 Full write-up: https://bibinprathap.com/blog/azure-ai-proof-of-concept-to-production ▶️ 6-min walkthrough: https://youtu.be/z-CPS5WUvyw?si=fmpo1RN28Bh9KbIb Questions for the community How are you grounding Foundry agents today — vector RAG, GraphRAG, or hybrid? Anyone combining knowledge graphs with MCP tools in Foundry? What worked / broke? For regulated domains, how are you handling source attribution and audit trails? Curious to compare notes — happy to share more detail on the GraphRAG retrieval design if useful.463Views0likes0CommentsAzure AI Foundry Agent Unable to Use Credentials Stored in Key Vault Through Playwright MCP Tool
Hello everyone, I am trying to understand how Azure AI Foundry agents interact with Azure Key Vault when using custom MCP tools, and I would appreciate any guidance from the community. My Setup - Created an Azure AI Foundry agent. - Created an Azure Key Vault and configured all permissions according to Microsoft's official documentation. - Stored the required website credentials (username and password) in the Key Vault. - Deployed the official Playwright MCP Docker image. - Exposed the MCP server using ngrok and verified that the endpoint is accessible. - Connected the MCP endpoint as a Custom MCP Tool in Azure AI Foundry. - Performed all configuration through the Azure portal, Foundry UI, and Playground only (no SDK or custom application code involved). The Issue The agent can access and use the Playwright MCP tool. However, when I ask it to log in to a website using credentials that are already stored in Key Vault, it does not populate the username and password fields. My expectation was that the agent would be able to retrieve the secrets from Key Vault and provide them to the Playwright tool during execution. Questions Is there currently a supported mechanism for Azure AI Foundry agents to automatically retrieve Key Vault secrets and pass them to a Custom MCP tool? Does the Playwright MCP Docker image have any built-in integration with Azure Key Vault? When using only the Foundry UI (without SDK code), can a Foundry agent securely inject Key Vault secrets into MCP tool calls? Are additional configurations required beyond Key Vault permissions and agent connections? Has anyone successfully implemented a similar setup where a Foundry agent uses credentials stored in Key Vault to perform browser automation through Playwright MCP? Any clarification on the expected architecture and whether this scenario is currently supported in Azure AI Foundry would be greatly appreciated. Thank you.879Views0likes3Comments