Unable to create aure service bus, getting namespace with the name already exists

vf 6 Reputation points

I am trying to create an azure service bus, but getting a namespace already exists. enter a different name. After trying many times, I am raising this question. Please help!

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
572 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. JananiRamesh-MSFT 22,986 Reputation points

    Hi @vf Thanks for reaching out. service names are globally unique, if the name is not available you need to try creating a namespace using different name.

    you can also verify the availability of names while creating a namespace via a rest api call https://learn.microsoft.com/en-us/rest/api/servicebus/stable/namespaces-check-name-availability/check-name-availability?tabs=HTTP

    I had already verified for the given name "myuniquenamepsace" and could see the name is already in use.

    "nameAvailable": false,
    "reason": "NameInUse",
    "message": "The specified name is not available. For more information visit https://aka.ms/eventhubsarmexceptions."

    reference: https://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-faq#why-am-i-not-able-to-create-a-namespace-after-deleting-it-from-another-subscription--

    please let me know incase of further queries, I would be happy to assist you.

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

    0 comments No comments