Im trying to set up push notifications with Azure at the moment but every time i go and try to set up a notification hub, it gives me an error saying the "Namespace already exists. Please enter a different name"
Does anyone know a solution to this very strange issue?
Thanks
The namespace has to be globally unique, since it forms part of the dns address of the service. You will have to add some more uniqueness to it for your purpose, else it's clashing with another azure service that someone else has already created.
Please check if you are (co-)administrator for the subscription you try to create the namespace in. If you only are owner of the ResourceGroup you try to create the namespace in, you will receive this misleading error message.
The reason for this is: Notification Hubs are implemented based on Service Bus, but Service Bus needs subscription level admin rights to be created.
I got the same error when I tried to create a namespace when I was only Resource Group admin but not subscription admin, but once I became subscription admin I had no problems whatsoever.
I ran into this issue and determined that it was because my free trail had ended. I created a new account, started a new free trial and it worked.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With