Service Bus
Queues
Microsoft.ServiceBus/namespaces/queues
- Control plane
- Supported
- Data plane
- Emulated
- API versions
- 9 3 stable
- Ships in
- Plugin Microsoft.ServiceBus 2026.11
- Plan
- Starter and above
Data as of 2026-11-20
API versions
The API versions Locally supports for Microsoft.ServiceBus/namespaces/queues.
| API version | Status | Control plane | Data plane |
|---|---|---|---|
| 2026-07-01-preview | preview | Supported | Emulated |
| 2026-01-01 | stable | Supported | Emulated |
| 2025-05-01-preview | preview | Supported | Emulated |
| 2024-01-01 | stable | Supported | Emulated |
| 2023-01-01-preview | preview | Supported | Emulated |
| 2022-10-01-preview | preview | Supported | Emulated |
| 2022-01-01-preview | preview | Supported | Emulated |
| 2021-11-01 | stable | Supported | Emulated |
| 2021-06-01-preview | preview | Supported | Emulated |
Note: This is generated from the latest version of the plugin (2026.11) as of 2026-11-20, and may differ in older versions. We aim to keep this information accurate and up to date; if you find something we're missing, then please let us know.
Nested resource types
The resource types nested under Microsoft.ServiceBus/namespaces/queues. Click one to see more information.
| Resource type | Control plane | Data plane |
|---|---|---|
| Queue Authorization RulesMicrosoft.ServiceBus/namespaces/queues/authorizationRules | Supported | Emulated |
Features
- Peek-lock and receive-and-delete receive modes.
- Complete, abandon, defer and dead-letter, with lock expiry enforced and lock renewal.
- Sessions, including session state and session lock renewal.
- Transactions over AMQP, with commit and rollback.
- Dead-letter queue, filled on max delivery count and on lock or TTL expiry, plus a transfer dead-letter queue for messages auto-forwarding can't deliver.
- Scheduled messages: schedule and cancel.
- Duplicate detection
- Auto-forwarding with
forwardToandforwardDeadLetteredMessagesTo. - Entity status:
Disabled,SendDisabledandReceiveDisabledare enforced. - Size limits:
maxSizeInMegabytesand Azure's message size limits are enforced. - Auto-delete on idle
- Peek without consuming messages.
- Event Grid delivery: subscriptions can deliver events to a queue.
- Function App triggers run in the Function App emulator.
Limitations
- Partitioned queues aren't emulated at this time.
Examples
Runnable examples from the examples library.
Passing messages from App Service through Service Bus into Table Storage
Deploy a producer and a consumer to App Service with Terraform that pass messages through a Service Bus queue into Table Storage, each with its own managed identity and only the roles it needs.
Passing messages from a Function App through Service Bus into Table Storage
Deploy a Node.js Function App with Terraform that sends messages to a Service Bus queue, picks them up with a Service Bus trigger and stores them in Table Storage, with every binding connecting through a managed identity.
Deploy a Service Bus Queue to Locally using an ARM Template
Provisions a Service Bus Namespace and a Queue, into a Resource Group of your choosing.
Send and receive Service Bus messages on Locally using the Azure SDK for .NET
Shows how to send and receive messages through a Service Bus Queue.
Send and receive Service Bus messages on Locally using the Azure SDK for Go
Shows how to send and receive messages through a Service Bus Queue.
Deploy a Service Bus Queue to Locally using a Bicep Template
Provisions a Service Bus Namespace and a Queue, into a Resource Group of your choosing.
Deploy a Service Bus Queue to Locally using Terraform and the Azure/azapi provider
Provisions a Resource Group containing a Service Bus Namespace and a Queue.
Deploy a Service Bus Queue to Locally using Terraform and the hashicorp/azurerm provider
Provisions a Resource Group containing a Service Bus Namespace and a Queue.
Deploy a Service Bus Queue to Locally using OpenTofu and the Azure/azapi provider
Provisions a Resource Group containing a Service Bus Namespace and a Queue.
Deploy a Service Bus Queue to Locally using OpenTofu and the opentofu/azurerm provider
Provisions a Resource Group containing a Service Bus Namespace and a Queue.