THR1803 · Theater

Agents Are the New Service Principals. Only More Dangerous

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

Speakers: Martina Grom

Watch on Microsoft’s site

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

What the session covers

Martina Grom argues that agents should be governed like service principals, explaining that agent identities share the service principal object model but hold no credentials, while the agent blueprint holds credentials and parents multiple child agents. In the Entra admin center she inspects a Foundry finance agent's sponsor, owners, permissions and federated credential, then shows the agent returning HR data despite having no permissions, because a role assignment on the Foundry project managed identity grants access to the whole storage account. She covers the multiple portals needed for agent governance (Entra Agent ID, Purview, Defender, Agent 365) and options to shut an agent down: disabling the agent or its blueprint, Conditional Access blocks, and disable vs block in Agent 365. She closes with a checklist covering identity, authority, reach, accountability and containment.

Best for: Identity and security admins who must govern Foundry and Copilot agents and want to see how permissions leak through project managed identities.

Session timeline by chapter

New material: no clear start of new material was found in this session.

Where to skip: Skip to 02:32 for the agent identity vs service principal model; the core is Demo 2 at 10:48 (HR data leak via the project managed identity) and the Cloud Shell lesson at 16:03; watch 17:30–21:12 for shutdown options and disable vs block in Agent 365; the wrap-up at 21:12 only restates the checklist.

Chapters (9)

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

    Intro: would you approve a service principal with no owner, unknown permissions?

    Martina Grom (MVP, Vienna) introduces her governance-focused session on the identities agents use. She frames it with questions one would ask of a service principal: does it have an owner, known permissions, known connections, audit logging and monitoring, and a retirement process rather than mere deactivation. She asks why organisations accept these gaps with agents every day.

  2. 02:32 Deep dive Depth 300 · Novelty 1/3

    Service principal vs agent identity, blueprints and the agent 'effective reach'

    A comparison table shows agent identities share the service principal object model but hold no credentials; the agent blueprint holds credentials and acts as a parent for multiple child agent identities. Agents can be short-lived (seconds) and may act with delegated user permissions, e.g. via Work IQ. She presents her own (non-Microsoft) governance footprint: effective reach = identity, permissions, delegation, tools and data. The demo architecture is a Foundry agent with an Azure Blob Storage tool holding finance, HR and payroll data, plus a project managed identity.

  3. 05:53 Demo Depth 300 · Novelty 1/3

    Demo 1: Inspecting an agent identity and its blueprint in the Entra admin center

    In the Entra admin center she opens the Contoso finance assistant agent identity, showing its sponsor (business owner, need not be IT) and owners (technical, IT). The agent has no permissions and no Entra roles. The blueprint view shows it can host multiple agents, with its own owners and sponsors, and its credentials: no certificates, no client secrets, only a federated credential granting access to Azure Blob Storage — apparently a secure setup.

  4. 09:20 Deep dive Depth 300 · Novelty 1/3

    Entra agent layers and governance rules: sponsor required, owner optional

    She outlines the Entra structure: blueprint layer, agent layer and governance rules. Microsoft currently requires a sponsor but not an owner; she recommends always assigning an owner, as for Teams and groups. Least privilege looks satisfied because the agent has no permissions, but broader actions happen via tools such as Blob Storage, so the full chain of access was not reviewed.

  5. 10:48 Demo Depth 400 · Novelty 1/3

    Demo 2: Foundry agent leaks HR data through the project managed identity

    The Foundry finance assistant has a single Blob Storage tool and no web grounding. A finance query returns finance data; a payroll query is correctly denied, but an HR query returns HR data despite the agent having no permissions. Checking Azure role assignments shows the managed identity has no access to the demo resource, but at the Foundry project level someone granted access to the whole storage account with HR data, so every agent under the project inherits it.

  6. 16:03 Deep dive Depth 300 · Novelty 1/3

    Checking with Cloud Shell: individual permissions are fine, the combination is not

    She shows a Cloud Shell check confirming the agent has no roles. Access was checked separately to Microsoft 365 via credentials, to Azure resources via Blob Storage and to an external system, but not in combination. The key lesson is to look for leftover managed identities with access, since checking only agent and blueprint permissions is not enough.

  7. 17:30 Deep dive Depth 300 · Novelty 1/3

    Avoiding a governance silo and options to shut down an agent

    Customers report needing at least five portals for agent governance: Entra Agent ID, blueprints, Purview for data access visibility, Defender for detecting and stopping risky agents, all ideally flowing into Agent 365. To shut down an agent you can disable it in the Entra admin center (it disappears from Copilot but remains in Foundry and must be cleaned up there) or disable the blueprint, which disables all child agents. A Conditional Access block stops a risky agent but leaves it in the tenant, so disabling is still needed.

  8. 19:47 Demo Depth 200 · Novelty 1/3

    Demo 3: Disable vs block an agent in Agent 365 (Microsoft 365 admin center)

    In Agent 365 within the Microsoft 365 admin center she opens the Contoso finance agent, showing creation date, creator and agent ID. Two separate actions exist: disable makes the agent unavailable, while block lets you select a reason but only removes it from Copilot, Teams and Microsoft 365.

  9. 21:12 Closing Depth 100 · Novelty 0/3

    Wrap-up: identity, authority, reach, accountability, containment

    Before approving an agent, check its identity, authority and reach (data access), make people accountable through sponsors and owners, and plan containment and retirement, since simply disabling an agent is like a disabled user account. Treat agents as identities and govern them like systems because they can act like service principals. The deck will be shared on GitHub; the session closes with thanks.

