New notification hub not available for use due to DNS issue

Jonathan Brenchley 25 Reputation points
2026-07-17T15:53:04.95+00:00

When trying to create a notification hub via the portal, the deployment get stuck in a loop at the point "Get Namespace Resource".

After a support call, we identified that creating the namespace first using the CLI and then adding the hub appeared to succeed. However, the hub that is created is not accessible due to a DNS issue. Presumably that is what caused the portal deployment to become stuck in a loop.

When attempting to access REST endpoints the error is "The remote name could not be resolved“

URLs in this form: https://<namespace>.servicebus.windows.net/<hubname>/registrations/?api-version=2015-01

gives "unauthorised" for an operating hub, but "The remote name could not be resolved" for the new hub

Azure Notification Hubs
Azure Notification Hubs

An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.


2 answers

Sort by: Most helpful
  1. Jonathan Brenchley 25 Reputation points
    2026-07-27T07:35:42.8933333+00:00

    The issue appeared to be a delay in DNS propagation within Microsoft. After creating a notification namespace and hub via CLI, I had to wait ~48 hours before the DNS names started resolving correctly. Until then, the hub and namespace were reported as deployed successfully, but did not work.

    Was this answer helpful?

    1 person found this answer helpful.

  2. Christos Panagiotidis 3,551 Reputation points
    2026-07-18T06:53:06.6433333+00:00

    The URI format is correct. Notification Hubs data-plane operations use the namespace hostname under servicebus.windows.net, so DNS belongs to the namespace, not the individual hub. “Remote name could not be resolved” occurs before authentication and points to incomplete namespace provisioning or DNS registration, not a SAS-key problem.

    Inspect namespace resource properties: provisioningState, status, enabled, and serviceBusEndpoint. Test the exact hostname returned by serviceBusEndpoint using two public DNS resolvers. A 401 from an unauthenticated request is useful: it proves DNS, TCP, and TLS work, leaving authorization as the expected next step.

    If that endpoint still does not resolve after the namespace reports Succeeded, capture resource ID, region, creation time, and deployment correlation ID. Recreate the namespace with a different globally unique name if disposable. Otherwise update the support case and request Notification Hubs namespace DNS-registration repair. Recreating hubs or rotating keys inside the same namespace will not fix missing namespace DNS.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.