VM operations access

Mihaly Balint 0 Reputation points
2023-12-01T19:50:59.1733333+00:00

Hi,

I was able to create a custom role with the privilage to view and restart VMs, but users can't see the IP associated to the VM.

What privilege should I add to the custom role?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,545 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,289 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. kangupt-MSFT 20 Reputation points Microsoft Employee
    2023-12-04T05:11:59.7166667+00:00

    Hello Mihaly Balint ,

    Thank you for reaching out to Azure Community Forum.

    To allow users to view the IP associated with VMs, you should add the "Microsoft.Network/publicIPAddresses/read" action to the custom role.

    Please mark this as answer if this helps.

    -Kanika


  2. msrini-MSFT 9,271 Reputation points Microsoft Employee
    2023-12-04T05:12:55.9266667+00:00

    Hi,

    IP address are the property of the NIC. So, I would start with providing read access to the NIC - Microsoft.Network/networkInterfaces/read. Also to the VNET - Microsoft.Network/virtualNetworks/read

    Regards,

    Karthik Srinivas

    0 comments No comments