THR994 · Theater
Trusting Your AI Workforce: Securing and Governing Enterprise Agents
Speakers: Sasha Kranjac
Microsoft’s player cannot open a video at a given time: once it plays, skip to the time shown.
What the session covers
Sasha Kranjac frames agent security around four questions (visibility, privileges, oversharing, safety) and walks through a fictitious Contoso scenario in which an HR agent in Teams returns highly confidential salary bands from an overshared SharePoint library. He then shows the agent's Entra Agent ID, accountable human sponsor and sign-in logs, and a Purview DLP policy that stops Copilot Chat and Copilot Cowork from processing labelled content. The demos continue with the Purview DSPM apps and agents section, Activity Explorer and audit, Defender agent protection with advanced hunting tables, and the Agent 365 inventory in the Microsoft 365 admin center. The session ends with conditional access targeting agent identities, access packages for agents, and a recap that the tools are already licensed.
Best for: Security and Microsoft 365 admins who want a quick, demo-based tour of where agent identity, data protection, detection and inventory live across Entra, Purview, Defender and Agent 365.
New material starts at 13:07. Before 13:07 come the intro and demos of established Entra identity and Purview DLP features; at 13:07 the newer Purview DSPM apps and agents view with agent activity and audit details begins.
Where to skip: Skip the intro and go to 04:09 only if You want the oversharing scenario; otherwise jump to 13:07 for the Purview DSPM apps and agents view and audit, then 16:24 for Defender agent protection and advanced hunting, and 18:44 for the Agent 365 inventory and conditional access for agents. The recap from 21:17 can be skipped.
Chapters (8)
- 00:01 Recap Depth 100 · Novelty 0/3
Introduction and four agent questions: visibility, privileges, oversharing, safety
Sasha Kranjac, a Microsoft MVP in security, introduces himself and frames the session around four questions about AI agents: what they can see and how many exist, what privileges they have and who is accountable, oversharing as technical debt, and safety. He outlines a journey with the fictitious company Contoso through four lenses: identity (Entra Agent ID), data protection, detection of agent behaviour, and governance.
- 04:09 Demo Depth 200 · Novelty 1/3
Demo: HR agent in Teams exposes overshared confidential salary bands
An HR agent in Teams answers employee questions such as parental leave and can write to a SharePoint list on the user's behalf after asking permission. User Mickey has access to a highly confidential salary band document in the HR hub SharePoint site, and the agent returns the proposed 2027 salary bands to him and to anyone who can use the agent. The speaker argues this is wrong because the agent's identity and the user's identity are separate.
- 06:37 Demo Depth 200 · Novelty 1/3
Agent identity in Copilot Studio and Entra: Agent ID, sponsor, sign-in logs
In Copilot Studio the agent's metadata shows its Entra agent ID, authentication is set to Microsoft (Entra ID) for Teams, SharePoint, Power Apps and Microsoft 365 Copilot, and the knowledge source is an overshared SharePoint library. In the Entra admin center the agent identities overview lists all agents; the agent page shows status, the accountable human sponsor, object IDs, permissions and shortcuts to conditional access and access packages. Agent sign-in logs are reviewed over the last seven days.
- 11:04 Demo Depth 200 · Novelty 1/3
Purview DLP policy blocks Copilot from highly confidential labelled content
The IT department created a highly confidential Copilot DLP policy in Microsoft Purview applied to Copilot Chat and Copilot Cowork, blocking processing of content labelled confidential or highly confidential. Mickey can still open the document directly, but the agent no longer surfaces the data. Triggered policies create DLP alerts showing policy match, date, users, location, impacted entities and policy details.
- 13:07 Demo Depth 300 · Novelty 2/3
Purview DSPM apps and agents view, Activity Explorer and audit trail for agents
Purview DSPM now has an apps and agents section, while two earlier DSPM parts are described as becoming obsolete; it lists the 20 most recently used agents with risk, policy and access details. Activity Explorer shows AI activities of agents, DLP rule matches, sensitive info types, user participants, application and agent details and accessed resources. An audit search with 638 results shows IP address, agent blueprint ID, workload, user ID, client IP, app host and platform ID.
- 16:24 Demo Depth 300 · Novelty 1/3
Microsoft Defender agent protection, agent page and advanced hunting tables
In Microsoft Defender, agent protection must first be enabled in getting started; Defender then shows AI agent interactions and insights. The agent page shows version, attack surface, recommendations, MCP servers and a graph. Advanced hunting includes an agents info table with inventory and configuration details (identity, platform, ownership, metadata) for reviewing posture and correlating agent identity with alerts.
- 18:44 Demo Depth 200 · Novelty 1/3
Agent 365 inventory in Microsoft 365 admin center; agents in conditional access
Agent 365 in the Microsoft 365 admin center lists all agents; the agent detail shows channels, owner, creation date, instructions, identity, environment, properties and which users can access which data and tools. In Entra, conditional access supports targeting selected agent identities instead of users and groups. Agents can also be included in entitlement management access packages to time-limit what they can access.
- 21:17 Closing Depth 100 · Novelty 0/3
Recap of four lenses and closing: use the tools you already have
The speaker recaps the four lenses: Entra for identity and access (agent ID, sponsors, conditional access), Purview for data and compliance, Defender for threat protection and Copilot Studio for guardrails. He argues the tools and licences are already available and it is up to organisations to use them, using a parachute analogy. He closes with visibility, governance, security and useful links.
Announcements (1)
-
Purview DSPM apps and agents section
A DSPM section listing apps and agents with risk, policy and access details, replacing two older DSPM parts.
Speaker’s quote (at 13:07)
„now there are two parts of the DSPM that are going to be obsolete. Now we have the third part. Apps and agents“
Demos (6)
-
Show how an HR agent grounded on an overshared SharePoint library returns highly confidential salary data to employees.
Steps (4)
- Open the HR agent in Teams and ask an HR question such as parental leave days.
- Let the agent request permission and write an entry to a SharePoint list on the user's behalf.
- As user Mickey, open the HR hub SharePoint site and the highly confidential salary bands document.
- Ask the agent for salary bands and observe it returning proposed 2027 salary bands.
Prerequisites: An HR agent published to Teams with a SharePoint library containing confidential documents as knowledge.
-
Inspect an agent's identity, ownership and sign-in activity to separate agent identity from user identity.
Steps (6)
- In Copilot Studio open the agent and read the Entra agent ID in its metadata.
- Under Security > Authentication confirm it authenticates with Microsoft.
- Review the model, instructions, SharePoint knowledge and tools.
- In the Entra admin center open the agent identities overview.
- Open the HR helper agent page and check status, sponsor, object IDs and permissions.
- Open the agent's sign-in logs and widen the range to the last seven days.
Prerequisites: An agent created in Copilot Studio with an Entra agent identity; access to the Entra admin center.
-
Prevent Copilot and agents from exposing sensitivity-labelled documents to users through an overshared library.
Steps (5)
- In Purview DLP create a policy for Copilot covering highly confidential content.
- Apply the policy to the Copilot Chat and Copilot Cowork locations.
- Set the condition on confidential and highly confidential labels with a block action.
- Re-ask the agent and confirm it no longer returns the data.
- Open DLP alerts to review policy match, users, location and entities.
Prerequisites: Documents labelled with sensitivity labels in SharePoint; Purview DLP.
-
Give admins visibility into what an agent accessed and did, including sensitive data interactions and audit details.
Steps (5)
- In Purview DSPM open Apps and agents and filter for the HR agent.
- Review risk, policy, distribution and access details of the agent.
- Open Activity Explorer to see AI interactions, DLP rule matches and sensitive info types.
- Open an activity to see user participant, application, agent and accessed resources.
- Run an audit search and open a record to review IP, agent blueprint ID, workload, app host and platform ID.
Prerequisites: Purview DSPM and audit enabled; agents in use.
-
Detect and investigate risky or misconfigured agents with Defender and advanced hunting.
Steps (4)
- In Defender policies and rules, enable agent protection under getting started.
- Open the AI agents view and select the HR helper agent.
- On the agent page review version, attack surface, recommendations, MCP servers and graph.
- In advanced hunting query the agents info table to review agent posture and correlate with alerts.
Prerequisites: Agent protection enabled in Microsoft Defender.
-
Govern agents centrally: inventory them and apply identity controls.
Steps (5)
- In Microsoft 365 admin center open Agent 365 and the list of all agents.
- Open the HR helper agent and review overview, channels, owner, instructions, identity and users.
- In Entra create a conditional access policy and choose Select agent identities instead of users and groups.
- Select the HR helper agent in the policy.
- Add agents to entitlement management access packages to time-limit access.