BRK339 · Breakout
Local agents are here. Can you find and secure them?
Speakers: Swaroop Krishnamurthy , Dareen Radwan, Erica Toelle
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 a finance analyst, Melissa, whose local agent (Claude Code / Claude Desktop) is discovered, contained, governed and investigated from the perspectives of the IT admin, identity admin and SOC admin. Defender for Endpoint detects the local agent, Entra assigns it a distinct agent ID and it appears in a new Local view of the Agent 365 registry with a dynamic agent risk score. Intune agent containment policies with Microsoft execution containers (MXC) restrict what the agent can touch, while Entra ID Governance dynamic permissions and Conditional Access dynamic controls grant time-bound, risk-adaptive access to resources such as Snowflake. The final part shows a prompt-injection incident investigated in Defender XDR and remediation options, with Defender runtime protection for local agents announced as GA and Purview DLP and Entra ID Protection for local agents in preview.
Best for: Security, identity and endpoint administrators who need to discover, contain and govern local AI agents such as Claude Code on managed Windows devices.
New material starts at 06:53. After the intro and a conceptual overview of the containment stack, the session moves at 06:53 into the concrete scenario and automatic discovery of local agents with Entra Agent ID.
Where to skip: Skip to 06:53; the core is the Agent 365 local registry demo at 10:48, the Intune containment demo at 15:19, the Entra dynamic permissions demo at 25:00 and the Conditional Access dynamic controls demo at 29:13. Check 35:18 and 41:41 for availability statuses; the recap at 18:22 and the closing from 43:56 can be skipped.
Chapters (14)
- 00:03 Recap Depth 100 · Novelty 0/3
Session intro: what local agents are and the three security questions
Erica Toelle introduces the session and the speakers and frames local agents as AI insiders that run on the employee device (a physical machine or Windows 365) inside the authenticated user context, next to files, apps, sessions, credentials, tools and network connections. She sets out three questions: what the agent can reach and how to bound it to the task, which actor (user, agent A, agent B) performs an action, and how to stop the right thing without blocking the employee or the whole device. The session follows a finance workflow through discovery, access control and investigation with Microsoft and third-party agents.
- 03:11 Deep dive Depth 200 · Novelty 1/3
Three security contexts and the multi-layer containment stack for local agents
Local agents operate across three distinct security contexts: the agent (accountability, purpose, owner), the user (sign-ins, apps, mapped drives, tokens) and the device/runtime (processes, files, tools, credentials, network paths). The proposed containment stack maps Microsoft Entra to identity, Entra Global Secure Access to network access, Microsoft Purview to data, Microsoft Intune to endpoint policy, Windows with Microsoft execution containers to device execution, and Microsoft Defender to runtime inspection of tool calls, prompts and responses. Agent 365 wraps all layers as the observability platform that brings the context into one view of the agent.
- 06:53 Deep dive Depth 300 · Novelty 2/3
Melissa's quarter-end scenario and automatic discovery with Entra Agent ID
The running example is Melissa, a finance analyst using an IT-approved local agent to reconcile invoices for quarter-end close; the session is structured around IT admin, identity admin and SOC admin perspectives. When the agent runs for the first time, Defender for Endpoint detects it and passes the context to Microsoft Entra, which assigns an agent ID, and the agent appears in the Agent 365 registry. Entra Global Secure Access shows which MCP servers and tool calls the agent uses, and the separate agent ID distinguishes agent activity from Melissa's own activity.
- 10:48 Demo Depth 200 · Novelty 3/3
Demo: local agents in the Agent 365 registry and dynamic agent risk score
In the Microsoft 365 admin center the agent registry lists Microsoft, AWS/Google (via connectors), cloud and local agents; a new Local navigation item shows Claude Code detected in the Caldova tenant when first run. Each instance per machine has its own risk level, an automatically assigned Entra agent ID, and a list of tools (two local MCP servers and one remote). The Security tab shows the new dynamic agent risk score combining runtime and exposure risk with related Defender cases, and the Access tab offers blocking, network restriction, conditional access device non-compliance, or enforcing execution in a Microsoft execution container via Intune.
- 15:19 Demo Depth 300 · Novelty 3/3
Demo: Intune agent containment policy with Microsoft execution containers
In the Intune admin center a new Endpoint security > Agent containment option holds an Agent Containment Policy that can target all agents or selected agents on a device. Settings include toggling Entra network access (local-only operation), a test/extra-telemetry mode, and containment boundaries; the demo allows read/write to the local workspace, read on finance network drives, and blocks locally synced OneDrive files. Erica notes MXC supports more boundary types for developers, and that the Intune enforcement is in limited preview with broader availability hoped for January.
- 18:22 Deep dive Depth 300 · Novelty 1/3
Architecture recap: Defender discovery, Entra Agent ID, risk and MXC containment
A diagram recaps the flow: Microsoft Defender discovers the local agent and its tool calls, Microsoft Entra assigns an agent ID, the agent appears automatically in the Agent 365 registry with its dynamic agent risk aggregated across risk types, and Intune enforces execution in the MXC container. Erica stresses that the agent ID anchors the whole picture, points to related sessions via QR codes, and hands over to Dareen.
- 20:23 New Depth 300 · Novelty 3/3
Identity admin view: right-size, assess, adapt – three new Entra controls for agents
Dareen Radwan explains that local agents previously ran with the user's identity and were indistinguishable from the user, whereas now Entra assigns a distinct identity. For Melissa's revenue dashboard requiring Snowflake data, the goals are least-privileged, time-bound access and risk-driven adjustment. Three controls are presented: Entra ID Governance dynamic permissions (zero standing access, task-scoped grants with user permissions as the ceiling), dynamic agent risk (one score from Defender and Purview sensors anchored to the agent identity) and Entra Conditional Access dynamic controls (continuous evaluation on every request that can restrict, require approval or block, for Microsoft and non-Microsoft resources).
- 25:00 Demo Depth 300 · Novelty 3/3
Demo: Entra dynamic permissions grant Claude time-bound Snowflake access
In the Entra admin center under ID Governance > Dynamic permissions (Preview), Snowflake is configured as a target resource. When Melissa asks Claude Desktop to build a Q3 revenue dashboard, a Request Access tool prompts her approval, she picks the Snowflake Finance Reader role, and Entra grants Claude's agent identity time-bound read-only access. A second request for restricted customer and commission data needing the Sales Intelligence Reader role is denied automatically in seconds because Melissa herself lacks that access.
- 29:13 Demo Depth 300 · Novelty 3/3
Demo: Conditional Access dynamic controls restrict then block a risky agent
In Entra Conditional Access policy plans (Preview), a Dynamic Controls plan holds two rules: restrict sensitive actions at medium dynamic agent risk and block all actions at high risk, both targeting the agent identity. Claude first creates an Entra security group via Microsoft Graph at low risk; a pasted prompt with a hidden instruction to read ~/.env is blocked by Defender on the device, raising risk to medium, after which reads work but creating a second group is denied. A prompt with an SSN is blocked by Purview, raising risk to high, so Claude's Snowflake query is blocked despite its granted permission, while Melissa's own Snowflake query in the browser still succeeds.
- 35:18 Deep dive Depth 300 · Novelty 2/3
Govern-and-protect architecture recap and availability of the three controls
Dareen recaps that every control anchors on the agent ID, which Entra assigns automatically to any local agent, including non-Microsoft agents like Claude Desktop. Defender and Purview sensors on the device feed one dynamic agent risk, and Conditional Access dynamic controls apply it on the data path for Microsoft and third-party resources, so access is re-evaluated per request based on identity, task permissions and current risk. She states dynamic permissions and Conditional Access dynamic controls are in limited preview and dynamic agent risk is in preview, then hands over to Swaroop.
- 37:30 Deep dive Depth 200 · Novelty 1/3
SOC admin view: an agent incident triggered by prompt injection and data exfiltration
Swaroop Krishnamurthy introduces the SOC perspective: although the protections held, the malicious prompt attempting to exfiltrate sensitive data triggered an incident. The SOC must establish what happened and whether data was exposed, then choose remediation and restore access if appropriate. The investigation in Defender XDR correlates the Purview and Defender alerts and investigates the agent without assuming Melissa is compromised.
- 39:27 Demo Depth 300 · Novelty 2/3
Demo: investigating the prompt-injection incident in Defender XDR
In the Defender XDR portal the SOC admin opens Cases, where alerts are already grouped into an incident ('PromptInjection' detected on one endpoint reported by multiple sources). The incident lists Purview and Defender alerts on the left and an attack graph linking Melissa, her device and her agents on the right. Drilling into the Defender alert shows the prompt injection was caught before the model acted, and Read more reveals the exact malicious prompt, all attributed to the agent rather than Melissa; advanced hunting is mentioned but not shown.
- 41:41 New Depth 300 · Novelty 3/3
Remediation options and status of Defender, Purview and Entra local-agent protections
Remediation options include dismissing the risk so the agent can resume, confirming compromise and leaving it at high risk, or for an unsanctioned agent blocking its usage by marking devices with it as non-compliant, with more options coming. The loop recap: Defender and Purview on the endpoint feed both dynamic agent risk and Defender XDR, conditional access and right-sized permissions act on it, and access is restored after remediation. Defender runtime protection for local agents moves from preview to generally available, Purview DLP for local agents is in preview, and Entra ID Protection for local agents, where compromise is confirmed or risk dismissed, is also in preview.
- 43:56 Closing Depth 100 · Novelty 0/3
Wrap-up: Melissa's outcome, layered defence recap and next steps
Swaroop recaps the outcomes: the agent was identified, its activity and risk were attributed to the agent rather than Melissa, access started from least privilege, and remediation restored only the agent's access while Melissa's stayed separate. He returns to the multi-layer slide (Agent 365 plus identity, data, network, endpoint and runtime) and argues security relies on combined layers rather than one control. The session ends with a pointer to the Entra Ignite blog and a QR code for an Entra prize draw.
Announcements (13)
-
Entra Agent ID for local agents with automatic discovery
Local agents detected by Defender for Endpoint on first run automatically receive a Microsoft Entra agent ID and are listed in the Agent 365 registry.
Speaker’s quote (at 09:53)
„Discovery is bringing that known local agent into the Agent 365 registry with that agent's identity via Entra agent ID.“
-
Local agents view in Agent 365
A new Local navigation item in the Agent 365 registry lists discovered local agents with per-device instances, risk, tools and access controls.
Speaker’s quote (at 11:45)
„let's go ahead and look at this new local navigation item so we can see our local agents.“
-
Dynamic agent risk
Combines risk signals from layers such as Defender into one score per agent, shown as runtime and exposure risk in Agent 365.
Speaker’s quote (at 13:11)
„So at Ignite, we announced our new dynamic agent risk score, which brings risk scores from our other layers, such as Defender, together into one single score“
Agent 365 na Ignite 2026: správa agentů, zabezpečení a přehled nákladů na AI
-
Microsoft execution containers (MXC)
Windows execution container that enforces the boundary of what a local agent can access, with more boundary types available to developers.
Speaker’s quote (at 17:24)
„over time, MXC, actually, if you're a developer, can do a lot more boundary types than what you saw here.“
-
Intune agent containment policies
Intune endpoint security policy that forces local agents to run in a Microsoft execution container with defined file, drive and network boundaries.
broader availability hoped for January
Speaker’s quote (at 17:49)
„This is what we can enforce through Intune policy today. It's in limited preview, coming more broadly about in January, hopefully.“
-
Microsoft Entra ID Governance dynamic permissions
Agents start with zero access and receive least-privileged, time-bound permissions per task, never exceeding the user's permissions.
Speaker’s quote (at 21:58)
„right size with Microsoft Entra ID governance dynamic permissions. Here the agent starts with the zero access, not the user standing permissions.“
-
Microsoft Entra Conditional Access dynamic controls
Continuous conditional access on every request on the data path that restricts, requires approval for, or blocks agent actions based on dynamic agent risk.
Speaker’s quote (at 23:37)
„adapt with Microsoft Entra conditional access dynamic controls. Think of this as continuous conditional access.“
-
Microsoft Entra ID Governance dynamic permissions
Task-scoped, time-bound permissions for agent identities, capped by the user's permissions.
Speaker’s quote (at 36:50)
„Dynamic permissions and conditional access dynamic controls are in limited per view, and dynamic agent risk is in preview.“
-
Microsoft Entra Conditional Access dynamic controls
Risk-driven, per-request restriction or blocking of agent access on the data path.
Speaker’s quote (at 36:50)
„Dynamic permissions and conditional access dynamic controls are in limited per view, and dynamic agent risk is in preview.“
-
Dynamic agent risk
Single risk score per agent identity aggregated from Defender, Purview and other sensors.
Speaker’s quote (at 36:50)
„Dynamic permissions and conditional access dynamic controls are in limited per view, and dynamic agent risk is in preview.“
Agent 365 na Ignite 2026: správa agentů, zabezpečení a přehled nákladů na AI
-
Defender runtime protection for local agents
Runtime inspection on the endpoint that blocks malicious prompts and content for local agents.
Speaker’s quote (at 43:03)
„The Defender runtime protection for local agents was released in preview. Now it's generally available.“
-
Purview DLP for local agents
Prevents sensitive data such as SSNs in prompts from leaking to local agents.
Speaker’s quote (at 43:29)
„And we have previews for the purview DLP protection.“
-
Entra ID Protection for local agents
Where admins confirm compromise or dismiss the risk of a local agent to remediate and restore access.
Speaker’s quote (at 43:29)
„the Entra identity protection for local agents is the place where you would go and confirm compromise or immediate risk. That's also in preview.“
Demos (5)
-
An IT admin discovers the local Claude Code agent Melissa runs, reviews its identity, tools and risk, and chooses containment options.
Steps (9)
- Open the Microsoft 365 admin center and go to Agents > All agents to see the agent registry.
- Select the new Local navigation item to list local agents.
- Click Claude Code to see that it was detected in the tenant when first run.
- Open Instances to see each device running the agent with its own risk level; start with the high-risk instance.
- Confirm the instance already has an automatically assigned Entra agent ID.
- Review the tools it can reach (two local MCP servers and one remote MCP server).
- Open Security to view the dynamic agent risk (runtime risk plus exposure risk) and related Defender cases.
- Open Activity to view usage and traffic across instances.
- Open Access and choose a policy scope (finance users or all devices) and an option: block the agent, restrict network access, mark the device non-compliant via conditional access, or enforce a Microsoft execution container via Intune policy.
Prerequisites: Defender for Endpoint on the devices; connectors set up to see AWS or Google agents.
-
An IT admin configures a containment boundary so the approved local agent can only touch the workspace and finance drives, not OneDrive.
Steps (8)
- Open the Microsoft Intune admin center and select Endpoint security.
- Select the new Agent containment option and open the Agent Containment Policy.
- Click Edit and review name, description and targeted device types.
- Choose whether the policy applies to all agents on the device or to selected agents (all agents in the demo).
- Set Entra network access on or off (off means local resources only).
- Optionally enable test mode / extra telemetry to validate the policy.
- Edit the containment boundary: allow read/write to the local workspace, read on finance network drives, block locally synced OneDrive files.
- Save the policy.
Prerequisites: Managed Windows devices in Intune; access to the limited preview.
-
An identity admin lets a local Claude agent get only task-scoped, time-bound Snowflake access on Melissa's behalf, capped by her permissions.
Steps (8)
- In the Microsoft Entra admin center open ID Governance > Dynamic permissions (Preview).
- Under Resources configure Snowflake as the target resource (shown with remediation report-only and permission assignment configured).
- On the user device, ask Claude Desktop to build the Q3 revenue dashboard from Snowflake.
- When the Snowflake query fails for missing permissions, approve Claude's use of the Request Access tool (graph-mcp-enterprise).
- Select the suggested least-privilege role Snowflake Finance Reader.
- Review and confirm the access request (role, resource, grantee, justification, duration).
- Access is granted time-bound to Claude's agent identity and the dashboard is built.
- Ask Claude for restricted customer and commission data; confirm the Sales Intelligence Reader request and observe the automatic denial.
Prerequisites: Local agent with an Entra agent ID; Snowflake configured as a dynamic permissions resource in Entra ID Governance.
-
An identity admin adapts a local agent's access in real time as Defender and Purview signals raise its risk, without affecting the user's own access.
Steps (9)
- In the Microsoft Entra admin center open Conditional Access > Policy plans (Preview) and select the Dynamic Controls plan.
- Create a rule restricting sensitive actions (e.g. writes) when dynamic agent risk is medium.
- Create a rule blocking all actions when dynamic agent risk is high.
- At low risk, ask Claude to create an Entra security group; it succeeds via Microsoft Graph.
- Paste a prompt containing a hidden instruction to read ~/.env; Defender blocks it on the device and agent risk rises to medium.
- Ask Claude to list group members and create a backup group; the read succeeds and the group creation is denied by conditional access.
- Send a prompt containing an SSN; Purview blocks it and agent risk rises to high.
- Ask Claude to query Snowflake and summarize Q3 revenue by region; the request is blocked.
- As Melissa, sign in to Snowflake in the browser with her own identity and run the same query; it succeeds.
Prerequisites: Local agent with an Entra agent ID; Defender and Purview sensors on the device; Conditional Access dynamic controls rules targeting agent risk.
-
A SOC analyst reconstructs a prompt-injection attack against a local agent and attributes it to the agent rather than the user.
Steps (6)
- Open the Microsoft Defender portal and select Cases.
- Open the incident in which Defender XDR grouped the related alerts ('PromptInjection' detected on one endpoint reported by multiple sources).
- Review the Purview and Defender alerts listed on the left.
- Use the incident attack graph to see relationships between Melissa, her device and her agents.
- Drill into the Defender prompt injection alert to confirm it was blocked before the model acted.
- Click Read more and scroll to view the malicious prompt the user pasted.
Prerequisites: Defender runtime protection and Purview DLP for local agents generating alerts into Defender XDR.