Users not able to log in to Azure Virtual Desktop environment after enabling 2 Factor Authentication (2FA)

Users not able to log in to Azure Virtual Desktop environment after enabling 2 Factor Authentication (2FA)

When enabling 2 Factor Authentication (2FA) or Multi-Factor Authentication (MFA) on a user it can cause the Remote Desktop Client connection to your Azure Virtual Desktop environment to fail with an error "The Logon Attempt Failed" as seen below:




****To solve this issue you have to do the following procedure in your Microsft Entra Admin Center.***

  1. Sign in to the Microsoft Entra admin center
  2. Browse to Microsoft Entra ID (Azure AD) and click on Properties Tab
  3. Select Manage Security Defaults
  4. Set Security Defaults to Disabled.
  5. Select Save.