Azure Compute built-in role

Desktop Virtualization User Session Operator

Manages active Azure Virtual Desktop user sessions by sending messages, disconnecting sessions, and signing users out. It can view assignments but cannot modify members, host pools, or session-host configuration.

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: ea4bfff8-7fb4-485a-aadd-d4129a0ffaa6

Control-plane actions (8)

Data-plane actions (0)

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

Excluded actions (0)

None

Assignable scopes (1)

Practical scope

Microsoft recommends assigning this role to specific host pools. At resource-group scope it inherits read visibility across all host pools in the group. Its user-session operations are control-plane Actions and it has no DataActions.

Common use cases (2)

Prerequisites (2)

Best practices (3)

Security considerations (3)

Assignment guidance

Assign Desktop Virtualization User Session Operator to support personnel on each host pool they service. Avoid resource-group scope, require an approved session-intervention procedure, and use Session Host Operator only for host membership or drain-mode duties.

Related roles (1)

Common questions

When should I assign the Desktop Virtualization User Session Operator Azure role?

Assign Desktop Virtualization User Session Operator when you need to: Let help-desk staff message or disconnect a user session while troubleshooting.; and Sign users out of an approved host pool during maintenance or incident response.. Practical scope: Microsoft recommends assigning this role to specific host pools. At resource-group scope it inherits read visibility across all host pools in the group. Its user-session operations are control-plane Actions and it has no DataActions.

What permissions does the Desktop Virtualization User Session Operator Azure role grant?

The role definition grants 8 combined control-plane and data-plane actions. Representative operations include: Microsoft.DesktopVirtualization/hostpools/read; Microsoft.DesktopVirtualization/hostpools/sessionhosts/read; Microsoft.DesktopVirtualization/hostpools/sessionhosts/usersessions/*; Microsoft.Resources/subscriptions/resourceGroups/read; Microsoft.Resources/deployments/*; and Microsoft.Authorization/*/read. Review the permission sections above for the complete definition and exclusions.

What are the security risks of the Desktop Virtualization User Session Operator Azure role?

Key considerations when assigning Desktop Virtualization User Session Operator: Forced sign-out can terminate applications and cause loss of unsaved user data.; The role exposes active-session information and can disrupt any user in the assigned host pool.; and It cannot change host-pool or session-host configuration and does not grant VM guest login.. Follow the assignment guidance above and use the narrowest practical scope.

Editorial sources (5)

Official Microsoft Learn documentation →