Authentication

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

Method Where the server runs Identity calling Dataverse Secrets to manage
Device Code Your laptop Your user account None
Client Credentials Any server or CI/CD App Registration (service principal) One client secret
Managed Identity Azure (App Service, Container Apps) Azure-managed server identity None

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.


Table of contents