Azure Compute built-in role

Virtual Machine User Login

Allows Microsoft Entra-authenticated sign-in to supported Azure virtual machines and Azure Arc-enabled servers as a regular, non-administrator user. It combines control-plane resource visibility with regular-login DataActions; Owner, Contributor, and VM Contributor do not automatically grant this guest access.

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: fb879df8-f326-4884-b1cf-06f3ad86be52

Control-plane actions (7)

Data-plane actions (2)

Excluded actions (0)

None

Assignable scopes (1)

Practical scope

The role can be assigned at management group, subscription, resource group, or resource scope and is inherited by child VMs and Arc machines. Microsoft recommends assigning at a management group, subscription, or resource-group boundary rather than per VM to avoid assignment limits, while ensuring unrelated machines are not included.

Common use cases (2)

Prerequisites (2)

Best practices (3)

Security considerations (3)

Assignment guidance

Assign Virtual Machine User Login to an approved user group at the smallest practical machine-fleet boundary. Enable and test Microsoft Entra sign-in first, apply Conditional Access where supported, and grant Administrator Login only to the smaller population that requires elevation.

Related roles (2)

Editorial sources (7)

Official Microsoft Learn documentation →