# Notification Hubs

Azure Notification Hubs is a managed push notification service that routes messages from application backends to platform notification systems for delivery to client devices.

Cloud service · Azure. Updated 2026-11-25. Page: https://blowstack.com/tools/cloud-services-hub/notification-hubs

> Notification Hubs centralizes device registration, audience targeting, and push submission across platforms such as iOS and Android. Backends can broadcast notifications, target users or interest groups, and use templates for platform-specific formatting and localization, while downstream platform providers handle delivery to devices.

## 8 key features of Notification Hubs

1. **Cross-platform push routing**: Submit notifications through one backend integration while Notification Hubs routes them to platform providers such as APNs and FCM. Configure each provider separately and preserve platform-specific payload requirements.
2. **Installation-based device management**: Store device handles, tags, and templates in JSON installation records. Idempotent create-or-update operations and JSON Patch updates simplify registration retries and token refresh workflows.
3. **Tag-based audience targeting**: Target devices using tags and Boolean tag expressions, such as subscribers to a topic within a particular region. Assign authorization-sensitive tags through a trusted backend.
4. **Templates and localization**: Associate templates with installations so the backend can send common properties that become platform-specific notification payloads. Language-specific templates can support localized messages without separate send logic for every client platform.
5. **Broadcast and individual targeting**: Broadcast to registered audiences or target a particular user or installation. A user association can reach multiple devices, so account for duplicate user-visible alerts across those devices.
6. **Direct and batch direct sends**: Send to platform device handles without first storing registrations in the hub. Batch direct send is available in Basic and Standard tiers and suits applications that already maintain their own device directory.
7. **Scheduled notifications**: Standard tier supports scheduling notifications up to seven days in advance. Use this for known future announcements while retaining the scheduled notification identifier for cancellation when required.
8. **Push diagnostics**: Use send tracking identifiers to investigate failures, and use Standard-tier per-message telemetry for more detailed notification outcomes. Provider acceptance and feedback do not establish that a user saw or opened a notification.

## Where Notification Hubs is used

1. **Transactional application alerts**: Notify customers when an order ships, a reservation changes, or a payment requires attention. Send a reference to the relevant record and retrieve sensitive details through the authenticated application.
2. **News and event subscriptions**: Tag installations with subscribed topics, teams, or regions and target the corresponding audience when an event occurs. Use broadcasts for genuinely application-wide announcements rather than maintaining device lists in the sending application.
3. **Enterprise work notifications**: Alert employees about assigned tasks, approvals, or new messages across their registered devices. Derive user and tenant targeting from authenticated backend identity data.
4. **Localized customer engagement**: Combine consent-based audience tags with language-specific templates for promotional or service announcements. Keep consent and campaign eligibility in the application database and update targeting metadata when preferences change.
5. **Background refresh hints**: Send a silent notification indicating that application data may have changed, then let the client fetch updates. Background execution remains subject to platform restrictions, so synchronize again when the application next becomes active.

## How Notification Hubs is priced

- **Free tier**: A no-charge tier for evaluation and small development workloads, with limited device capacity and an included monthly push allowance. It has no SLA and is not recommended for production applications.
- **Basic tier**: A paid namespace tier for production workloads that need core registration, targeting, template, and send capabilities. Costs depend on the tier's included allowances and applicable additional push usage; check current device limits and pricing for the deployment region.
- **Standard tier**: A paid namespace tier with higher device capacity and features including scheduled sends, richer telemetry, and bulk registration import and export. Budget for the namespace charge and applicable push usage beyond included allowances, and size the tier against both feature requirements and expected audience size.

## Services Notification Hubs works with

A common architecture places an authenticated API in Azure App Service in front of installation management. The client obtains a platform push token and sends it to that API, which validates the user and applies permitted targeting tags. Business services persist authoritative application state before requesting a notification; Cosmos DB can hold notification history and user preferences independently of device delivery.

For asynchronous processing, publish notification intents to Azure Service Bus and process them with Azure Functions or another worker. The worker selects a template or native payload, submits it to Notification Hubs, and records correlation identifiers. Queue retries improve resilience to transient submission failures but can cause duplicate sends, so include stable event identifiers and avoid treating push delivery as the business transaction itself.

