Multi-session problem in Azure Virtual Desktop

Ashitha S 96 Reputation points
2022-12-27T11:22:26.267+00:00

I have setup a Azure Virtual Desktop with host pool type- pooled and max session limit to 5. I have added users in assignments under application groups.274267-image.png

After creating the workspace, I'm able to login but other users cannot access it. i have chosen enterprise multi session windows VM in host pool under add virtual machines.

Even after creating it this way, we are still unable to login with multiple sessions. Please suggest a solution for this

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,013 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,835 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. srbhatta-MSFT 8,586 Reputation points Microsoft Employee
    2022-12-28T06:24:42.597+00:00

    Hello @Ashitha S ,
    Welcome to Microsoft QnA.
    To allow multiple users to connect to an Azure RemoteApp virtual machine, you need to ensure that the virtual machine is configured correctly and that you have the necessary licenses.

    Here are some steps you can follow to troubleshoot the issue:

    1)Make sure that the virtual machine is running Windows Server 2019 or Windows Server 2016 with the Remote Desktop Services (RDS) role installed.

    2)Check that the Remote Desktop Services (RDS) role is properly configured on the virtual machine. You can do this by running the following PowerShell command on the virtual machine:

    Get-RDSessionHostConfiguration | Select-Object *  
    

    This command will display the current RDS configuration on the virtual machine.

    3)Ensure that you have the necessary licenses to allow multiple users to connect to the virtual machine. You can check the available licenses by running the following PowerShell command:

    Get-RDSessionHost | Select-Object *  
    

    This command will display the available licenses and the number of active sessions.

    4)If the virtual machine is configured correctly and you have the necessary licenses, you may need to check the connectivity between the client and the virtual machine. You can use the Remote Desktop Connection (RDC) tool to test connectivity and see if there are any errors or issues.

    If you continue to have issues, you may want to check the event logs on the virtual machine for any errors or issues, and please feel free to reach back to me and tag me in your response. Thank you :)

    ----------

    Please accept as answer and upvote if the above information is helpful.

    1 person found this answer helpful.
    0 comments No comments

  2. Ashitha S 96 Reputation points
    2023-01-06T19:40:52.81+00:00

    The issue is resolved after adding the below

    1. RDP property targetisaadjoined:i:1 was not added to the AVD host pool
      * In Azure portal > select host pool configured for Azure AD Joined > select RDP Properties blade > Select Advanced Tab >
      confirm targetisaadjoined:i:1 is present
      * If the RDP property does not exist you will need to add it to the AVD Host Pool RDP Properties
    2. User was not granted Virtual Machine User Login or Virtual Machine Administrator Login role
      * In Azure portal go to WVD VM > Select Access control (IAM) > Select Role Assignments > Confirm the User account has
      been granted Virtual Machine User Login or Virtual Machine Administrator Login
      * If the user which is failing the login does not have this role assigned you will need to assign him the role to mitigate
      the authentication issue
    1 person found this answer helpful.

  3. Pavel yannara Mirochnitchenko 13,331 Reputation points MVP
    2022-12-28T08:43:08.743+00:00

    I had similar case just a week ago and the root cause was that VMs did KMS activation and picked up wrong Windows OS version and stopped became multi-session. You should ensure, are VMs you created really multi-session version or not.

    So I had this problem, where end users were kicking each other away from RDP connection...

    0 comments No comments

Your answer

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