Entra Agent ID and Zero Trust
TL;DR: You will give AI agents first-class identities with Microsoft Entra Agent ID, wrap them in Conditional Access and Zero Trust controls, and audit risky agent behaviour at the identity layer so non-human actors are governed exactly like users.
What you will learn
- How Microsoft Entra Agent ID provides purpose-built, governed identities for assistive and autonomous agents.
- How to map the three Zero Trust principles (verify explicitly, least privilege, assume breach) onto agent identities.
- How to author and scope Conditional Access policies that target agents rather than users.
- How to use Identity Protection to surface risky agents and Identity Governance to manage their access lifecycle.
- Where to find sign-in and audit logs that prove what an agent did and when.
Prerequisites
- A Microsoft 365 Copilot licence with the Frontier program enabled (Agent ID ships through Frontier in Microsoft 365).
- Microsoft Entra ID P1 for Conditional Access and Identity Governance for agents, and Microsoft Entra ID P2 for Identity Protection (risky agents). Microsoft 365 E5 covers these.
- Microsoft Agent 365 licences if your agents must operate across Microsoft 365 services and enterprise workflows.
- Roles: Conditional Access Administrator (or Security Administrator), Identity Governance Administrator, and a Billing Administrator to confirm Frontier is enabled.
- Familiarity with Conditional Access policy authoring for human users; this tutorial assumes you have built user-targeted policies before.
Understand the agent identity model
Microsoft Entra Agent ID extends Entra to non-human actors. Each agent receives an agent identity, an account in Microsoft Entra ID that authenticates, authorises, and is governed with the same machinery you already use for people. Agent identity blueprints act as templates that create individual identities with parent-child relationships, so consistent policy applies across large fleets of agents.
Step 1: Confirm Agent ID is available
- Sign in to the Microsoft 365 admin center as a Billing Administrator.
- Browse to Copilot, then Settings, then User access, then Copilot Frontier, and confirm it is enabled for your users.
- If the option is missing, check your Microsoft 365 Copilot licensing with your tenant administrator before continuing.
Step 2: Locate agent identities in Entra
- Open the Microsoft Entra admin center and review the agent identities created when your agents were registered.
- Confirm each agent has a responsible owner recorded, so oversight exists for the whole agent lifecycle.
- Note the protocols each agent uses (for example OAuth 2.0, MCP, or A2A) because these inform later access decisions.
Apply Zero Trust to agents
Zero Trust is a strategy, not a product, built on three principles: verify explicitly, use least privileged access, and assume breach. Agents are first-class subjects in that model, so apply each principle to them deliberately.
Step 3: Verify explicitly with Conditional Access
- In the Entra admin center, create a Conditional Access policy and set the target to agent identities rather than users.
- Scope the policy to the specific agents or blueprint you want to govern, not to all identities at once.
- Under conditions, evaluate signals such as the resource being accessed and the network location of the request.
- Set grant controls so only agents meeting your conditions can reach sensitive resources, then create the policy in report-only mode first.
- Review the report-only impact before switching the policy on, exactly as you would for a user-facing policy.
Step 4: Enforce least privilege with Identity Governance
- Use Identity Governance for agents to grant each agent only the access it needs for its task, and no more.
- Apply time-bound access so an agent’s permissions do not persist longer than required, mirroring just-in-time access for humans.
- Assign a responsible person to provide oversight across the agent’s lifecycle, then schedule access reviews to confirm the grant is still justified.
Step 5: Assume breach with Identity Protection
- Enable Identity Protection for agents to detect risky agent behaviour at the identity layer.
- Treat a flagged risky agent the same way you treat a risky user: investigate, then contain by disabling or re-scoping the identity.
- Combine this with network controls for agents to log activity, filter malicious destinations, and block prompt-injection attempts that try to manipulate agent behaviour.
Audit and prove agent behaviour
Assume breach also means you must be able to reconstruct what happened. Agent authentication and activity are logged for compliance and audit, giving you the evidence trail regulators and incident responders expect.
Step 6: Review sign-in and audit logs
- Open the sign-in and audit logs for agents in the Entra admin center.
- Filter to a single agent identity to see every authentication and the resources it touched.
- Forward agent network activity to your SIEM or remote tooling so threat detection and retention align with your existing controls.
- Validate that an investigator could answer who, what, and when for any agent action using only these logs.
Governance call-outs
- Least-privilege knowledge: an over-permissioned agent can read far more data than its task needs; scope access per blueprint and review it regularly.
- Identity sprawl: agent blueprints can spawn many child identities; ensure every agent has a named responsible owner and an expiry, or orphaned agents accumulate.
- Data leakage and exfiltration: pair Conditional Access with network controls for agents to block malicious destinations and restrict file uploads and downloads.
- Compliance gates: confirm the licences that enable each control (P1 for Conditional Access and Governance, P2 for Identity Protection) are in place before you rely on a policy.
- Audit trails: agents are non-human but accountable; verify sign-in and audit logs flow to your SIEM and are retained to meet your compliance obligations.
Next step
Continue with the next tutorial.