Connection Error on Bastion with AVD

Pavel yannara Mirochnitchenko 12,596 Reputation points MVP
2022-07-13T07:09:51.587+00:00

I have AVD setup with AzureAD only in my test lab. With user account, I can connect to VM via RDP client and web client. End user is also member of local RDP users. VM has basic network security set with 443, 80, SSH and 3389 port opened. I deployed Bastion and I cannot connect. I tested also local admin credits, both cannot connect.

220295-image.png

Connectivity works fine (it seems like it)

220284-image.png

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.
264 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,564 questions
0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. GitaraniSharma-MSFT 49,651 Reputation points Microsoft Employee
    2022-07-13T11:08:52.703+00:00

    Hello @Pavel yannara Mirochnitchenko ,

    Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.

    I understand that you are trying to connect to your AVD using Azure Bastion and getting a connection error.

    As of today, Bastion connectivity to Azure Virtual Desktop isn't supported.
    Refer : https://learn.microsoft.com/en-us/azure/bastion/bastion-faq#virtual-desktop

    If you wish you may leave your feedback in the below forum requesting this feature. All the feedback you share in these forums will be monitored and reviewed by the Microsoft engineering teams responsible for building Azure.
    https://feedback.azure.com/d365community/forum/8ae9bf04-8326-ec11-b6e6-000d3a4f0789

    In the mean time, you can take a look into the new feature of Azure Virtual Desktop called RDP Shortpath for managed networks.
    Refer : https://learn.microsoft.com/en-us/azure/virtual-desktop/shortpath

    Kindly let us know if the above helps or you need further assistance on this issue.

    ----------------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


  2. Pavel yannara Mirochnitchenko 12,596 Reputation points MVP
    2022-07-14T07:03:06.257+00:00

    To be able to set .\localadmin with .\ you need to switch keyboard layout to something else than EN-US and then you will get it. This is solved.


  3. Sanket Patil 1 Reputation point
    2022-07-18T05:48:26.563+00:00

    The error could happen when the Azure Bastion does not make provision well or you are deleting the Bastion service (it takes a few minutes to delete the service). After Bastion has been deployed to the virtual network, the screen changes to the connect page. In this case, you could delete the failed Bastion service.

    Regards,
    J Wick


  4. Pavel yannara Mirochnitchenko 12,596 Reputation points MVP
    2022-12-21T10:07:28.163+00:00

    I don't have anymore the option to change keyboard layout so I cannot set .\admin anymore because bastion does not read additional keys.


  5. Pavel yannara Mirochnitchenko 12,596 Reputation points MVP
    2022-12-28T17:19:57.95+00:00

    I solved this already by going to Bastion properties, there I can select Swedish keyboard which gives me the back slash. Thanks for your efford.

    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.