Enterprise AI security conversations keep making the same category mistake.
Teams keep lumping four different architectures into one bucket:
- an application with an LLM feature
- a bounded assistant helping a user
- a runtime that can retrieve, decide, and act with real authority autonomously
- a user-like agent operating across collaboration systems
Those are not the same problem. They should not get the same identity model, the same permission model, or the same security controls.
When an AI workload becomes an agent#
An AI workload becomes an agent when it stops being a feature inside an application and starts behaving like a separate runtime with a role, its own operating boundary, and some combination of approved-source retrieval, tool use, or action-taking.
It becomes an autonomous agent when it acts with less direct human steering and takes actions with meaningful authority across systems.
It becomes an agent user when it needs a user-like persistent identity boundary because it authenticates into collaboration or productivity systems in ways that resemble a human worker, such as email, Teams, meetings, files, or calendars.
That distinction drives every downstream decision on identity, permissions, Conditional Access, and audit evidence.
Why agent workloads need agent-specific identities#
Service principals answer whether a non-human application can authenticate; agent identities govern what an autonomous runtime is allowed to do across its lifecycle.
Typically, applications run under a workload identity (a service principal or managed identity) with standing permissions attached to the host app or compute resource. That model answers one question:
- what non-human application can authenticate?
Agent identities answer a different set of questions:
- how is the runtime governed across its lifecycle?
- how does it authenticate, and how is privilege escalation handled?
- what audit logs are generated when it acts?
The four-level agent control ladder#
Controls scale cleanly when you map AI workloads onto a four-level ladder:
Enterprise AI control ladder
Authority changes shape as AI moves into the runtime.#
A ladder diagram showing Level 0 AI-enhanced app, a split into two Level 1 assistive agent shapes, then Level 2 autonomous, and Level 3 agent users.
Level 0AI-enhanced app Level 1Narrow assistive Level 1Rich assistive Level 2Autonomous Level 3Agent users
Level 0: AI-enhanced application#
The host app still owns the logic, permissions, and runtime. Least privilege on the host identity matters more than agent-specific governance. Focus CASB and app controls on the end-user experience, not the agent, because no separate runtime exists yet.
Level 1: Assistive agent#
Assistive agents split into Narrow Assistive and Rich Assistive tiers, grounded in constrained sources and mostly user-led through On-Behalf-Of (OBO) permissions. Standard RBAC controls carry the load here. An agent that only fetches content should only read, never delete. An agent that schedules meetings needs calendar write permissions, scoped to the calendar app rather than all SaaS.
Narrow Assistive: An FAQ bot that only retrieves from a single SharePoint site.
Rich Assistive: A sales support assistant that gathers approved internal content, drafts account messaging, and collects transcriptions to add summaries to opportunities. The runtime has a clearer role, retrieves from multiple approved sources, and proposes actions for human review instead of taking them directly. It remains human-led, but requires stronger ownership, evidence, and approval boundaries.
Level 2: Autonomous agent#
The runtime begins acting without direct human steering as events trigger single directives or multi-step workflows. Because the runtime takes actions over time, the control model has to harden materially: clear ownership, clear audit evidence, and stronger approval boundaries. Combine authentication, privilege escalation controls, and time-bound access to toolsets.
When an agent receives a signal, it may act under default permissions for routine steps, while sensitive data access requires an auditable, monitored approval flow. Because autonomous agents can be ephemeral, speed of request and approval becomes critical.
Level 3: Agent user#
The workload either operates like a worker identity across mail, Teams, meetings, calendars, and documents, or coordinates across systems with other higher-authority runtimes. The closer an agent gets to a human user, the more of your full security estate controls it requires.
Whose permissions are in play: delegated vs. app-only#
Delegated or On-Behalf-Of (OBO) access is the lower-concern pattern for assistive flows because effective permission is bounded by both app consent and user rights.
It is not harmless: a high-privilege user paired with high-privilege delegated scopes still creates meaningful risk, but the boundary stays clear.
App-only or workload-identity access#
App-only access is the higher-concern pattern because no signed-in user sits in the access decision. The runtime acts under its own standing authority through application permissions, app roles, RBAC, or another workload identity path.
That model fits some scenarios, and it is also where blast radius expands. Once a system can act with no user present, the control model has to tighten.
When RBAC and Conditional Access need to step up#
RBAC answers what a workload is allowed to do; Conditional Access answers under what conditions it is allowed to get in.
- RBAC matters as soon as the workload can touch anything important.
- Conditional Access matters as soon as sign-in context or runtime risk should gate access.
Microsoft documentation draws a sharp line between the two policy surfaces:
- Conditional Access for workload identities applies to service principals requesting tokens.
- Conditional Access for Agent ID applies to agent identities and agent users requesting tokens for resources.
Service principal policies and agent policies are not the same control surface. For lower-authority assistive scenarios, delegated or OBO access with user-scoped controls is usually the cleaner design. For higher-authority runtimes acting as themselves, plan for runtime-identity Conditional Access, tighter lifecycle review, and faster disable paths.
What Agent ID adds to governance#
Service principal governance covers generic application plumbing; Agent ID adds lifecycle, sponsorship, and entitlement controls built specifically for agents.
Generic service principal governance tracks app permissions, RBAC assignments, credentials, ownership, and reviews. That leaves critical operational questions unanswered. Does an identity represent:
- a development-time agent?
- a published runtime?
- a blueprint artifact?
- a user-like agent identity?
- a generic application that happens to call an LLM?
Agent ID answers those questions directly. Its governance model applies sponsorship, entitlement management, access packages, lifecycle decisions, and accountability models designed for agents as agents, not apps as apps. Agent ID exists to solve agent governance, not just authentication.
Four layers of agent audit evidence#
Agent-aware identity does not remove the need for runtime telemetry. Track four evidence layers separately:
- Azure control-plane activity
- Entra sign-in and token evidence
- tool and connector telemetry
- application-level runtime and retrieval telemetry
Both service-principal workloads and Agent ID-native runtimes produce Entra and Azure evidence, but identity evidence is not runtime evidence. When an agent calls tools through MCP servers, each server sits between the agent runtime and the downstream system. The MCP protocol defines a standard logging capability so every connected server can emit its own audit trail. Relying only on identity tokens and application logs leaves a blind spot between “the agent decided to act” and “the downstream system changed.”
Even with Agent ID and tool-level telemetry, you still need application-side logs to see:
- what the agent retrieved
- which tools it called and what those servers did downstream
- why it took an action
- whether a proposed or completed action was user-approved or self-initiated
That gap grows sharper as a workload moves from assistive to autonomous behavior.
When to keep a service principal vs. move to Agent ID#
Do not modernize an AI-enhanced application just to adopt a new label.
Keeping a service principal or managed identity makes sense when:
- the workload is still primarily an application feature
- its behavior is predictable and tightly bounded
- managed identity already solves the real problem cleanly
- there is no meaningful need for agent-aware lifecycle governance yet
Modernization becomes compelling when the workload operates as a managed runtime:
- it has a distinct, purpose-built agent role
- it retrieves from governed sources across systems
- it uses tools or connectors with meaningful authority
- it needs separation between dev and published runtime identities
- it needs independent auditability from the host app
- it needs sponsorship, entitlement, or broader estate governance
- it is turning into another opaque service principal carrying agentic behavior nobody can classify cleanly
At that point, Agent ID stops looking like plumbing and starts working as a governance boundary.
A Practical Decision Rule#
- Keep a service principal or managed identity when the workload is an application feature with generic workload identity needs.
- Move to Agent ID when the workload is a managed agent runtime with distinct authority, lifecycle, and estate-governance needs.
That rule is intentionally plain, and it is the one I trust most.
Sequencing modernization for older AI estates#
Treat modernization of pre-Agent ID environments as a sequencing problem, not a lift-and-shift. Not every existing AI workload needs a blueprint tomorrow.
Follow this order:
- inventory the estate honestly
- classify workloads by actual behavior, not marketing labels
- identify the current identity path for each workload
- reduce broad standing permissions on the host identity
- separate the agent runtime from the host app where that boundary is now meaningful
- introduce blueprints and distinct agent identities when the workload is ready to be managed as a class of agents
In the current Foundry and Agent ID model, a blueprint is more than metadata: it serves as the governing template and identity creation authority for a class of agents. Introduce it once a workload crosses from “host app with LLM calls” into “managed runtime with its own lifecycle and control requirements.”
What needs to mature next#
Assigning identities to AI workloads lets security teams extend existing identity controls and policies to their agentic estate. Defense in depth remains mandatory because AI has expanded the scale and speed of AI-accelerated actions available to attackers while exposing pre-existing risks faster. The more an agent acts like a user, the more user-compromise signals apply, and the faster response must operate: at the speed of signal rather than human review or manual API intervention.
Three capabilities I want to see in the next iterations:
- Clear agent class tags. Security teams should see at a glance whether an identity is assistive, autonomous, or an agent user.
- Environment tags for production vs. development. Separating dev noise from production risk acceptance makes it far easier to see which identities carry real organizational exposure.
- Unified identity representation. A single logical agent should map to a single identity, keeping runtime identity lists separate from the templates and blueprints that onboard them (much like an HR system of record separates job role templates from individual worker accounts).
References#
- Agent identity concepts in Microsoft Foundry
- Publish and share agents in Microsoft Foundry
- Security for AI agents with Microsoft Entra Agent ID
- Governing Agent Identities (Preview)
- Overview of permissions and consent in the Microsoft identity platform
- Microsoft identity platform and OAuth 2.0 On-Behalf-Of flow
- Conditional Access for workload identities
- Conditional Access for Agent ID (Preview)