Azure Virtual Machine cannot connect through RDP Or Bastion

Gihan Pathirana 1 Reputation point
2022-10-03T09:26:47.12+00:00

Cannot connect to the VM using Bastion or RDP. Only can access using console with CMD. VM up and running. Can be access file share and remote mapping for registry as well as computer managment console.

Azure Bastion
Azure Bastion
An Azure service that provides private and fully managed Remote Desktop Protocol (RDP) and Secure Shell (SSH) access to virtual machines.
293 questions
Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,841 questions
Windows for business | Windows Client for IT Pros | User experience | Remote desktop services and terminal services
0 comments No comments
{count} votes

6 answers

Sort by: Most helpful
  1. Andreas Baumgarten 123.5K Reputation points MVP Volunteer Moderator
    2022-10-03T10:04:42.03+00:00

    Hi @Gihan Pathirana ,

    what kind of OS did you run on your VM? Could it be a Core version of Windows Server?

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    0 comments No comments

  2. Gihan Pathirana 1 Reputation point
    2022-10-03T10:43:09.117+00:00

    Hi andreasbaumgarten,

    Windows server 2016. Its GUI not core.

    Thanks!

    0 comments No comments

  3. Andreas Baumgarten 123.5K Reputation points MVP Volunteer Moderator
    2022-10-03T10:49:26.25+00:00

    Hi @Gihan Pathirana ,

    maybe one of the links is helpful:
    https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/troubleshoot-rdp-connection
    https://learn.microsoft.com/en-us/azure/bastion/troubleshoot

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    0 comments No comments

  4. Gihan Pathirana 1 Reputation point
    2022-10-03T10:59:08.313+00:00

    Hi AndreasBaumgarten,

    Already tried all the above steps and does not resolve the issue.

    Thanks!

    0 comments No comments

  5. Prrudram-MSFT 28,206 Reputation points Moderator
    2022-10-04T08:27:53.96+00:00

    Hello @GihanPathirana-860,

    Is there any specific error you get when you try to connect using RDP or bastion? If you have already tried all the first hand troubleshooting for RDP issue, I would suggest trying the PowerShell method described here https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/troubleshoot-rdp-connection#troubleshoot-using-azure-powershell

    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.