Azure Virtual Desktop web client login failed with correct credentials

Fused Technology Solutions 0 Reputation points
2023-12-22T04:43:16+00:00

Title

Azure Virtual Desktop web client login failed with correct credentials

Details

I've set up Azure Virtual Desktop and added users to the Desktop Application Group, giving them the necessary roles. However, when attempting to log in to the Virtual Desktop via the web client, I receive the error "Sign in failed. Please check your username and password and try again" despite ensuring that my credentials are correct. I've tried various solutions from threads and videos to no avail, and Microsoft support has not been helpful either. Can someone please guide me towards a resolution?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,014 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Silvia Wibowo 6,041 Reputation points Microsoft Employee Volunteer Moderator
    2023-12-22T05:02:32.6066667+00:00

    Hi @Fused Technology Solutions , I understand that you are trying to connect to AVD from a web client.

    Assuming you are using Microsoft Entra joined session hosts, there is a custom RDP setting required for your host pool:

    To access Microsoft Entra joined VMs using the web, Android, macOS and iOS clients, you must add targetisaadjoined:i:1 as a custom RDP property to the host pool.

    Reference: Deploy Microsoft Entra joined VMs in Azure Virtual Desktop

    Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.

    0 comments No comments

  2. Prrudram-MSFT 28,201 Reputation points Moderator
    2024-05-06T12:24:02.7966667+00:00

    Hello @Fused Technology Solutions
    Adding an answer for the benefit of community users, also, in case you still see this issue on any of the VMs

    First, let's make sure that the user account you're using to log in has been assigned to the correct application group. You can confirm this by running the following command in PowerShell

    Example

    Get-AzRoleAssignment -ResourceGroupName testRG -SignInName ******@contoso.com

    This command will return the role assignments for the user, which should include the Desktop Application Group that you've created.

    Ref: https://learn.microsoft.com/en-us/powershell/module/az.resources/get-azroleassignment?view=azps-10.4.1

    If the user is assigned to the correct group, then let's check if the user is signing in with the correct credentials. Double-check the username and password to ensure that they are correct. You can also try resetting the user's password to see if that resolves the issue.

    If the web client is being used, confirm that there are no cached credentials issues. You can try clearing the browser cache and cookies or try using a different browser to see if that resolves the issue.

    If the issue persists, it's possible that there may be an issue with the Azure Virtual Desktop service. You can check the Azure status page to see if there are any known issues affecting the service. If there are no known issues, you can try reaching out to Microsoft support again for further assistance.

    I hope this helps! Let me know if you have any other questions or concerns.

    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.