Unable to connect to Azure Remote Deskop after updates

Michael L. Mitchell 6 Reputation points
2022-10-26T15:55:07.777+00:00

After KB5020435 is applied to the AVD session hosts, and after updating the remote client's Remote Desktop app version beyond 1.2.3213, clients are unable to connect to the session hosts. After authentication, they receive the following error message: An authentication error has occurred. A specified logon session does not exist. It may have already been terminated. Error code: 0x0, extended error code: 0x0, Activity ID: 5278116b-4dd6-4e08-a3b8-5f1bce1c0000. If we uninstall that hotfix from the AVD session hosts or use an older version of the Remote Desktop client for Windows, this error does not occur.

Our AVD session hosts are running Windows 10 21H2.

End users are running a mix of operating systems and clients. The problem occurs with the Windows client (versions noted above), and with the web client, but does not occur on the Store App client or on macOS clients.

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,514 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,503 questions
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,340 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Michael L. Mitchell 6 Reputation points
    2022-11-11T16:28:23.11+00:00

    We have found that disabling Azure AD authentication under the RDP Properties of the session host pool will allow us to workaround the issue when 5020435 is installed on the session hosts. We do have a Microsoft support ticket open and we are awaiting further information, but I wanted to share this preliminary workaround. Note, this can also be worked around by removing enablerdsaadauth:i:1 from the Advanced tab under RDP Properties, too.


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.