Availability zone enabled for notification hub even when explicitly disabled

Thomas Boucard 0 Reputation points
2025-03-04T10:56:05.3866667+00:00

I created a notification hub without availability zone:
User's image

It started a deployment with zoneRedudancy Disabled:
User's image

Then it create a notification hub with availability zones enabled: User's image

How to deploy a notification hub with the parameter I requested ?

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.
353 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bhargavi Naragani 1,535 Reputation points Microsoft External Staff
    2025-03-04T21:00:09.15+00:00

    Hi @Thomas Boucard,

    It seems that even though explicitly configured the zoneRedundancy parameter to "Disabled" at deployment time, the Notification Hub still had availability zones enabled. there are few things you can do to troubleshoot and fix this.

    Double-check the deployment template and parameters to make sure that zoneRedundancy is actually set to Disabled. Occasionally, even though the UI indicates the correct value, the actual deployment script may override this. example JSON config:

    {
      "type": "Microsoft.NotificationHubs/namespaces/notificationHubs",
      "properties": {
        "zoneRedundancy": "Disabled"
      }
    }
    

    Availability zones can be enabled automatically based on where you deploy the notification hub. Ensure that the region you've chosen has zone redundancy support and defaults to being enabled. The supported regions can be found here: Azure Regions with Zone Redundancy.

    If you deployed with an ARM template, check the zoneRedundancy parameter supplied at deployment:

    {
      "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
      "parameters": {
        "zoneRedundancy": {
          "type": "string",
          "defaultValue": "Disabled"
        }
      }
    }
    

    If Notification Hub is already created with availability zones turned on, and you want to modify this option, you may have to redeploy it. Zone redundancy settings are not currently editable after resources are created.

    Create and Manage Azure Notification Hubs
    Azure ARM Template Reference

    If the answer is helpful, please click Accept Answer and kindly upvote it so that other people who faces similar issue may get benefitted from it.

    Let me know if you have any further Queries.


Your answer

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