Cannot access Bastion as guest user

Jakub Ozga 0 Reputation points
2025-07-17T13:43:11.0533333+00:00

My employee cannot access Bastion. I invited him and gave access but it doesnt work. Screenshot in attachment image (5).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.
{count} votes

1 answer

Sort by: Most helpful
  1. G Sree Vidya 4,005 Reputation points Microsoft External Staff Moderator
    2025-07-17T18:26:38.1566667+00:00

    Hello Jakub Ozga

    We understand that your user is experiencing an access issue when trying to connect to Bastion.

    Based on the error screenshot, it appears that your employee does not have the necessary permissions to access Azure Bastion.

    Here are some steps you can take to help resolve the issue:

    1.Make sure that the guest user has been granted the appropriate role assignments for Azure Bastion. If just-in-time (JIT) access is enabled, the guest may need additional permissions. You can refer to the permissions listed in the Azure Bastion documentation to ensure they have access.

    2.Ensure the employee has one of the following roles at the VM or resource group level:

    • Reader + Virtual Machine User Login
    • Virtual Machine Administrator Login
    • Contributor (if broader access is acceptable)

    3.When signing in, ensure that they are using the correct User Principal Name (UPN) format: ******@domain.com. Azure Bastion requires this format for domain-joined virtual machine sign-ins.

    Also Confirm that there are no network restrictions or firewall rules that might be blocking access.


    I hope this helps! If these answers your query, do click the "Upvote" and click "Accept the answer" of which might be beneficial to other community members reading this thread.

    If the above is unclear or you are unsure about something, please add a comment below.

    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.