Entra Agent ID¶
Learning Status
π Initial overview complete β deeper dive pending. Last updated: 2026-04-04.
β CafΓ© Analogy¶
Every human staff member has an ID badge β it says who they are, what role they have, and what rooms they can access. Without a badge, they can't enter the kitchen.
Now your robot baristas need the same thing. Entra Agent ID is the ID badge system for AI agents β unique identity, defined permissions, everything logged.
What Is Entra Agent ID?¶
A new identity type in Microsoft Entra purpose-built for AI agents β distinct from user accounts, devices, and traditional service principals.
| Detail | |
|---|---|
| What | Unique identity for each AI agent in your org |
| Where | Microsoft Entra ID (same place you manage user identities) |
| Status | Public Preview (2026) |
| Key concept | Agents are now first-class citizens alongside users and devices |
Why a New Identity Type?¶
Before Entra Agent ID, organisations used service principals or managed identities for automation β but these were designed for apps and services, not autonomous AI agents:
- Service Principal: "Who ran that query?" β "Some app" β Which team? No idea.
- Shared credentials: 5 agents use the same secret β one compromised, all at risk
- No metadata: Can't tell WHAT the agent does, WHO owns it, or WHY it exists
- No lifecycle: Orphaned service principals live forever with full permissions
The Identity Comparison¶
| Service Principal | Managed Identity | Entra Agent ID | |
|---|---|---|---|
| Designed for | Apps & services | Azure resources | AI agents |
| Credential management | You manage secrets | Azure manages | Platform-managed |
| Metadata | β No purpose/owner info | β No | β Purpose, owner, environment, capabilities |
| Azure only? | No (works anywhere) | Yes (Azure only) | No (works anywhere) |
| Lifecycle management | Manual | Tied to resource | β Create β deploy β review β retire |
| Conditional Access | Basic | Basic | β Rich, agent-specific policies |
| Audit trail | Generic app logs | Generic | β Every action attributed to specific agent |
| Best for AI agents? | β οΈ Workaround only | β Not designed for it | β Purpose-built |
π‘ Key insight for customers: If they're using service principals for AI agents today, they're doing it the old way. Entra Agent ID is the proper way forward.
How It Works β Blueprints¶
Agents are created from blueprints β templates that define:
βββββββββββββββββββββββββββββββββββββββ
β AGENT BLUEPRINT β
β β
β Name: "Sales Forecast Bot" β
β Owner: john@contoso.com β
β Purpose: Quarterly forecasting β
β Environment: Production β
β Capabilities: β
β - Read Excel files β
β - Access SharePoint Sales site β
β - Send emails (with approval) β
β Parent app: Copilot Studio β
β Permissions: Least-privilege β
βββββββββββββββββββββββββββββββββββββββ
β
βΌ Creates
βββββββββββββββββββββββββββββββββββββββ
β ENTRA AGENT ID β
β β
β Object ID: abc-123-def-456 β
β Type: Agent (new!) β
β Auth: Short-lived OAuth 2.0 β
β CA Policy: "Agents-Production" β
β Audit: Every action logged β
β Lifecycle: Active β Review β Retireβ
βββββββββββββββββββββββββββββββββββββββ
Security Features¶
| Feature | How It Protects |
|---|---|
| Short-lived tokens | OAuth 2.0 tokens expire quickly β no long-lived secrets |
| Conditional Access | Apply policies like "block agent outside business hours" |
| Least privilege | Only grant permissions the agent actually needs |
| Access reviews | Periodic reviews β is this agent still needed? |
| Shadow agent detection | Discover unsanctioned agents in your environment |
| Orphan prevention | Mandatory owner assignment β no agent without an accountable human |
How It Connects to Agent 365 and Copilot Cowork¶
Entra Agent ID ββ Agent 365 ββ Copilot Cowork
(identity) (governance) (execution)
WHO HOW WHAT
"Who is this "What rules "What is the
agent?" apply?" agent doing?"
- Entra Agent ID = the agent's identity (name badge)
- Agent 365 = the governance dashboard (manager's office)
- Copilot Cowork = the agent doing actual work (the robot barista)
Customer FAQ¶
| Question | Answer |
|---|---|
| "Why can't we just use service principals?" | You lose metadata, lifecycle, owner attribution, and agent-specific CA policies. It's like using a shared login instead of personal accounts. |
| "Does this replace managed identities?" | No β managed identities are still best for Azure resource-to-resource auth. Agent ID is for autonomous AI agents. |
| "Is this free?" | Included with Entra ID P1/P2. Advanced governance with Agent 365 ($15/user/month). |
| "Can we audit what agents did?" | Yes β every action logged with the specific Agent ID. Full audit trail in Purview. |
| "What about third-party agents?" | Can be registered in the Entra agent registry and governed the same way. |