Hiya chaps, read this post to learn how to resolve Azure Virtual Desktop problems with the Remote Desktop Web Client.

Error message:

There are currently no resources assigned to you in host-pool-ws-01. Contact technical support for help.

Solution

You cannot view the VM on the Remote desktop web client because of the Desktop Virtualization User role missing on your Azure AD account.

The following steps will help you solve the problem.

Step 1. On the left-hand side menu of the Application group, select Access control (IAM) – + Add – Add role assignment

Step 2. Search for the “Desktop Virtualization User” role, select it and click Next

Step 3. Select the user to assign the role to and click Review + assign.

After refreshing the Azure VD web app client page you can view your VM.

Error message:

We couldn’t connect to the gateway because of an error. If this keeps happening, ask your admin or tech support for help.

Solution

There can be several causes for the following error message, so I’ll show you all possible solutions

Assign user(s) to the application group

Step1. On the left-hand side menu of the Application group select ManageAssignments+ Add. Choose the user and click Select.

Assign the “Virtual Machine User Login” to the AAD user account

Step 1. In the Azure Portal, navigate to the VM resource, and in the left-hand menu, click on “Access control (IAM)”

Step 2. In the “Add role assignment” panel, select the role “Virtual Machine User Login”.

Step 3. Then select the AAD user account to whom you want to grant this role and select Review + assign

 

Configure the host pool RDP Properties

On the Host pool, select SettingsRDP PropertiesAdvanced and add to the RDP Properties targetisaadjoined:i:1;

Azure AD-joined VMs can be accessed through the web, Android, macOS and iOS clients by adding targetisaadjoined:i:1 to the host pool.

The final result will be you successfully signing in to your VM

Click Yes to Allow remote desktop connection

To verify that your VM is Azure Ad Joined open a cmd and run the command dsregcmd /status

Share This