Azure Virtual Desktop Admin Password

Derek Chen 86 Reputation points
2022-01-28T14:08:02.9+00:00

Hi all,

I would like to know what the admin password would be for Azure virtual desktop. I logged in to a user with the privileges of "virtual machine user login". If I attempt to install additional applications, it prompts for the admin password via "User account control". When creating the VM, I set the admin account name as well as the password however this did not work. I also attempted to use an account that I assigned privileges as "Virtual machine administrator login" however that also did not work.

As an additional note, the virtual desktop authenticates to Azure AD.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,244 questions
Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,382 questions
0 comments No comments
{count} vote

Accepted answer
  1. Prrudram-MSFT 22,486 Reputation points
    2022-02-01T17:31:18.867+00:00

    Hello @Derek Chen ,

    The local admin credentials you assigned during the VM creation will have the privileges to install programs/software applications on AVD. You can try to reset the password under the properties of the Virtual Machine in the Azure portal under the “Help” section, then the “Reset password” option.

    170291-image.png

    If the VM is AD joined (during deployment) by below method, then you must configure Azure role assignments for users who are authorized to login in to the VM. With the RBAC role assignment of Virtual Machine Administrator Login, user can log in to an Azure virtual machine with administrator privileges.
    Check in case the the accounts you are using does only have "Virtual Machine User Login" – Users with this role assigned can log in to an Azure virtual machine with regular user privileges.

    170285-image.png

    Please "Accept as Answer" and Upvote if any of above helped so that, it can help others in community looking for remediation for the similar issues.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Derek Chen 86 Reputation points
    2022-02-01T17:40:18.323+00:00

    Thanks for the answer! I do have the computer joined to Azure AD. I was just wondering when the User Access Control for windows 10 pops up (when installing additional software as a non-admin user) if the admin user would be able to provide credentials for it. Let's say I have a non-admin user (testuser@mathieu.company .com) and an admin user (virtualworkstationadmin@mathieu.company .com).

    The testuser is logged onto the virtual desktop. Would the admin user be able to provide their credentials whenever the testuser is trying to install additional software? I tried doing this with the virtualworkstationadmin account given virtual machine administrator login rights however the computer refused the credentials.