Dead-letter queue
A dead-letter queue stores messages that could not be delivered or processed successfully.
- Aliases
- DLQ
- Difficulty
- fundamentals
- CLI mappings
- 11
- Last verified
- 2026-05-03
A dead-letter queue stores messages that could not be delivered or processed successfully.
A dead-letter queue stores messages that could not be delivered or processed successfully.
Microsoft Learn: Azure integration services documentation2026-05-03
In Azure, Dead-letter queue belongs to the Messaging area and usually shows up when a workload crosses resource configuration, identity, networking, data, or operations boundaries. The mapped CLI commands, especially commands near az servicebus topic, help turn the term from a definition into something you can inventory, verify, automate, or troubleshoot.
Dead-letter queue matters because integration and messaging decisions become production behavior: cost, security, reliability, performance, and supportability all depend on whether the team understands the resource, setting, or pattern before changing it.
Signals, screens, and Azure surfaces where this term usually becomes operational.
Messaging
Service Bus namespace
Event Hubs namespace
Event Grid topic
Logic App designer
Specific situations where this term helps solve real Azure design, operations, migration, security, reliability, cost, or governance problems.
Different enterprise-style examples that show the term being used to hit measurable objectives.
An Azure operator can use Dead-letter queue to plan, inspect, automate, or troubleshoot a workload without losing sight of subscription, resource group, identity, and monitoring context.
Use Azure CLI for Dead-letter queue when you need repeatable evidence or automation instead of a one-off portal check. Commands near az servicebus topic let you inspect current state, script environment setup, compare dev/test/prod, and document exactly what changed.
az resource list --resource-group <resource-group> --output tableaz resource show --ids <resource-id>az servicebus namespace list --resource-group <resource-group>az servicebus namespace show --name <namespace> --resource-group <resource-group>az servicebus namespace create --name <namespace> --resource-group <resource-group> --location <region> --sku Standardaz servicebus queue list --namespace-name <namespace> --resource-group <resource-group>az servicebus queue create --name <queue> --namespace-name <namespace> --resource-group <resource-group>az servicebus topic list --namespace-name <namespace> --resource-group <resource-group>az servicebus topic create --name <topic> --namespace-name <namespace> --resource-group <resource-group>az servicebus topic subscription list --topic-name <topic> --namespace-name <namespace> --resource-group <resource-group>az servicebus topic subscription create --name <subscription> --topic-name <topic> --namespace-name <namespace> --resource-group <resource-group>A dead-letter queue sits in the failure-handling lane of a message-driven design, not as an afterthought bolted onto the consumer. In Service Bus, Storage Queue patterns, Event Grid delivery, or Functions-triggered processors, it gives operators a durable place to isolate messages that exceeded delivery attempts, expired, failed validation, or could not be routed safely. Architects usually pair it with retry policy, poison-message handling, correlation identifiers, and replay runbooks. The important boundary is ownership: the producer, broker, and consumer must agree what gets dead-lettered, who reviews it, and when replay is allowed. Good designs expose dead-letter depth through Azure Monitor, keep payloads protected, and treat cleanup as controlled remediation, not a blind purge.
Use managed identity, private endpoints, scoped access policies, and careful token handling.
Watch throughput units, operations, retained events, workflows, and API gateway capacity.
Design retries, dead-letter handling, ordering, idempotency, and back-pressure explicitly.
Tune partitioning, batching, concurrency, and workflow trigger behavior.
Message and workflow systems need clear observability and replay/debug procedures.