BRK253 · Breakout

Operate AI at enterprise scale with Microsoft Foundry

  • Thursday 19 November
  • 46 min
  • Catalogue level: (300) Advanced
  • Our depth rating: 300
  • Worth watching: 2/3

Speakers: Mayunk Jain, Rong Lu, Mehrnoosh Sameki

Watch on Microsoft’s site from 04:29

Microsoft’s player cannot open a video at a given time: once it plays, skip to the time shown.

What the session covers

The session follows two agents at the fictional Mesa Verde Bank through a Build, Scale, Govern flow to show how Microsoft Foundry governs agent fleets. Demos cover Azure Policy restrictions on approved models and tools, runtime tool controls and network egress policy for hosted agents, Entra agent identity, a cost dashboard with budget caps and AI Gateway integration. Custom guardrails with deterministic tool rules, an LLM judge and intervention points are configured in the portal and then enforced subscription-wide via the Agent Control Service API and a built-in Guardrails Azure Policy. A compliance dashboard, Defender/Purview insights and fleet monitoring are shown, and an upcoming Agent 365 policy tab pushes AI safety policy packs to Foundry agents. The agent controls API is stated as available now, while access in Foundry and Agent 365 is in early access.

Best for: Platform, security and AI governance engineers who run or plan Foundry agents in production and need policy, guardrail, cost and compliance controls, including how they connect to Agent 365.

Session timeline by chapter

New material starts at 04:29. After the speaker intros and the framing of why agent fleets need governance, 04:29 starts the overview of Foundry built-in governance and the newly introduced AI Gateway.

Where to skip: Skip to 08:31 (or 04:29 for the short governance overview); the policy and hosted-agent runtime demos from 08:31 to 20:55 and the guardrails part from 28:19 to 35:51 (API plus subscription-wide Guardrails policy at 31:37) are the core; 25:18–28:19 is only the unprotected baseline, 35:51 covers compliance and monitoring, 39:58 is the Agent 365 preview, and the closing at 41:25 matters only for the API availability and early-access sign-up.

