Azure Web and Mobile built-in role

SignalR App Server

Authorizes a Default-mode app server to start server connections, close client connections, and obtain the temporary access key used to sign client tokens during Microsoft Entra-based negotiation. It does not directly create client connections; clients connect with the signed token. These are data-plane permissions only, so the role does not manage the SignalR resource or list its long-lived access keys.

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: 420fcaa2-552c-430f-98ca-3264be4806c7

Control-plane actions (0)

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

Data-plane actions (3)

Excluded actions (0)

None

Assignable scopes (1)

Practical scope

Assign directly on the Azure SignalR Service resource used by the app server. A parent-scope assignment is inherited by every SignalR resource below it, while resource scope confines connection and temporary-key authority to one service instance.

Common use cases (2)

Prerequisites (2)

Best practices (3)

Security considerations (3)

Assignment guidance

Assign SignalR App Server to the application or managed identity directly on the Default-mode SignalR resource. Do not add AccessKey Reader for an Entra-based workflow, and use Service Owner only when a Serverless negotiation server genuinely needs both authentication and REST API permissions.

Related roles (2)

Common questions

When should I assign the SignalR App Server Azure role?

Assign SignalR App Server when you need to: Run an application server against an Azure SignalR resource in Default mode using Microsoft Entra authorization.; and Start server connections and perform the temporary-key client negotiation flow without distributing the resource connection string, with authority to close a client connection when required.. Practical scope: Assign directly on the Azure SignalR Service resource used by the app server. A parent-scope assignment is inherited by every SignalR resource below it, while resource scope confines connection and temporary-key authority to one service instance.

What permissions does the SignalR App Server Azure role grant?

The role definition grants 3 combined control-plane and data-plane actions. Representative operations include: Microsoft.SignalRService/SignalR/auth/accessKey/action; Microsoft.SignalRService/SignalR/serverConnection/write; and Microsoft.SignalRService/SignalR/clientConnection/write. Review the permission sections above for the complete definition and exclusions.

What are the security risks of the SignalR App Server Azure role?

Key considerations when assigning SignalR App Server: The role can start server connections, close client connections, and obtain a temporary access key used to sign client tokens, so compromise can disrupt or authorize real-time service access.; The temporary key expires, but client-token generation remains available while the workload identity retains this assignment.; and A parent-scope assignment permits the app server identity to establish connections against multiple inherited SignalR resources.. Follow the assignment guidance above and use the narrowest practical scope.

Editorial sources (7)

Official Microsoft Learn documentation →