azureazure-active-directoryazure-virtual-machineazure-linux

Virtual Machines not accessible in Azure


I am in an organization on azure with the following roles: roles

Another member with the same roles created an azure VM that I can not see in my virtual machine interface. It always takes me to this window whenever I search Virtual Machine.

search results

When I access the link shared by the other person to access the page, it will lead me to this error page:

enter image description here

Having the role of Global admin, should not I be able to access everything in the organization setup?

This is the current license of the organization

enter image description here


Solution

  • Note that, Azure AD roles are different from Azure RBAC roles.

    You have Azure AD roles that will only help you to manage Azure AD resources like users, groups, applications etc., and won't give access for Azure resources.

    To manage Azure resources like virtual machines, storage accounts etc., you need Azure RBAC roles that links with subscription.

    I tried to reproduce the same in my environment and got below results:

    I created one Azure AD user named Test user and assigned same roles as you like below:

    enter image description here

    When I signed in with above Test user account, I got the same screen as you like below:

    enter image description here

    I got the same error as you when I tried to access virtual machine like below:

    enter image description here

    You can check with other members what Azure RBAC role they have under virtual machine as below:

    enter image description here

    To resolve the error, get yourself assigned with the same RBAC role the other member has, under your subscription like below:

    enter image description here

    After getting that role, you can access the virtual machine successfully like below:

    enter image description here