Chapters (12)

  1. 00:01 Recap Depth 100 · Novelty 0/3

    Speaker intros and why running agent fleets at scale needs governance

    Mehrnoosh Sameki (Responsible AI), Rong Lu (Foundry PM) and Mayunk Jain (Foundry product marketing) introduce themselves. Mayunk recounts large customers saying that building agents is easy but operating them at scale is hard. Moving from 1 to 10 to 100 agents brings unknown builders, customer-facing agents and sensitive data, so governance has to live in the platform rather than in tickets and spreadsheets. He frames four questions every agent faces (access, cost, safety, who sets the rules) and announces that the session follows two agents at a fictional bank.

  2. 04:29 New Depth 200 · Novelty 2/3

    Foundry built-in governance, extended by AI Gateway, Agent 365, Purview and Defender

    Rong outlines Foundry's built-in governance: agent identity and agent blueprint, access control, cost management and safety guardrails, with boundaries set by security leads in Azure Policy and enforced at resource creation time and at runtime, plus a unified management view of the agent fleet. AI Gateway is introduced as a new Azure gateway service purpose-built for AI workloads and integrated with Foundry. Agent 365 is positioned as Microsoft's single control plane for Foundry, Fabric, Copilot Studio and third-party agents, while existing Purview and Defender policies flow into Foundry. The Mesa Verde Bank scenario with a customer service agent and a client meeting prep agent is introduced with a Build, Scale, Govern flow.

  3. 08:31 Demo Depth 300 · Novelty 2/3

    Demo: Azure Policy for approved models and tools enforced in the Foundry portal

    In the Azure portal Rong shows the policy 'Foundry model deployments should only use approved models' scoped to a resource group and allowing only OpenAI as publisher, and a new preview policy restricting Foundry agents and toolboxes to approved tools (file_search only, effect Deny, Audit also possible). In the Foundry catalog a Kimi model shows a policy warning and a disabled deploy button, while an OpenAI GPT-6.2 model can be deployed. In a prompt agent grounded on bank card policies via file search, adding web search blocks saving; after removing it the agent answers a card comparison question with a file citation.

  4. 13:17 Demo Depth 300 · Novelty 2/3

    Hosted agents: runtime tool controls and network egress policy

    Because hosted (code-based) agents define tools in code, creation-time tool blocking does not apply; Rong shows a hosted agent built in VS Code with the Foundry Toolkit that calls an MCP endpoint. A runtime_control.json sets default deny and allows file_search, one approved MCP server URL and functions, and is applied as a property on the Foundry project via a command, enforced at runtime. A new network egress Azure Policy (preview) denies all hosts except two allowed ones; in the Foundry guardrail egress rules a developer can only enable those hosts and can tighten but not weaken the admin boundary.

  5. 17:13 Demo Depth 300 · Novelty 2/3

    Runtime enforcement in a client briefing app, traces, and Entra agent identity

    The hosted briefing agent is connected to a Mesa Verde Bank web front end for relationship managers. Accessing an external website returns HTTP 403, web search and an unapproved MCP provider are rejected by the project runtime tool controls, and the approved MCP endpoint returns market information. A Foundry trace confirms the web search call was blocked by the project tool control. Rong then shows that each agent gets a Microsoft Entra agent identity and an agent blueprint, so callers no longer need RBAC roles on the project and the agent can act on behalf of the user within consented permissions.

  6. 20:55 Demo Depth 200 · Novelty 2/3

    Scaling to production: Foundry cost dashboard, budget caps and AI Gateway integration

    After recapping the Build stage, Rong shows a new cost dashboard in the Foundry portal with seven-day spend, breakdown by agent and model and grouping by project, model or agent. Cost controls cap spend per resource, agent, session or project in dollars or tokens, daily, weekly or monthly, with alert or block actions at thresholds; the demo budget is $10 per agent per month with 4% consumed. The AI Gateway portal shows a gateway with two models, and a new Foundry integration (rolling out) lets admins expose selected gateway models to projects, where they appear in the prompt agent model drop-down.

  7. 25:18 Demo Depth 200 · Novelty 1/3

    Bank safety requirements and an unprotected customer agent failing them

    Mehrnoosh lists three rules for the customer-facing bank agent: transfers over $10K need human approval because such transactions must be reported, mentions of financial hardship should route to a human instead of upselling, and no PII may leak. A replay of the unprotected agent shows a $25,000 transfer executed without approval, repeated credit offers to a customer who lost their job, and a full social security number returned when asked to confirm account details.

  8. 28:19 Demo Depth 300 · Novelty 2/3

    Custom Foundry guardrails: deterministic tool rules, LLM judge and intervention points

    In Build > Guardrails, Mehrnoosh creates a guardrail with all PII categories and shows that controls now support intervention points on user input, tool input, tool output and output. She adds a deterministic custom rule blocking the transfer money tool when the amount is at least 10K at tool input, and an LLM-judge HardshipClassifier with a chosen model and prompt that blocks when the score exceeds 0.5 on user input. Assigned to the customer service agent, the replay shows the transfer held for human approval, hardship rerouted to a human specialist and the SSN redacted.

  9. 31:37 Demo Depth 400 · Novelty 2/3

    Agent Control Service API and the Guardrails Azure Policy for subscription-wide enforcement

    Guardrails created in the UI are project-scoped; to mandate them organisation-wide the same configuration is defined through the Agent Control Service API, with intervention points for input, output, pre/post tool call and pre/post model call, harm classifiers and the hardship judge. The API call returns a policy ID, which is pasted into a new built-in Azure Policy called Guardrails assigned at subscription scope, automatically enforced at runtime for hosted and prompt agents. A hardship query to an agent in another project is then blocked. The API can also be used standalone for agents of any framework or cloud.

  10. 35:51 Demo Depth 300 · Novelty 2/3

    Foundry compliance dashboard, Defender/Purview insights and fleet operations monitoring

    A new compliance dashboard under Foundry's Manage tab lists all Azure Policy assignments for the subscription with compliant and non-compliant assets, e.g. 70 model deployments missing an indirect jailbreak guardrail and a non-OpenAI model router; the Guardrails policy is compliant by default because it is enforced. An assets view covers agents, models and toolboxes, and Defender and Purview insights are integrated; cross-tenant support is promised. The fleet and operations tab ranks agents by token usage, invocations, errors and latency, and per-agent monitoring tracks built-in, custom and red-teaming evaluations over time, linking to App Insights traces.

  11. 39:58 New Depth 200 · Novelty 3/3

    Agent 365 policy tab pushing AI safety policy packs to Foundry agents

    Mehrnoosh previews a policy tab in Agent 365, shown in the Microsoft 365 admin center, described as coming very soon. Admins can start from Microsoft-recommended built-in safety controls or build a policy pack, such as an AI safety pack using Foundry's built-in classifiers, and assign it to the agent fleet. Foundry agents under the tenant automatically receive these policies via Azure Policy and enforce them; more customisation for custom guardrails across agents on and off Foundry is planned.

  12. 41:25 Closing Depth 100 · Novelty 1/3

    Wrap-up: agent controls API available now, early access sign-up, labs and feedback

    Mayunk recaps that the scale part is what was shown and urges adding governance controls now, at 10 agents rather than 100. He states that agent controls are available now as an API while access in Foundry and Agent 365 is in early access via a sign-up QR code (aka.ms/agentcontrols/signup), alongside links aka.ms/FoundryDevPack and aka.ms/FoundryGovern. He promotes lab LAB662 (Moscone West 3009 and 3008), the on-demand session BRK250 on open-source governance, and asks for session feedback.

