Skip to content

Last update 

Adoption · Operate

Identity and governance for enterprise MCP

Govern agents with Microsoft Entra Agent ID, evaluate Enterprise-Managed Authorization, and layer Azure controls.

Why agent identity requires more than API authentication

Unlike predictable web, mobile, or backend API callers, MCP agents pick tools and parameters from untrusted inputs:

  • User prompts that may carry hostile instructions.
  • Tool descriptions attackers may poison or alter.
  • Prior tool outputs that may inject untrusted data.

Authentication alone does not stop an authorized agent that uses tainted context. Verify five dimensions before each sensitive operation:

  • Identity. Identify the user, agent, and MCP client.
  • Authorization. Confirm the caller holds the required tool and data scopes.
  • Context. Inspect the data the agent read and its prior tool calls.
  • Intent. Confirm the tool call matches the user's task.
  • Approval. Check whether a high-impact action needs human confirmation.

Microsoft Entra Agent ID

Microsoft Entra ID models each agent as a Uses an agent subtype; available to all Microsoft Entra ID tenants since April 2026.. Provision agents via Entra Agent ID Agent identities and blueprints Checked · Source page All Entra ID tenants include it. Extended agent security requires Microsoft Agent 365 or Microsoft 365 E7.. Entra ID documentation advises against traditional service principals for AI agents.

Entra ID agent security and observability require Agent 365 Observability and governance Checked · Source page Commercial tenants license it per user via Microsoft 365 E7 or an add-on..

Agent identity blueprints

An agent identity blueprint is a template that holds credentials and settings for one or more agent identities. Follow three rules:

Conditional Access for agents

Allow only approved agents and blueprints with Entra Agent ID Conditional Access for agent identities and blueprints Checked · Source page It requires Microsoft 365 E7, or Agent 365 with Entra ID P1 or E3. It does not cover delegated on-behalf-of user requests.. Block high-risk autonomous agents with Entra Agent ID Conditional Access Agent risk condition Checked · Source page It requires Agent 365 licensing and either Entra ID P2 or Microsoft 365 E5.. See Secure autonomous agents with Conditional Access for policy setup. See MCP07 Insufficient Authentication and Authorization for identity and blueprint configuration.

Agent identity policies do not cover delegated user flows

Keep user Conditional Access policies for delegated flows. Agent identity policies do not evaluate requests on behalf of a signed-in user. Entra ID applies the signed-in user's policies to delegated on-behalf-of requests instead. See Conditional Access for agent identities.

Enterprise-Managed Authorization

Extension status

io.modelcontextprotocol/enterprise-managed-authorization is a Stable official MCP extension outside the core specification. It began as a Specification Enhancement Proposal (SEP), SEP-990, with MCP specification 2025-11-25. The MCP project declared it stable on 2026-06-18 and published revision 2026-07-28 on 2026-10-23. See What's new.

Enterprise-Managed Authorization lets an enterprise identity provider govern MCP OAuth grants and revocation centrally without per-server prompts:

  1. The MCP client exchanges its user identity assertion via RFC 8693 at the identity provider with requested_token_type set to urn:ietf:params:oauth:token-type:id-jag. The provider returns an Identity Assertion JWT Authorization Grant (ID-JAG), defined in an IETF Internet-Draft.
  2. The MCP client sends the ID-JAG to the MCP server's authorization server as an RFC 7523 jwt-bearer grant.
  3. The authorization server validates the ID-JAG against the trusted identity provider and issues a scoped access token for the MCP server.

Microsoft Entra ID support for ID-JAG is not yet verified

Treat Entra ID ID-JAG issuance as unverified until Microsoft publishes formal support documentation. No Microsoft Learn page confirms Entra ID Enterprise-Managed Authorization ID-JAG issuance Checked · Source page No Microsoft documentation confirms Entra ID issues ID-JAGs. Live /oauth21/2026-08 metadata lists the token type.. Live /oauth21/2026-08 discovery metadata advertises the token type. A 2026-07-16 Microsoft blog post notes the Entra ID and Azure App Service path does not issue ID-JAGs. The MCP Enterprise-Managed Authorization implementation list names Okta, Ping Identity, Auth0, Descope, and other providers, not Entra ID.

Microsoft Learn does not document Entra ID RFC 8693 token exchange grant Checked · Source page Microsoft Learn does not document it, though /oauth21/2026-08 metadata lists it. Use Entra ID On-Behalf-Of flows instead.. For delegated downstream API calls from an MCP server on Azure, use Entra ID On-Behalf-Of OAuth flow Checked · Source page Middle-tier MCP servers must validate their own audience claim and relay Conditional Access claims challenges to callers.. Validate the caller token's audience (aud) claim against your MCP server before you call the On-Behalf-Of endpoint. Relay Conditional Access claims challenges to the MCP client as HTTP 401 with a WWW-Authenticate header.

Layered control strategy

Layer controls across four boundaries so each layer catches a prior bypass:

Layer Controls Azure services
1. Gateway Entra ID token validation, rate limits, IP restrictions, per-server tool lists API Management, AI Gateway
2. Capability Tool authorization, data sensitivity checks, human write approval MCP server code, Entra Agent ID, Foundry
3. Data Per-item data-layer authorization, sensitivity classification, private network access Cosmos DB, Purview, private endpoint
4. Audit and monitoring Structured tool telemetry, central queries, threat alerts Application Insights, Log Analytics, Sentinel

Identity and governance checklist

Confirm these controls before rollout:

  • Provision dedicated Entra Agent ID identities and blueprints, not shared traditional service principals.
  • Replace blueprint client secrets with managed identity federated credentials.
  • Apply Conditional Access to autonomous agent blueprints and keep user policies for delegated flows.
  • Use Entra ID On-Behalf-Of for downstream API calls, not token passthrough or undocumented RFC 8693 grants.
  • Enforce independent authorization at the gateway, MCP server, and data layers.

Related risks: MCP01 Token Mismanagement and Secret Exposure, MCP02 Privilege Escalation via Scope Creep, MCP07 Insufficient Authentication and Authorization, MCP08 Lack of Audit and Telemetry

Return to Enterprise patterns.