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.***
- Sign in to the Microsoft Entra admin center
- Browse to Microsoft Entra ID (Azure AD) and click on Properties Tab
- Select Manage Security Defaults
- Set Security Defaults to Disabled.
- Select Save.