Announcements (19)

  • 05:16 not stated Microsoft Foundry

    Foundry built-in governance capabilities

    Foundry provides policy-based access control, cost management, safety guardrails and a unified fleet view, enforced at resource creation time and runtime.

    Speaker’s quote (at 05:16)
    „So if you're using Foundry for building agents, you can already use these capabilities that we are previewing at Ignite this week.“
  • 05:46 not stated Microsoft Foundry

    AI Gateway

    A new Azure gateway service purpose-built for AI workloads that provides central traffic control and integrates with Foundry.

    Speaker’s quote (at 05:46)
    „So AI gateway is a new Azure service, gateway service that's purpose built for AI workloads.“
  • 09:26 not stated Microsoft Foundry

    Azure Policy for approved tools in Foundry agents and toolboxes

    An Azure Policy that allows only listed tool types and MCP endpoints/connectors for Foundry agents and denies or audits everything else.

    Speaker’s quote (at 09:26)
    „And the second policy I've said here is on tools. This is a brand new policy that is in preview.“
  • 14:23 not stated Microsoft Foundry

    Foundry project tools runtime control

    A JSON allow list set as a Foundry project property that denies tools and MCP endpoints not on the list at agent runtime, covering hosted agents.

    Speaker’s quote (at 14:23)
    „So all I need to do is to run the command to set this on my Foundry project as a property, and that gets enforced at runtime.“
  • 15:21 not stated Microsoft Foundry

    Network egress Azure Policy for Foundry agents

    An Azure Policy that denies agent outbound access to all hosts except an allow list, which developers can narrow but not widen.

    Speaker’s quote (at 15:21)
    „So yes, there is another policy that we have just made available also in preview. This is all about network egress.“
  • 21:21 not stated Microsoft Foundry

    Foundry cost dashboard

    A cost view in the Foundry portal showing spend over time broken down by project, model and agent.

    Speaker’s quote (at 21:21)
    „So here we have this brand new cost dashboard that's built right into the Foundry portal.“
  • 22:26 not stated Microsoft Foundry

    Foundry cost controls

    Budgets in dollars or tokens per resource, agent, session or project with periodic reset and alert or block actions at thresholds.

    Speaker’s quote (at 22:26)
    „But what's even better is I can cap spendings by setting a cost control right here.“
  • 24:09 not stated Microsoft Foundry

    AI Gateway integration in the Foundry portal

    Manage AI Gateway from Foundry and make selected gateway models available to Foundry projects and agents.

    Speaker’s quote (at 24:09)
    „Now we have built great integrations into Foundry directly. So this is very new. This is being rolled out as we speak“
  • 28:19 not stated Microsoft Foundry

    Custom guardrail rules in Foundry

    Deterministic custom rules on tool names and arguments, plus LLM-judge classifiers with any chosen model, that can block or route agent interactions.

    Speaker’s quote (at 28:19)
    „not just have the built-in guardrails that we used to have, but also a lot of customization for you to really put controls on your niche requirements.“
  • 28:19 not stated Microsoft Foundry

    Guardrail intervention points

    Extends guardrails so a control such as PII can apply on tool input, tool output, user input and output.

    Speaker’s quote (at 28:19)
    „we've extended it to support for different intervention points.“
  • 33:26 not stated Microsoft Foundry

    Guardrails built-in Azure Policy

    An Azure Policy that takes an Agent Control Service policy ID and automatically enforces those guardrails at runtime for Foundry hosted and prompt agents across the assigned scope.

    Speaker’s quote (at 33:26)
    „There is a brand new policy that we've added for you called Guardrails, which automatically also enforces all of these controls.“
  • 35:51 not stated Microsoft Foundry

    Foundry compliance dashboard

    A subscription-wide view in Foundry of Azure Policy assignments with compliant and non-compliant agents, models and toolboxes.

    Speaker’s quote (at 35:51)
    „So that's what the brand new compliance dashboard of Foundry is able to do.“
  • 35:51 roadmap Microsoft Foundry

    Cross-tenant compliance dashboard

    Planned extension of the compliance dashboard beyond a single tenant.

    Speaker’s quote (at 35:51)
    „this compliance dashboard is indeed for your entire subscription, and I promise you we'll work to make it also cross-tenant“
  • 37:36 not stated Microsoft Foundry

    Defender and Purview insights in Foundry

    Security runtime and data loss prevention insights from Defender and Purview shown in the Foundry compliance view.

    Speaker’s quote (at 37:36)
    „we have integrated Defender and Purview insights also in here.“
  • 38:39 not stated Microsoft Foundry

    Foundry agent monitoring experience

    Per-agent monitoring with performance, cost and latency plus built-in, custom and red-teaming evaluations tracked over time.

    Speaker’s quote (at 38:39)
    „there is a brand new monitoring experience that is enabled behind each of these agents.“
  • 39:58 roadmap Agent 365

    Agent 365 policy tab with AI safety policy packs

    Agent 365 lets admins apply recommended or custom AI safety policy packs to the agent fleet, propagated to Foundry agents via Azure Policy.

    Speaker’s quote (at 39:58)
    „what we are also showing you today is a brand new experience that is coming to you very soon. Right now I'm in Agent 365.“
  • 40:26 roadmap Agent 365

    Custom guardrails in Agent 365

    Planned customisation so custom guardrails can be applied from Agent 365 to the entire agent fleet, on or outside Foundry.

    Speaker’s quote (at 40:26)
    „very soon we're going to bring more custom customization here so you can apply custom guard those to your entire fleet of agents“
  • 42:26 GA Microsoft Foundry

    Agent controls API

    The agent controls (Agent Control Service) API for defining and enforcing agent guardrail policies.

    Speaker’s quote (at 42:26)
    „you notice that we have this new thing called agent controls available now. as an API.“
  • 42:26 not stated Microsoft Foundry

    Agent controls in Foundry and Agent 365

    Access to agent controls within Foundry and Agent 365, available through an early access sign-up.

    Speaker’s quote (at 42:26)
    „But the access in Foundry and Agent 365 is in early access.“