Announcements (0)

No specific announcement was made in this session.

Demos (3)

  • 05:53 Not stated Microsoft Entra

    Security admins review an agent identity and its blueprint for ownership, permissions and credentials.

    Steps (5)
    1. Open the Entra admin center and select the agent identity (Contoso finance assistant).
    2. Check the assigned sponsor (business) and owners (IT).
    3. Review identity access: confirm no permissions and no Entra roles are assigned.
    4. Open the agent blueprint and see which agents are linked to it, plus its owners and sponsors.
    5. Open the blueprint credentials: verify certificates, client secrets and federated credentials (here only a federated credential for Azure Blob Storage).

    Prerequisites: An agent created in Microsoft Foundry with an agent identity and blueprint in Entra; access to the Entra admin center.

  • 10:48 Not stated Microsoft Foundry

    Shows how an apparently least-privileged agent can read data it should not, because of a role assignment on the project managed identity.

    Steps (7)
    1. Open the finance assistant agent in Microsoft Foundry and confirm only a Blob Storage tool is connected and no web grounding.
    2. Run a starter prompt requesting finance data and observe the agent returns finance data from Blob Storage.
    3. Run a prompt requesting payroll data and observe access is denied.
    4. Run a prompt requesting HR data and observe HR data is returned.
    5. In the Azure portal, use Check access on the demo resource for the managed identity and see no access.
    6. Go to the correct subscription and Foundry project, check access again and find a role assignment granting access to the whole storage account with HR data.
    7. Return to the agent identity in Entra and confirm it still shows no permissions or user consent.

    Prerequisites: A Foundry project with an agent using an Azure Blob Storage tool; Blob Storage containing finance, HR and payroll data; access to Azure role assignments and the Entra admin center.

  • 19:47 Not stated Agent 365

    Admins locate an agent in Agent 365 and compare disabling it with blocking it.

    Steps (4)
    1. Open the Microsoft 365 admin center and go to Agent 365.
    2. Search for the agent (Contoso finance agent) and open it.
    3. Review the identity details: creation date, creator, agent ID.
    4. Use Disable to make the agent unavailable, or use Block and select a reason to remove it from Copilot, Teams and Microsoft 365.

    Prerequisites: Access to the Microsoft 365 admin center with Agent 365; an existing agent.

Watch on Microsoft’s site: THR1803