Unable to RDP to Windows 11 Machine

Danny Broadhurst 6 Reputation points
2023-01-23T05:11:11.5466667+00:00

I hope someone can help as I have been pulling my hair out for a few weeks over this issue.

I have a Windows 11 Virtual Machine in Azure which I have been able to connect to until recently. When connecting it gets to Securing connection and it then fails. I have tried a local user account and it connects fine with no issues. As soon as I use my AAD user it has this issue my account is AD Synced from local AD. I have tried to login to the VM using a cloud only account as this also works.

I have also setup a Windows 365 Cloud PC and this is also doing the same thing and not letting me connect with my AAD account.

  • Virtual PC is Windows 11 22H2.
  • Joined to Azure AD with Intune
  • I can login if I am using a 3rd party tool such as Teamviewer or Connectwise Control.
  • I can login to the VM using local credentials via RDP.
  • I can login to the VM using another AAD account (Non AD Synced) via RDP.
  • I have made my AAD account Cloud only and I am still experiencing the same thing.
  • I have tried the Registry UDP fix for Windows 11.
  • I have tried a fresh install of Windows 11 22H2 on my laptop in case this was causing some issues.
  • I have tried to re join the VM to AAD.

When connecting to the Azure VM using my login details that fail, I get these 2 errors in the event log. (RemoteDesktopServices-RdpCoreTS/Operational)

  • RDP_TCP: An error was encountered when transitioning from StateUnknown in response to Event_Disconnect (error code 0x80070040).
  • TCP socket READ operation failed, error 64

Really hopeful someone has come across this before and can help.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,366 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,718 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,258 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

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.