VM operations access

Mihaly Balint 0 Reputation points


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

    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.


  2. msrini-MSFT 9,271 Reputation points Microsoft Employee


    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


    Karthik Srinivas

    0 comments No comments