Service Bus
Namespaces
Microsoft.ServiceBus/namespaces
- 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.
| 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. Click one to see more information.
Features
- Microsoft Entra authentication, with roles such as Azure Service Bus Data Sender and Azure Service Bus Data Receiver.
- Shared access policies, with connection strings from
locally servicebus connection-string. - Disabling local authentication on a namespace.
- Event Grid events from Premium namespaces.
- Chaos Engineering over AMQP and HTTPS. Team
Limitations
Namespaces
- AMQP over WebSockets is served on the Service Bus HTTPS port (5662 by default) rather than 443, so the client's WebSocket endpoint needs that port.
- Geo-Disaster Recovery and Premium's other features aren't emulated at this time.
Queues
- Partitioned queues aren't emulated at this time.
Topics
- Arithmetic in a rule action (
SET x = x + 1) has no effect at this time. - Parameters on SQL filters aren't stored at this time, so a filter using
@parametersees it asNULL. - Partitioned topics aren't emulated.
Examples
Runnable examples from the examples library.
Deploy a Service Bus Namespace to Locally using an ARM Template
Provisions a Service Bus Namespace (Standard SKU), into a Resource Group of your choosing.
Deploy a Service Bus Namespace to Locally using a Bicep Template
Provisions a Service Bus Namespace (Standard SKU), into a Resource Group of your choosing.
Deploy a Service Bus Namespace to Locally using Terraform and the Azure/azapi provider
Provisions a Resource Group containing a Service Bus Namespace (Standard SKU).
Deploy a Service Bus Namespace to Locally using Terraform and the hashicorp/azurerm provider
Provisions a Resource Group containing a Service Bus Namespace (Standard SKU).
Deploy a Service Bus Namespace to Locally using OpenTofu and the Azure/azapi provider
Provisions a Resource Group containing a Service Bus Namespace (Standard SKU).
Deploy a Service Bus Namespace to Locally using OpenTofu and the opentofu/azurerm provider
Provisions a Resource Group containing a Service Bus Namespace (Standard SKU).