Deprecation of Azure Service Manager support for Azure Service Bus, Relay, and Event Hubs

Resource Manager, our next-generation cloud infrastructure stack, is fully replacing the "classic" Azure Service Management model (classic deployment model). As a result, classic deployment model REST APIs for Service Bus, Relay, and Event Hubs will be retired on December 1, 2021. This deprecation was first announced on a Microsoft Tech Community announcement. For easy identification, these APIs have management.core.windows.net in their URI. Refer to the following table for a list of the deprecated APIs and their Azure Resource Manager API version that you should now use.

To continue using Service Bus, Relay, and Event Hubs, move to Resource Manager by November 30, 2021. We encourage all customers who are still using old APIs to make the switch soon to take advantage of the extra benefits of Resource Manager, which include resource grouping, tags, a streamlined deployment and management process, and fine-grained access control using Azure role-based access control (Azure RBAC).

For more information on Service Manager and Resource Manager APIs for Azure Service Bus, Relay and Event Hubs, see our REST API documentation:

Service Manager REST API - Resource Manager REST API

Service Manager APIs (Deprecated) Resource Manager - Service Bus API Resource Manager - Event Hubs API Resource Manager - Relay API
Namespaces-GetNamespaceAsync
Service Bus Get Namespace
Event Hubs Get Namespace
Relay Get Namespace
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}
get get get
ConnectionDetails-GetConnectionDetails
Service Bus/Event Hub/Relay GetConnectionDetals
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/ConnectionDetails
listkeys listkeys listkeys
Topics-GetTopicsAsync
Service Bus
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/topics? $skip={skip}&$top={top}
list    
Queues-GetQueueAsync
Service Bus
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/queues/{queueName}
get    
Relays-GetRelaysAsync
Get Relays
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/relays? $skip={skip}&$top={top}
    list
NamespaceAuthorizationRules-GetNamespaceAuthorizationRuleAsync
Service Bus/Event Hub/Relay GetNamespaceAuthRule
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/authorizationrules?
getauthorizationrule getauthorizationrule getauthorizationrule
Namespaces-DeleteNamespaceAsync
Service Bus Delete Namespace
Event Hubs Delete Namespace
Relays Delete Namespace
DELETE https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}
delete delete delete
MessagingSKUPlan-GetPlanAsync
Service Bus/Event Hub/Relay Get Namespace
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/MessagingPlan
get get get
MessagingSKUPlan-UpdatePlanAsync
Service Bus/Event Hub/Relay Get Namespace
PUT https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/MessagingPlan
createorupdate createorupdate createorupdate
NamespaceAuthorizationRules-UpdateNamespaceAuthorizationRuleAsync
Service Bus/Event Hub/Relay Get Namespace
PUT https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/AuthorizationRules/{rule name}
createorupdate createorupdateauthorizationrule createorupdateauthorizationrule
NamespaceAuthorizationRules-CreateNamespaceAuthorizationRuleAsync
Service Bus/Event Hub/Relay
PUT https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/AuthorizationRules/{rule name}
createorupdate createorupdateauthorizationrule createorupdateauthorizationrule
NamespaceProperties-GetNamespacePropertiesAsync
Service Bus Get Namespace
Event Hubs Get Namespace
Relay Get Namespace
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}
get get get
RegionCodes-GetRegionCodesAsync
Service Bus/EventHub/Relay Get Namespace
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}
     
NamespaceProperties-UpdateNamespacePropertyAsync
Service Bus/EventHub/Relay
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Regions/
createorupdate createorupdate createorupdate
EventHubsCrud-ListEventHubsAsync
List Event Hubs
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/eventhubs?$skip={skip}&$top={top}
  list  
EventHubsCrud-GetEventHubAsync
Get Event Hubs
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/eventhubs/{eventHubPath}
  get  
NamespaceAuthorizationRules-DeleteNamespaceAuthorizationRuleAsync
Service Bus/Event Hub/Relay
DELETE https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/AuthorizationRules/{rule name}
deleteauthorizationrule deleteauthorizationrule deleteauthorizationrule
NamespaceAuthorizationRules-GetNamespaceAuthorizationRulesAsync
Service Bus/EventHub/Relay
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/AuthorizationRules
listauthorizationrules listauthorizationrules listauthorizationrules
NamespaceAvailability-IsNamespaceAvailable
Service Bus Namespace Availability
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/CheckNamespaceAvailability/?namespace=<namespaceValue>
checknameavailability checknameavailability checknameavailability
Namespaces-CreateOrUpdateNamespaceAsync
Service Bus/Event Hub/Relay
PUT https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}
createorupdate createorupdate createorupdate
Topics-GetTopicAsync
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/topics/{topicPath}
get    

Service Manager PowerShell - Resource Manager PowerShell

Service Manager PowerShell command (Deprecated) New Resource Manager Commands Newer Resource Manager Command
Get-AzureSBAuthorizationRule Get-AzureRmServiceBusAuthorizationRule Get-AzServiceBusAuthorizationRule
Get-AzureSBLocation Get-AzureRmServiceBusGeoDRConfiguration Get-AzServiceBusGeoDRConfiguration
Get-AzureSBNamespace Get-AzureRmServiceBusNamespace Get-AzServiceBusNamespace
New-AzureSBAuthorizationRule New-AzureRmServiceBusAuthorizationRule New-AzServiceBusAuthorizationRule
New-AzureSBNamespace New-AzureRmServiceBusNamespace New-AzServiceBusNamespace
Remove-AzureSBAuthorizationRule Remove-AzureRmServiceBusAuthorizationRule Remove-AzServiceBusAuthorizationRule
Remove-AzureSBNamespace Remove-AzureRmServiceBusNamespace Remove-AzServiceBusNamespace
Set-AzureSBAuthorizationRule Set-AzureRmServiceBusAuthorizationRule Set-AzServiceBusAuthorizationRule

Next steps

See the following documentation: