What is Microsoft Entra Agent ID?
Microsoft Entra Agent ID gives AI agents their own identities in a Microsoft Entra tenant, separate from human users and ordinary app registrations. An agent identity blueprint is the template: it holds the credential, the authentication settings and any inheritable permissions, and the agent identities created from it request tokens through it. Agents can act as themselves, on behalf of a signed-in user, or through a paired agent's user account when they need a mailbox or Teams presence. Every blueprint and agent identity has a sponsor, the person accountable for it.
Microsoft's docs describe Agent ID as generally available and open to all Entra customers. Copilot Studio gives every new agent an agent identity, and Foundry now creates a blueprint and identity for each new agent. For containerised agents, or agents not written in .NET, the Microsoft Entra ID Auth SDK sidecar (mcr.microsoft.com/entra-sdk/auth-sidecar, version 1.1.3 in the current docs) runs next to the agent, holds the blueprint credential and hands out tokens over localhost.
Creating identities is free. Conditional Access and governance for agents need a Microsoft Agent 365 licence on top of Entra ID P1 or P2, or Microsoft 365 E7, and Microsoft says ID Protection for agents will soon need one too.
How much does Microsoft Entra Agent ID cost?
| Plan | Price | What you get |
|---|---|---|
| Microsoft Agent 365 | $15/user/month | Paid yearly on an annual commitment; needs at least Entra ID P1 or Microsoft 365 E3 for Conditional Access |
| Microsoft 365 E7 | $99/user/month | Includes Agent 365 and Microsoft Entra Suite |
Agent ID itself is available to every Microsoft Entra customer at no extra charge. Conditional Access and lifecycle governance for agents need Microsoft Agent 365 at $15/user/month (paid yearly, annual commitment) with at least Entra ID P1 or Microsoft 365 E3, or Microsoft 365 E7 at $99/user/month, which includes Agent 365. Microsoft says ID Protection for agents will need Agent 365 soon.
Is Microsoft Entra Agent ID worth it?
An AI agent that files tickets or reads a shared mailbox needs a login of its own. Most teams give it one the quick way: an app registration with a client secret in an environment variable, shared by every copy of the agent. When something goes wrong, the sign-in log names a service principal, and nobody can say which agent it was or who set it up.
Microsoft Entra Agent ID gives each agent its own identity in your directory. A blueprint holds the credential and settings, the agent identities made from it get their tokens through it, and every one of them has a named sponsor. Copilot Studio and Foundry already create these identities for new agents, so many Microsoft tenants already hold some.
The defaults are stricter than for ordinary apps. According to Microsoft's FAQ, agent identities cannot be given Global Administrator, Privileged Role Administrator or User Administrator, cannot join role-assignable groups, and cannot be granted Graph permissions such as Application.ReadWrite.All or RoleManagement.ReadWrite.All. OWASP's Top 10 for Agentic Applications 2026 puts Identity and Privilege Abuse third on its list: agents that gain or inherit more access than their job needs. These blocks rule out the worst version of it.
For agents written in Python, Node or anything other than .NET, Microsoft ships the Auth SDK sidecar, a container the docs pin at version 1.1.3. It runs in the same pod or Container Apps app as your agent, holds the blueprint credential and talks to login.microsoftonline.com. Your agent keeps only client IDs and asks localhost for a ready-made Authorization header, and the API at the other end checks the token's signature, issuer, audience, lifetime and roles as it would for any Entra token.
Creating identities is free. Conditional Access for agents needs Microsoft Agent 365 at $15 per user per month on an annual commitment, paired with at least Entra ID P1, or Microsoft 365 E7 at $99 per user per month. Agent 365 is licensed per person, and Microsoft recommends a licence for anyone who uses, owns or sponsors a managed agent. For 500 people that is $90,000 a year before the prerequisite licences.
The catch: parts of it are still in preview, including the admin centre wizard, local agent sign-in and the single- or multi-instance blueprint setting. Audit logs record actions by agent identities as service principal activity unless you look up each object ID in Graph, and the admin consent workflow does not work for agent permission requests. Conditional Access only sees Entra tokens, so an API key the agent carries for another service sits outside it. Teams whose agents live on AWS or across clouds will find Amazon Bedrock AgentCore Identity and Okta for AI Agents closer to home.
Mind the security defaults as well. The sidecar's unauthenticated endpoints will mint app-only tokens for anything that can reach its port, so Microsoft says never to publish that port, to keep calls on loopback and to use a client secret only on a developer's machine; hosted agents should use a managed identity as a federated credential. And in a rollout that began on 4 November 2026, any user can create a blueprint unless an admin turns off "Users can create agent blueprints", and people keep control of blueprints they made before the switch.
Our take: for a company already on Entra, the blocked roles alone justify moving agents off plain app registrations, but budget for Agent 365 before you promise anyone Conditional Access on those agents, because Microsoft bills it per person.
Where it earns its place
A platform engineer running a Python agent on Azure Container Apps
Let the agent call our internal API without putting a secret in its container
Run the auth sidecar in the same app; it holds the blueprint's managed identity credential and fetches tokens from login.microsoftonline.com, while the agent container holds only client IDs and calls localhost:5000. Only the agent publishes a port, and the internal API validates each token's signature, audience and roles. The sidecar adds a container that Microsoft sizes at 128Mi of memory and 100m CPU at minimum.
An identity administrator at a 3,000-person company with dozens of Copilot Studio agents
Find out which agents exist, who owns them and stop risky ones signing in
Each Copilot Studio agent already has an agent identity with its creator recorded as sponsor. Microsoft's Conditional Access templates block high-risk agent identities and can target a blueprint, but licensing Agent 365 for all 3,000 people runs to $540,000 a year at list price, so deciding who needs a licence is the first budget question.
A security lead mapping agent risks to the OWASP Top 10 for Agentic Applications 2026
Show auditors that an agent cannot grant itself admin rights
Agent identities cannot hold Global Administrator, Privileged Role Administrator or User Administrator, and high-risk Graph permissions are rejected even for admins, which answers much of the Identity and Privilege Abuse item. Sign-in logs record each token request with credential type, but audit entries need a Graph lookup to tell agents from other service principals.
Before you commit
- Setup
- Agent ID is available in every Entra tenant. Follow Microsoft's setup tutorial to enable it, create a blueprint and an agent identity through the admin centre wizard (preview), Microsoft Graph or PowerShell, add a credential to the blueprint, grant API permissions and admin consent, then call it from Microsoft.Identity.Web, MSAL or the sidecar; Microsoft's samples run locally with Docker Compose.
- Integrations
- Copilot Studio and Foundry create agent identities automatically; Microsoft publishes guides for Amazon Bedrock and n8n agents and for migrating custom app registrations. The sidecar exposes HTTP endpoints for any language, and Client ID Metadata Documents (preview) let MCP clients reach Entra-protected MCP servers without prior registration.
- Data and privacy
- Agent sign-ins and changes land in Entra sign-in and audit logs; deleted agent identities are soft-deleted for 30 days, then removed permanently. The sidecar keeps an in-memory token cache per instance, and Microsoft says to treat the headers it returns as credentials and never log them.
- Cost at scale
- Identities are free. Policies on them need Agent 365 at $15 per user per month on an annual commitment, plus Entra ID P1 or P2, or Microsoft 365 E7 at $99 per user per month; Microsoft recommends licensing everyone who uses, owns or sponsors a managed agent.
- Cancelling and refunds
- Agent ID has no plan to cancel. Agent 365 is sold per user, paid yearly on an annual commitment; cancellation and refund terms are not published on the product page.
- Limits
- Third-party platforms using app-only permissions can create at most 250 agent identities per blueprint; non-admin users are capped at 250 owned objects; blueprints can use no more than 80% of a tenant's resource quota. Agent identities cannot join administrative units or use OpenID Connect or SAML single sign-on.
What’s good
- Free for every Entra customer, with a named sponsor on every agent
- Global Administrator and high-risk Graph permissions blocked for agents
- Sidecar keeps the blueprint credential out of the agent container
- Conditional Access can target a whole blueprint, including agents created later
What’s not
- Conditional Access for agents needs Agent 365 at $15/user/month
- Any user can create blueprints by default since the November 2026 rollout
- Audit logs record agent actions as service principal activity by default
- Wizard, local agent sign-in and instance modes still in preview
Best for
Identity and platform teams in organisations already on Microsoft Entra that are putting Copilot Studio, Foundry or home-built agents into production.
Microsoft Entra Agent ID alternatives
Microsoft Entra Agent ID: common questions
- Is Microsoft Entra Agent ID worth it?
- If your agents already sign in through Entra, Agent ID is the safer way to run them, but the protections worth having cost $15 a person each month. We rate it 4.1 out of 5.
- How much does Microsoft Entra Agent ID cost?
- Agent ID itself is available to every Microsoft Entra customer at no extra charge. Conditional Access and lifecycle governance for agents need Microsoft Agent 365 at $15/user/month (paid yearly, annual commitment) with at least Entra ID P1 or Microsoft 365 E3, or Microsoft 365 E7 at $99/user/month, which includes Agent 365. Microsoft says ID Protection for agents will need Agent 365 soon.
- What are the downsides of Microsoft Entra Agent ID?
- Conditional Access for agents needs Agent 365 at $15/user/month; any user can create blueprints by default since the November 2026 rollout; audit logs record agent actions as service principal activity by default; wizard, local agent sign-in and instance modes still in preview.
- Who is Microsoft Entra Agent ID best for?
- Identity and platform teams in organisations already on Microsoft Entra that are putting Copilot Studio, Foundry or home-built agents into production.
- How much does Microsoft Entra Agent ID cost for a team or in production?
- Identities are free. Policies on them need Agent 365 at $15 per user per month on an annual commitment, plus Entra ID P1 or P2, or Microsoft 365 E7 at $99 per user per month; Microsoft recommends licensing everyone who uses, owns or sponsors a managed agent.
- Is Microsoft Entra Agent ID safe for company data?
- Agent sign-ins and changes land in Entra sign-in and audit logs; deleted agent identities are soft-deleted for 30 days, then removed permanently. The sidecar keeps an in-memory token cache per instance, and Microsoft says to treat the headers it returns as credentials and never log them.
- How do I cancel Microsoft Entra Agent ID, and can I get a refund?
- Agent ID has no plan to cancel. Agent 365 is sold per user, paid yearly on an annual commitment; cancellation and refund terms are not published on the product page.
- What are the best Microsoft Entra Agent ID alternatives?
- The closest alternatives we have reviewed are Microsoft Foundry, Microsoft Copilot Studio and Amazon Bedrock.
Answers checked Nov 27, 2026.