Demos (9)

  • 08:53 Not stated Microsoft Foundry

    A security lead restricts which model publishers and tools Foundry agents may use, and a developer experiences the enforcement while building a customer service prompt agent.

    Steps (7)
    1. In the Azure portal, assign the policy 'Foundry model deployments should only use approved models' at resource group scope (subscription, Foundry resource or project also possible) with allowed publisher OpenAI and effect Deny.
    2. Assign the preview policy for Foundry agents and toolboxes approved tools with Approved Tool Types set to file_search and effect Deny (Audit is an alternative).
    3. In the Foundry portal model catalog, open a Kimi model and observe the policy message and disabled Deploy button.
    4. Open an OpenAI GPT-6.2 model and observe that Deploy is available.
    5. Open the prompt agent bank-customer-service-agent with customer service instructions and the file search tool connected to a vector store of bank card policy files.
    6. Add the web search tool and try to save; saving is blocked by the policy, then remove the tool.
    7. Ask the agent about the difference between two cards and check that it calls file search and cites an uploaded file.

    Prerequisites: Azure subscription with Azure Policy permissions, a Foundry resource and project, files uploaded to a vector store.

  • 13:32 Not stated Microsoft Foundry

    A security lead keeps control over a code-based hosted agent by restricting tools at runtime and limiting outbound network destinations.

    Steps (6)
    1. Open the hosted agent bank-briefing-agent in Foundry and note that there is no tools section in the UI.
    2. Show the agent code in VS Code (Foundry Toolkit for VS Code) where an MCP endpoint is called as a tool.
    3. Create runtime_control.json with default action deny and allowed tools file_search, the approved MCP server URL and function.
    4. Run the command that sets this configuration as a property on the Foundry project so it is enforced at runtime.
    5. In the Azure portal, assign the policy 'Azure AI Services RAI policies should enforce egress baseline and endpoint restrictions' with effect Deny and two permitted hosts.
    6. In Foundry, edit the guardrail egress rules: only the two policy hosts can be enabled, another host is rejected, and a single host can be removed to tighten the rule.

    Prerequisites: Foundry project with a hosted agent, VS Code with Foundry Toolkit, Azure Policy permissions.

  • 17:35 Not stated Microsoft Foundry

    Relationship managers use a client briefing app backed by a hosted agent, showing that unapproved web, tool and MCP access is blocked at runtime while the approved MCP works.

    Steps (7)
    1. Open the Mesa Verde Bank relationship workspace connected to the hosted briefing agent and select client Northstar Manufacturing.
    2. Choose market source 'external website' and generate; the request is denied with HTTP 403.
    3. Choose 'web search' and generate; the response says the tool is not allowed by project runtime tool controls.
    4. Choose the unapproved MCP provider; the same block message appears.
    5. Choose the bank-approved MCP endpoint; the briefing is generated with market information.
    6. In Foundry open the agent's Traces tab and inspect the run where the web search call is blocked by the project tool control.
    7. Open the agent Details, Identity & access panel to see the Entra agent identity and Entra agent blueprint.

    Prerequisites: Hosted agent with runtime tool controls and egress policy configured as in the previous steps; custom web front end calling the agent endpoint.

  • 21:45 Not stated Microsoft Foundry

    An admin monitors and caps the cost of production agents and centrally manages model traffic through AI Gateway from Foundry.

    Steps (8)
    1. In the Foundry portal go to Manage > Cost and review the last seven days of spend and the breakdown by agent and model.
    2. Change the grouping to project, model or agent.
    3. Open the Cost Control tab and edit the cost control 'agent-budget' scoped to the Foundry resource.
    4. Choose a budget per agent, set $10, frequency monthly and a threshold action of alert or block, then save.
    5. Check the estimated state (4% consumed, on track).
    6. In the AI Gateway portal review the gateway mesaverdeGateway with two model aliases.
    7. In Foundry Manage > Gateways open the gateway, select which models are available to which projects.
    8. In a prompt agent open the model drop-down and select a gateway model.

    Prerequisites: Foundry resource and projects; an AI Gateway with configured models.

  • 26:41 Not easy to reproduce Microsoft Foundry

    Shows what a customer service banking agent does without safety guardrails, as the baseline for the guardrail configuration.

    Steps (4)
    1. Open the Agent Controls demo page with the 'without agent controls' column and run the three scenarios.
    2. Request a $25,000 transfer and observe transfer_funds executed without approval.
    3. Mention losing a job and inability to pay and observe the agent pushing credit card and loan offers.
    4. Ask to confirm account details and observe the full social security number in the reply.
  • 28:11 Not stated Microsoft Foundry

    A bank configures custom guardrails for its customer-facing agent to enforce a transfer limit, route financial hardship to humans and stop PII leakage.

    Steps (8)
    1. In the Foundry portal open Build > Guardrails and click Create.
    2. Enable PII detection with all supported categories.
    3. Set the intervention points (user input, tool input, tool output, output).
    4. Add a custom rule: tool name equals the transfer money tool and amount argument is greater than or equal to 10K, at tool input, action Block.
    5. Add an LLM judge named HardshipClassifier, choose a model deployment and enter the judging prompt with a score output.
    6. Add a condition: if HardshipClassifier score is greater than 0.5 on user input, block.
    7. Assign the guardrail to the customer service agent.
    8. Replay the conversation: the $25,000 transfer requires approval, the hardship message is routed to a specialist and account details are redacted.

    Prerequisites: Foundry project with the agent and a model deployment to act as the LLM judge.

  • 32:17 Not stated Microsoft Foundry

    A security leader enforces the custom banking guardrails across an entire subscription instead of a single project.

    Steps (6)
    1. Define the policy as JSON (financial-hardship-protection.acs.json) with intervention points and the harm classifiers (hate, sexual, self-harm, violence and others) plus the hardship judge on input.
    2. Call the Agent Control Service API with this definition and note the returned policy ID.
    3. In the Azure portal go to Policy > Assignments > Assign policy and set the scope to the subscription (AI-AppsAndAgents) including all resources.
    4. Select the preview policy definition Microsoft Foundry Guardrails.
    5. On the Parameters step paste the policy ID into the ACS baseline ARM resource ID field and complete the assignment.
    6. Send a hardship query to an agent in a different project and confirm the interaction is blocked.

    Prerequisites: Access to the Agent Control Service API, Azure Policy assignment rights at subscription scope, Foundry projects with agents.

  • 36:14 Not stated Microsoft Foundry

    A security lead reviews policy compliance, security posture and operational health across the bank's agent fleet.

    Steps (6)
    1. In Foundry open the Manage tab and select Compliance.
    2. Open a policy (indirect jailbreak attack guardrail) and review the 70 non-compliant model deployments.
    3. Review the approved models policy showing a non-OpenAI model router as non-compliant and the Guardrails policy as compliant.
    4. Switch to the assets view for agents, models and toolboxes and to the Security posture tab with Defender for Cloud recommendations.
    5. Open the Operations tab and rank agents by invocations, token usage, errors and latency.
    6. Open an agent's monitoring page, review evaluation trends (task adherence, intent resolution) and drill into traces in App Insights.

    Prerequisites: Azure Policy assignments on the subscription, Foundry projects with agents; Defender for Cloud for security posture data.

  • 40:20 Not easy to reproduce Agent 365

    An IT admin applies an AI safety policy pack from Agent 365 to the organisation's agent fleet, including Foundry agents.

    Steps (4)
    1. In the Microsoft 365 admin center open Agent 365 and the policy tab.
    2. Review the Responsible AI safety controls card with recommended controls for agents built on Microsoft Foundry.
    3. Create a policy, enter a name and select the AI safety policy type.
    4. Enable Foundry's built-in safety classifiers and filters in the pack and assign it to the agent fleet.

Watch on Microsoft’s site: BRK253