Dapr integration with Azure Container Apps

Distributed Application Runtime (Dapr) provides APIs that run as a sidecar process that helps you write and implement simple, portable, resilient, and secured microservices. Dapr works together with Azure Container Apps as an abstraction layer to provide a low-maintenance, serverless, and scalable platform. Enabling Dapr on your container app creates a secondary process alongside your application code that simplifies application intercommunication with Dapr via HTTP or gRPC.

Dapr in Azure Container Apps

Configure Dapr for your container apps environment with a Dapr-enabled container app, a Dapr component configured for your solution, and a Dapr sidecar invoking communication between them. The following diagram demonstrates these core concepts related to Dapr in Azure Container Apps.

Diagram demonstrating Dapr pub/sub and how it works in Container Apps.

Label Dapr settings Description
1 Container Apps with Dapr enabled Dapr is enabled at the container app level by configuring a set of Dapr arguments. These values apply to all revisions of a given container app when running in multiple revisions mode.
2 Dapr The fully managed Dapr APIs are exposed to each container app through a Dapr sidecar. The Dapr APIs can be invoked from your container app via HTTP or gRPC. The Dapr sidecar runs on HTTP port 3500 and gRPC port 50001.
3 Dapr component configuration Dapr uses a modular design where functionality is delivered as a component. Dapr components can be shared across multiple container apps. The Dapr app identifiers provided in the scopes array dictate which dapr-enabled container apps load a given component at runtime.

Supported Dapr APIs, components, and tooling

Managed APIs

Azure Container Apps offers managed generally available Dapr APIs (building blocks). These APIs are fully managed and supported for use in production environments.

To learn more about using alpha Dapr APIs and features, see the Dapr FAQ.

Diagram that shows Dapr APIs.

API Status Description
Service-to-service invocation GA Discover services and perform reliable, direct service-to-service calls with automatic mTLS authentication and encryption. See known limitations for Dapr service invocation in Azure Container Apps.
State management GA Provides state management capabilities for transactions and CRUD operations.
Pub/sub GA Allows publisher and subscriber container apps to intercommunicate via an intermediary message broker. You can also create declarative subscriptions to a topic using an external component JSON file. Learn more about the declarative pub/sub API.
Bindings GA Trigger your applications based on events
Actors GA Dapr actors are message-driven, single-threaded, units of work designed to quickly scale. For example, in burst-heavy workload situations.
Observability GA Send tracing information to an Application Insights backend.
Secrets GA Access secrets from your application code or reference secure values in your Dapr components.
Configuration GA Retrieve and subscribe to application configuration items for supported configuration stores.

Tier 1 versus Tier 2 components

A subset of Dapr components is supported. Within that subset, Dapr components are broken into two support categories: Tier 1 or Tier 2.

  • Tier 1 components: Stable components that receive immediate investigation in critical (security or serious regression) scenarios. Otherwise, Microsoft collaborates with open source to address in a hotfix or the next regular release.
  • Tier 2 components: Components that are investigated on a lesser priority, as they're not in stable state or are with a third party provider.
Tier 1 components
API Component Type
State management Azure Blob Storage v1
Azure Table Storage
Microsoft SQL Server
Publish & subscribe Azure Service Bus Queues
Azure Service Bus Topics
Azure Event Hubs
Binding Azure Storage Queues
Azure Service Bus Queues
Azure Blob Storage
Azure Event Hubs
Secrets management Azure Key Vault secrets.azure.keyvault
Tier 2 components
API Component Type
State management Azure Cosmos DB
MySQL & MariaDB
Publish & subscribe Apache Kafka
Redis Streams
Binding Azure Event Grid
Azure Cosmos DB
Apache Kafka
Configuration PostgreSQL


Azure Container Apps ensures compatibility with Dapr open source tooling, such as SDKs and the CLI.


  • Dapr Configuration spec: Any capabilities that require use of the Dapr configuration spec.
  • Any Dapr sidecar annotations not listed in the Dapr enablement guide
  • APIs and components support: Only the Dapr APIs and components listed as GA, Tier 1, or Tier 2 in this article are supported in Azure Container Apps.
  • Actor reminders: Require a minReplicas of 1+ to ensure reminders is always active and fires correctly.
  • Jobs: Dapr isn't supported for jobs.

Next Steps