An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
Hello Jayaram,
Thank you for sharing the detailed information and screenshots.
Based on the current Azure Notification Hubs security model, the behavior you are seeing is expected. Notification Hubs uses Shared Access Signature (SAS) authentication with Listen, Send, and Manage claims for its operations.
Please find the answers to your questions below:
- Does Azure Notification Hubs support Microsoft Entra bearer token / Managed Identity authentication for data-plane operations?
No. The documented Notification Hubs security model uses SAS authentication for operations such as sending notifications and working with registrations.
- Which RBAC role should be assigned to the Managed Identity?
There is no Notification Hubs data-plane RBAC role documented for authorizing these operations through Managed Identity. This is consistent with the "No permissions found" behavior you observed under Microsoft.NotificationHubs > Data Actions.
Azure RBAC management-plane permissions should not be confused with data-plane authorization, as control-plane and data-plane operations have separate authorization models.
- Why doesn't "Azure Notification Hubs Data Owner" appear?
The referenced role ID 17d1049b-9a84-46fb-8f53-869881c3d3ab is Storage Account Contributor, not an Azure Notification Hubs Data Owner role. Therefore, this is not an issue with regional or tenant availability.
- Is the proposed
.defaultscope valid for Notification Hubs bearer-token authentication?
The documented Notification Hubs security model describes SAS authentication and does not document a Microsoft Entra bearer-token scope for these Notification Hubs data-plane operations.
- What is the recommended secure alternative?
For your Azure Function scenario, use a Notification Hubs SAS access policy with only the permissions required by the application and securely manage the associated credential.
If you use Azure Key Vault for storing that credential, the Function App can use Managed Identity to authenticate to Key Vault, while access to Notification Hubs continues to use its documented SAS authentication model.
Microsoft documentation:
- Azure Notification Hubs security model
- Azure control plane and data plane
- Azure built-in roles
- Managed identities for Azure resources
I hope the above information helps clarify your question. If you find this response helpful, please consider upvoting it. This will help others in the community who may have similar questions.