Azure Web and Mobile built-in role

SignalR/Web PubSub Contributor

Creates, reads, updates, and deletes Azure SignalR Service and Azure Web PubSub resources through control-plane Actions. Its Microsoft.SignalRService/* wildcard also lists and regenerates both services' access keys and restarts either service, with documented downtime. The role definition contains deployment, classic-alert, and support-ticket Actions, but those Actions are effective only when their target resources fall within the assignment scope; support requests require subscription-level access. It has no DataActions and therefore does not directly grant Microsoft Entra data-plane APIs, but listed access keys remain effective service credentials outside the Azure RBAC assignment.

Role-definition permissions are imported from Microsoft Learn. Practical scope, use cases, prerequisites, best practices, security considerations, assignment guidance, and relationships have been reviewed against the official sources below.

Role definition ID: 8cf5e20a-e4b2-4e9d-b3a1-5ceb692c2761

Control-plane actions (6)

Data-plane actions (0)

None — this role grants no data-plane (data access) actions.

Excluded actions (0)

None

Assignable scopes (1)

Practical scope

Assign on an existing SignalR or Web PubSub resource only when the operator is authorized for that service's lifecycle and access-key custody, including key listing, regeneration, and restart. That resource assignment does not extend to sibling deployments or classic alert rules. Use a dedicated resource group when the principal must create service resources or manage applicable sibling resources there. Microsoft requires subscription-level access for support requests; do not broaden this service-management role to the subscription merely to provide support access.

Common use cases (2)

Prerequisites (2)

Best practices (5)

Security considerations (6)

Assignment guidance

Assign SignalR/Web PubSub Contributor directly on an existing resource only to a platform operator trusted to delete or restart the service and to retrieve or regenerate its access keys. If resource management is required without key custody, use a reviewed custom role that omits the listkeys and regeneratekey Actions. Assign Microsoft Entra data-plane roles separately to application identities, Support Request Contributor separately at subscription scope for support duties, and an access-administration role separately for Azure RBAC delegation.

Related roles (2)

Common questions

When should I assign the SignalR/Web PubSub Contributor Azure role?

Assign SignalR/Web PubSub Contributor when you need to: Let a platform engineer create and configure Azure SignalR Service or Azure Web PubSub resources without granting generic Contributor over every resource provider.; and Manage one existing service resource and its child resources while keeping application data-plane authorization separate, or manage multiple service resources in a dedicated resource group.. Practical scope: Assign on an existing SignalR or Web PubSub resource only when the operator is authorized for that service's lifecycle and access-key custody, including key listing, regeneration, and restart. That resource assignment does not extend to sibling deployments or classic alert rules. Use a dedicated resource group when the principal must create service resources or manage applicable sibling resources there. Microsoft requires subscription-level access for support requests; do not broaden this service-management role to the subscription merely to provide support access.

What permissions does the SignalR/Web PubSub Contributor Azure role grant?

The role definition grants 6 combined control-plane and data-plane actions. Representative operations include: Microsoft.SignalRService/*; Microsoft.Authorization/*/read; Microsoft.Insights/alertRules/*; Microsoft.Resources/subscriptions/resourceGroups/read; Microsoft.Resources/deployments/*; and Microsoft.Support/*. Review the permission sections above for the complete definition and exclusions.

What are the security risks of the SignalR/Web PubSub Contributor Azure role?

Key considerations when assigning SignalR/Web PubSub Contributor: The Microsoft.SignalRService control-plane wildcard can create, update, delete, and restart SignalR and Web PubSub resources and can view or change their access keys.; Microsoft describes a SignalR access key as similar to a root password and states that its SDK uses the key to generate a token the service validates. Web PubSub likewise uses a shared access key to generate client tokens.; Regenerating a key creates a new key and connection string, requiring dependent configurations to be updated; restarting either service has documented downtime.; and A resource-group assignment can also make the role definition's deployment and classic-alert Actions effective against sibling resources in that group, so it is broader than a service-resource assignment.. Follow the assignment guidance above and use the narrowest practical scope.

Editorial sources (12)

Official Microsoft Learn documentation →