You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**Key-based**<sup>*</sup> | Agent authenticates by passing a shared [function access key](./function-keys-how-to.md) in the request header. | During development or when the MCP server doesn't require Microsoft Entra authentication. | None | Yes |
44
-
|**Microsoft Entra**| Agent authenticates using either its own identity (*agent identity*) or the shared identity of the Foundry project (*project managed identity*). |Production-level security where users or agents share the same identity and permissions. |[Disable key-based authentication](functions-mcp-tutorial.md?tabs=mcp-extension#disable-key-based-authentication) and [configure built-in server authorization and authentication](functions-mcp-tutorial.md?tabs=mcp-extension#enable-built-in-server-authorization-and-authentication). | Project managed (shared) identity |
45
+
|**Microsoft Entra**| Agent authenticates using either its own identity (*agent identity*) or the shared identity of the Foundry project (*project managed identity*). |Agent identity supports production scenarios, but shared identity should be limited to development. |[Disable key-based authentication](functions-mcp-tutorial.md?tabs=mcp-extension#disable-key-based-authentication) and [configure built-in server authorization and authentication](functions-mcp-tutorial.md?tabs=mcp-extension#enable-built-in-server-authorization-and-authentication). | Project managed (shared) identity |
45
46
|**OAuth identity passthrough**| Agent prompts users to sign in and authorize access, using the provided token to authenticate. | Production when each user must authenticate with their own identity and user context must be persisted. | Not yet determined | No |
46
47
|**Unauthenticated access**| Agent makes unauthenticated calls. | During development or when your MCP server accesses only public information. |[Disable key-based authentication](functions-mcp-tutorial.md?tabs=mcp-extension#disable-key-based-authentication). | Yes |
47
48
@@ -108,6 +109,36 @@ Because unauthenticated access requires no shared secrets or authentication, you
108
109
109
110
---
110
111
112
+
## Disable key-based authentication
113
+
114
+
Key-based authentication is the default for an MCP endpoint hosted in Azure Functions. To use a different authentication method, change the MCP endpoint authentication to `anonymous`. The way that you make this change depends on the type of MCP server you are hosting:
0 commit comments