Keep hub credentials in Azure Key Vault and grant the sending backend access to those secrets using its managed identity. Monitor hub metrics with Azure Monitor and correlate failures with application logs. The resulting path ends at APNs, FCM, or another platform provider, whose delivery behavior remains outside the application's control; clients should always be able to recover current state without receiving a push.

- **[Azure Functions](https://blowstack.com/tools/cloud-services-hub/azure-functions)**: Use a function to translate application events into Notification Hubs send requests through an SDK or REST API. For example, a queue-triggered function can send an order-status notification after a fulfillment event arrives. Make retry behavior explicit because a retried function execution can submit the same notification more than once.
- **[App Service](https://blowstack.com/tools/cloud-services-hub/app-service)**: Host authenticated installation-management and notification APIs in App Service. For example, a mobile client can submit its current push token to an API that validates the signed-in user and assigns the appropriate user and subscription tags. Keep hub management and sending credentials in the server application rather than distributing them to clients.
- **[Service Bus](https://blowstack.com/tools/cloud-services-hub/service-bus)**: Place notification intents on a Service Bus queue or topic and have a worker submit them to Notification Hubs. For example, an order service can publish an OrderDispatched event while a separate consumer handles push formatting and submission. Use dead-letter handling and application-level event identifiers to manage failed processing and duplicate submissions.
- **[Azure Key Vault](https://blowstack.com/tools/cloud-services-hub/azure-key-vault)**: Store Notification Hubs connection strings and other backend secrets in Key Vault. For example, an App Service application can use its managed identity to retrieve a send-policy connection string and then authenticate to the hub using that secret. Managed identity access to Key Vault does not itself authenticate Notification Hubs data-plane operations.
- **[Azure Monitor](https://blowstack.com/tools/cloud-services-hub/azure-monitor)**: Use Notification Hubs metrics in Azure Monitor to observe send activity and failures and configure operational alerts. For example, alert on a sustained increase in platform notification errors after a credential change or client rollout. Combine service metrics with backend logs containing tracking identifiers to investigate individual send attempts.
- **[Azure Cosmos DB](https://blowstack.com/tools/cloud-services-hub/azure-cosmos-db)**: Keep authoritative notification preferences, business events, and in-app notification history in Cosmos DB while using Notification Hubs for device routing. For example, persist a new work-item notification and send only its identifier to the user's devices. The client can retrieve the current record after authentication even if the push was delayed or never delivered.
- **[Azure Blob Storage](https://blowstack.com/tools/cloud-services-hub/azure-blob-storage)**: Notification Hubs bulk registration jobs export device registrations to blobs and import registrations from files in Blob Storage. For example, you can export registrations from one hub and import them into another during a migration.
- **[Azure Communication Services](https://blowstack.com/tools/cloud-services-hub/azure-communication-services)**: A linked notification hub delivers mobile push notifications for Communication Services calls and chat. For example, it can wake an iOS or Android app so the user can answer an incoming call.
- **[Azure DNS](https://blowstack.com/tools/cloud-services-hub/azure-dns)**: A Notification Hubs private endpoint can use an Azure Private DNS zone to resolve the namespace hostname to the endpoint’s private IP address. Clients on linked virtual networks can then use the usual namespace hostname to connect privately.
- **[Azure Policy](https://blowstack.com/tools/cloud-services-hub/azure-policy)**: Azure Policy can evaluate whether Notification Hubs namespaces have diagnostic settings and deploy those settings to route logs to a central workspace.
- **[Azure portal](https://blowstack.com/tools/cloud-services-hub/azure-portal)**: Notification Hubs provides portal controls to create namespaces and hubs, configure platform push credentials, and send test notifications to matching devices.
- **[Azure Private Link](https://blowstack.com/tools/cloud-services-hub/azure-private-link)**: Notification Hubs namespaces support private endpoints through Azure Private Link. Applications can reach a namespace through a private IP address rather than its public endpoint.
- **[Azure Resource Manager](https://blowstack.com/tools/cloud-services-hub/azure-resource-manager)**: Notification Hubs exposes namespaces, hubs, and authorization rules as Azure Resource Manager resource types. An ARM template can deploy a namespace and its hubs with their access rules in one deployment.
- **[Azure role-based access control (Azure RBAC)](https://blowstack.com/tools/cloud-services-hub/azure-role-based-access-control-(azure-rbac))**: Notification Hubs uses Azure RBAC to control management operations such as creating hubs, reading metrics, and listing authorization keys. For example, an operator can be allowed to view a hub without being allowed to retrieve its connection strings.
- **[Azure Service Health](https://blowstack.com/tools/cloud-services-hub/azure-service-health)**: Azure Service Health reports service incidents and planned maintenance that affect Notification Hubs in the regions you use. You can configure alerts to notify operators about those events.
- **[Azure Virtual Network](https://blowstack.com/tools/cloud-services-hub/azure-virtual-network)**: A Notification Hubs namespace can be reached through a private endpoint in an Azure Virtual Network subnet. A backend in the virtual network can send push requests without using the namespace’s public endpoint.
- **[Event Hubs](https://blowstack.com/tools/cloud-services-hub/event-hubs)**: Notification Hubs diagnostic settings can stream resource logs to Event Hubs. For example, a monitoring pipeline can consume hub operational logs from an event hub for centralized analysis.
- **[Microsoft Entra ID (formerly Azure AD)](https://blowstack.com/tools/cloud-services-hub/microsoft-entra-id-(formerly-azure-ad))**: Notification Hubs management requests to Azure Resource Manager can use Microsoft Entra identities, with Azure RBAC determining what those identities can do. For example, a deployment service principal can be granted permission to create hubs in a resource group.

## Alternatives to Notification Hubs in other clouds

### AWS

**[Amazon Simple Notification Service (Amazon SNS)](https://blowstack.com/tools/cloud-services-hub/amazon-simple-notification-service-(amazon-sns))**: Amazon SNS and Azure Notification Hubs both send mobile push notifications to audiences. Amazon SNS also delivers messages to endpoints such as email, SMS, and queues and uses pay-as-you-go pricing, while Azure Notification Hubs focuses on device push through platform providers and offers Free, Basic, and Standard namespace tiers.

| | Notification Hubs | Amazon Simple Notification Service (Amazon SNS) |
| --- | --- | --- |
| Pricing model | Namespace tiers with push allowances | Pay-as-you-go with free allowances |
| Audience targeting | Device tags and Boolean expressions | Topic subscriptions with filters |

Compared Nov 2026.

## What is Notification Hubs

Azure Notification Hubs provides the infrastructure between an application backend and platform notification systems such as Apple Push Notification service (APNs) and Firebase Cloud Messaging (FCM). The backend submits notifications to a hub, which resolves the target devices and forwards the appropriate payloads to those providers. Notification Hubs is not a replacement for platform push services: applications still need platform credentials, device tokens, notification permissions, and client-side handling.

Resources are organized into namespaces and hubs. A namespace is a regional management and billing boundary containing one or more hubs. A hub holds the push configuration and device information for an application environment. Separate production and test hubs so that credentials, device registrations, and test broadcasts do not affect production users. Select the namespace tier according to device capacity, push volume, and required features.

For new implementations, prefer the installations API for device management. An installation associates a stable installation identifier with a platform push handle, tags, and optional templates. Its create-or-update behavior is idempotent, making registration retries easier to implement without creating duplicate records. Refresh the installation when the platform rotates a device token, and update user associations when someone signs in or out. Existing applications can also use the registrations API.

Audience selection uses tags and tag expressions. A backend can assign tags representing a user, subscription, language, or business segment, then send to matching installations without enumerating every device. Tags are routing metadata, not an authorization boundary. Validate requested subscriptions and assign sensitive user or tenant tags on a trusted backend rather than accepting arbitrary client-provided values.

Send native platform payloads when you need explicit control over platform behavior, or use templates to map common application properties into different payload formats. For Android applications using FCM, configure FCM v1 credentials and payloads rather than the retired legacy HTTP integration. For Apple notifications, set headers such as apns-push-type consistently with the payload and intended alert or background behavior.

Keep notification sending and management credentials on the backend. Use narrowly scoped Shared Access Signature policies for application operations, store secrets securely, and rotate keys through a controlled deployment process. Azure resource management authentication is distinct from the credentials used to register devices and submit notifications.

Design push notifications as best-effort signals rather than durable records of business events. Acceptance by Notification Hubs or a downstream provider does not prove that a device displayed a notification, and there is no end-to-end delivery latency guarantee. Persist authoritative application state separately, include an opaque event identifier or deep link in the notification, and let the authenticated client retrieve current data. Monitor submission failures, provider errors, and throttling, and implement bounded retries without assuming that duplicate notifications are impossible.
