Azure Web and Mobile built-in role

Web PubSub Service Reader

Provides read-only access to Azure Web PubSub data-plane REST APIs. It has no control-plane Actions and cannot perform write operations, generate client tokens through Auth APIs, manage the Web PubSub resource, or create Azure role assignments.

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: bfb1c7d2-fb1a-466b-b2ba-aee63b92deaf

Control-plane actions (0)

None — this role grants no control-plane management actions.

Data-plane actions (1)

Excluded actions (0)

None

Assignable scopes (1)

Practical scope

Assign directly on the Azure Web PubSub resource monitored by the principal. A parent-scope assignment is inherited by every Web PubSub resource below it and broadens data-plane visibility.

Common use cases (2)

Prerequisites (2)

Best practices (3)

Security considerations (3)

Assignment guidance

Assign Web PubSub Service Reader directly on the Web PubSub resource to the monitoring workload identity. Use Service Owner only for upstream or negotiation servers that need write and Auth APIs, and use SignalR/Web PubSub Contributor separately for control-plane administration.

Related roles (2)

Common questions

When should I assign the Web PubSub Service Reader Azure role?

Assign Web PubSub Service Reader when you need to: Run a monitoring tool that calls read-only Azure Web PubSub REST APIs.; and Inspect Web PubSub data-plane state without granting client-token generation or write-capable service operations.. Practical scope: Assign directly on the Azure Web PubSub resource monitored by the principal. A parent-scope assignment is inherited by every Web PubSub resource below it and broadens data-plane visibility.

What permissions does the Web PubSub Service Reader Azure role grant?

The role definition grants 1 combined control-plane and data-plane actions. Representative operations include: Microsoft.SignalRService/WebPubSub/*/read. Review the permission sections above for the complete definition and exclusions.

What are the security risks of the Web PubSub Service Reader Azure role?

Key considerations when assigning Web PubSub Service Reader: The role exposes Web PubSub data-plane information even though it cannot change service state.; It does not authorize client-token generation, negotiation, message sends, or other write operations.; and A parent-scope assignment exposes read-only data-plane state from all inherited Web PubSub resources.. Follow the assignment guidance above and use the narrowest practical scope.

Editorial sources (6)

Official Microsoft Learn documentation →