Avd user authentication issue Entra ID

Altaf Ingar 80 Reputation points
2025-12-17T01:13:47.7766667+00:00

I cant login to avd. it gives me fail login even with user added to right assignment.

PII moved

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
0 comments No comments
{count} votes

Answer accepted by question author
  1. VEMULA SRISAI 3,835 Reputation points Microsoft External Staff Moderator
    2025-12-18T14:21:36.3133333+00:00

    Hello Altaf Ingar ,

    The login failure occurred because the user did not have the required Virtual Machine User Login role on the session host. This role is necessary for AVD authentication. In some cases, administrators may also need the Virtual Machine Administrator Login role for elevated access.

    Assign the required role(s) to the user on the VM resource (session host).

    Steps:

    1. Go to Azure Portal → Virtual Machines → [Your VM] → Access control (IAM).
    2. Click Add role assignment.
    3. Select one of the following roles based on the requirement:
      • Virtual Machine User Login (for standard user access)
        • Virtual Machine Administrator Login (for admin-level access)
        1. Assign the role to the user.

    After assigning the appropriate role, the user was able to log in successfully.

    Built-in Azure RBAC roles Azure Virtual Desktop - Azure Virtual Desktop | Microsoft Learn

    1 person found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Sridevi Machavarapu 10,845 Reputation points Microsoft External Staff Moderator
    2025-12-17T01:45:01.3566667+00:00

    Hello Altaf Ingar,

    If you are experiencing login issues with Azure Virtual Desktop (AVD) despite being added to the correct user assignments.

    Please Verify User Role Assignment: Ensure that the user has been assigned the appropriate role, such as the Virtual Machine User Login role, for the virtual machines (VMs) they are trying to access.

    The login issue will be resolved by assigning the Virtual Machine Administrator or Virtual Machine User Login role to the user on the session host. This role is required for successful AVD authentication.

    0 comments No comments

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.