Bastion Connection Erros on Azure VM

Lance_J 1 Reputation point
2021-07-06T20:30:19.77+00:00

Hello,

I continuously have connection issues (intermittent) with one of my VM's in the Azure portal. Running connection diagnostics shows no issue. The health page on the bastion host also shows no issue. However, when connecting via bastion, I receive:

"You do not have permission to access this connection. If you require access, please add your account to the list of allowed users, or check your system settings."

I can confirm that the username and password are correct - currently, no user can connect at all. I have also tried rebooting the VM

Or it claims the bastion host is down. The NIC and VNET both allow 3389 on the proper IP range.

Any ideas?

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.
243 questions
{count} votes

4 answers

Sort by: Most helpful
  1. Marty 11 Reputation points
    2022-01-06T23:51:19.693+00:00

    I had a similiar issue. I found that I had select that the user had to change password upon first login. I was presented with the same error message. The bastion interface did not like that, so unchecking that box allowed for access.

    2 people found this answer helpful.

  2. Manu Philip 17,021 Reputation points MVP
    2021-07-06T20:40:02.443+00:00

    Following link is helpful in troubleshooting the issue.
    bastion-faq

    Also, the entire page suggests on Azure Bastion FAQ

    0 comments No comments

  3. Anonymous
    2021-08-13T18:27:44.467+00:00

    Hello everyone,

    I am also facing similar issue.
    Although having reader access on resource group could not able to access VM over bastion. getting error as

    "You don't have permission to access this connection. If you require access, please add your account to the list of allowed users or check your system settings"

    Not sure how to validate list of allowed users.

    Thanks much appricated

    0 comments No comments

  4. TilSAC High & Stoned 1 Reputation point
    2022-07-04T12:47:19.313+00:00

    Had a similar issue, found the actual issue by temp allowing RDP from home, then the actual error showed: (password expired, which was strange since I was allowed to login to the Azure portal using that account. )
    Changed the password via https://myaccount.microsoft.com/ and I regained access to the VM....

    217336-azure-rdp-password-expired.jpg

    0 comments No comments