Every enterprise that experimented with copilots in 2024 is now deploying agents that act — reading mailboxes, creating tickets, running remediation scripts, and chaining calls across SaaS APIs with minimal human supervision. Microsoft's own framing at Ignite 2025 was telling: the introduction of Microsoft Entra Agent ID was billed as "the largest expansion of Microsoft Entra capabilities to date," explicitly extending Zero Trust principles to AI workloads. That is not marketing hyperbole so much as an admission that the identity stack we built for humans and daemons does not survive contact with autonomous, tool-wielding software.

This article walks through why agentic AI breaks traditional identity assumptions, how Entra Agent ID models the agent identity lifecycle, how to apply least privilege and Conditional Access to agents, how to secure tool invocation, what monitoring and deprovisioning look like, and how it all assembles into a Zero Trust reference architecture.

Why agentic AI breaks traditional identity assumptions

Classical IAM rests on a handful of assumptions that agents quietly violate:

The practical consequence: running agents under shared secrets, borrowed user tokens, or a single over-privileged service principal collapses accountability exactly when you need it most — during an incident.

Microsoft Entra Agent ID and the agent identity lifecycle

Entra Agent ID, announced in preview at Build 2025 and expanded substantially at Ignite 2025, makes agents first-class principals in the directory. Per the agent identities overview, an agent identity is a special kind of service principal with a few distinctive properties:

The lifecycle mirrors joiner–mover–leaver, compressed: register the blueprint (or onboard one from the Agent Registry), instantiate agent identities from it, operate with blueprint-mediated tokens, and retire by disabling or deleting identities — with blueprint-level disablement as the fleet-wide kill switch. The platform supports three token acquisition patterns: autonomous app tokens (subject is the agent), user tokens where the subject is a user and the actor is the agent identity, and incoming tokens where the agent is the audience. That actor/subject split is what preserves "on behalf of" attribution end-to-end.

Least privilege and Conditional Access for agents

Least privilege for agents is a design activity, not a cleanup task. The least-privilege pattern recommends task-based roles scoped to resource, data, and action boundaries; separation of read and write roles; and time-limited privilege through just-in-time elevation (e.g., Entra Privileged Identity Management) so high-impact rights exist only for the duration of a workflow.

Conditional Access has been extended to agent identities with a crucial adaptation: since device, location, and MFA signals don't exist for agents, risk becomes the primary signal. Microsoft Entra ID Protection for agents continuously evaluates agent behavior and emits a risk level, detecting offline risk types such as unfamiliar resource access, sign-in spikes, and failed access attempts. A dedicated Conditional Access template blocks high-risk agent identities, so a compromised agent loses token access without waiting for a human to notice.

Be clear-eyed about current limits, as the community documentation on Conditional Access for agent identities spells out: these policies control whether an agent identity can acquire a token and can block specific or risky agents — they do not enforce MFA, authentication strength, device/location conditions, or session controls. Design accordingly: agent CA is an identity-perimeter gate, and the real enforcement must also live at the resource and tool layers.

Securing tool and plugin invocation

Tools are where agent risk concentrates. A single prompt injection in a retrieved document can turn "summarize this workspace" into "export this workspace" if the agent can invoke any available tool. The controls that matter:

  1. Tool allowlists, not tool catalogs. Deny unreviewed tools and plugins by default; allowlist only the actions the workflow needs ("create/update ticket" but never "delete"). Microsoft's guidance is explicit that high-impact actions — delete, export, privilege change — should be gated by approval or JIT elevation.
  2. Re-validate authorization at every hop. Do not trust the orchestrator's decision downstream. Each tool and API should independently check the token's subject, actor, roles, and scopes. The orchestrator → tool → downstream service chain is only as strong as its weakest unchecked hop.
  3. Use the agent token claims. The agent identity platform issues tokens where the subject may be the user and the actor is the agent. Resource servers should log and authorize against both — this is how you distinguish "Alice asked the agent to read her calendar" from "the agent acted autonomously."
  4. Consent scoping via blueprints. Because Graph permissions are granted on the blueprint and inherited by its agent identities, the consent surface is reviewable and uniform — and revocable at fleet scale.
  5. Prompt-injection defense in depth. Identity controls contain the blast radius but don't prevent malicious instructions. Pair them with content-layer defenses like the AI Prompt Shield capabilities in Entra Internet Access and runtime detections in Microsoft Defender.

Monitoring and deprovisioning agent identities

You cannot govern what you cannot see. Agent activity lands in the surfaces you already operate: Entra sign-in and audit logs capture agent events, with a dedicated agentSignIn resource type carrying agent-specific properties, while audit events are recorded under the base identity type (agent identity creation appears as "Create service principal"). Stream these into Microsoft Sentinel alongside your workload identity detections.

For behavior analytics, the Risky Agents report in ID Protection lets admins confirm compromise, confirm safe, dismiss risk, or disable the agent directly. The discipline to build:

A Zero Trust reference architecture for AI agents

Putting it together, mapped to the three Zero Trust principles:

Verify explicitly. Every agent is a first-class Entra agent identity minted from a registered blueprint, with a named sponsor. Tokens flow blueprint → agent identity → resource, with user-delegated calls carrying the agent as actor. No shared secrets, no borrowed user sessions.

Use least-privilege access. Task-scoped RBAC with read/write separation, tool and action allowlists enforced at each hop, JIT elevation via PIM for destructive operations, and consent managed at the blueprint. Conditional Access gates token issuance; risk-based policies block high-risk agents automatically.

Assume breach. Single-tenant identities bound lateral movement. ID Protection for agents watches behavior continuously; sign-in and audit logs flow to Sentinel with correlation IDs across the orchestrator → tool → resource chain; blueprint-level disablement and credential rotation provide a tested, fast kill switch; and Microsoft Agent 365 provides the control plane — registry, access control, and monitoring — across Copilot Studio, Foundry, and third-party agents.

The throughline is simple: agents are not a feature of your identity system; they are a new identity population. Treat them with the same rigor you (should) apply to humans and workload identities — unique identities, named owners, scoped access, continuous evaluation, and rehearsed revocation — and the agentic enterprise becomes governable rather than merely exciting.