Skip to content

Authentication

Three methods for authenticating MCP Dataverse to Dataverse. Choose based on where the server runs and who manages the identity.

MethodWhere the server runsIdentity calling DataverseSecrets to manage
Device CodeYour laptopYour user accountNone
Client CredentialsAny server or CI/CDApp Registration (service principal)One client secret
Managed IdentityAzure (App Service, Container Apps)Azure-managed server identityNone

Decision guide:


Hosted deployment note: when the MCP server runs as a shared HTTP endpoint on Azure, there are two independent auth layers:

  • Inbound — how MCP clients authenticate to the MCP server (Entra ID JWT)
  • Outbound — how the MCP server authenticates to Dataverse (Managed Identity)

The Managed Identity page covers both layers.