Users unable to see VMs unless they are an Administrator

David Walker 21 Reputation points
2021-05-28T07:45:24.653+00:00

We are attempting to provide VMs to Guest users. We do this by creating the VM and allocating the user the the "Azure role assignment" of "Virtual Machine Contributor" on that resource. We are using Bastion server to connect.

Intended users cannot see the VM inside their Azure portal.

If we make them an Administrator, they can see it. But that is not what we want.

Any advice would be welcome.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,065 questions
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.
241 questions
0 comments No comments
{count} votes

Accepted answer
  1. Ramya Harinarthini_MSFT 5,306 Reputation points Microsoft Employee
    2021-06-01T12:06:06+00:00

    @David Walker Welcome to Microsoft Q&A, Thank you for posting your here!!

    Ideally Virtua Machine contributor role can perform all the operations mentioned in this document
    i.e. Create and Manage Virtual Machine and users will able to view the VM's in the Azure portal. However, the user cannot connect using Bastion host.

    In order to make a connection, the following roles are required:

    Reader role on the virtual machine
    Reader role on the NIC with private IP of the virtual machine
    Reader role on the Azure Bastion resource

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

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

    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful