If you are encountering an authentication error when trying to connect to Azure Virtual Desktop (AVD), there are a few steps you can take to troubleshoot the issue:
- Check User Role Assignment: Ensure that the user account has been assigned the Virtual Machine User Login role on the virtual machines (VMs). This role is necessary for the user to authenticate and connect successfully.
- Verify Credentials: Make sure that the user is using the correct credentials. If the user continues to receive an authentication error, double-check the following:
- The user has the necessary role-based access control (RBAC) permissions assigned to the VM or resource group.
- The Conditional Access policy does not require multifactor authentication for the Azure Windows VM sign-in cloud application.
- Conditional Access Policies: If the user is subject to Conditional Access policies, ensure that these policies allow access to the Azure Virtual Desktop and Windows 365 apps. If the user is trying to sign in with Microsoft Entra-based single sign-on, confirm that they have access to the Windows Cloud Login app as well.
- Check for External Identity Restrictions: If the user is an external identity, verify that the cross-tenant access settings allow them to connect to the tenant where the AVD is hosted.
By following these steps, you should be able to identify and resolve the authentication issue with the Azure Virtual Desktop connection.