Is there an Azure built-in role that can start/stop/restart virtual machines?

Paul Nerie 271 Reputation points
2021-09-15T03:46:30.287+00:00

I seen how to do it by creating a custom role:
https://stackoverflow.com/questions/23668154/allow-users-to-start-stop-particular-azure-vms/49925159

Isn't there built-in role to do this?

Or can you directly assign a user such permissions on a VM without creating a role?

Thanks in advance!

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,792 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,377 questions
{count} vote

Accepted answer
  1. Paul Nerie 271 Reputation points
    2021-09-15T05:05:31.443+00:00

    Found it, it's 'Virtual Machine Contributor' role.

    5 people found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Lopez, Jose Ramon 11 Reputation points
    2023-06-07T14:21:20.98+00:00

    Virtual machine contributor gives more access than start/stopping/restarting a vm. better way is a custom rol as the link provided by Paul Nerie

    2 people found this answer helpful.

  2. Birendra Singh 181 Reputation points
    2021-09-15T06:22:39.34+00:00

    Hi There,

    Adding Azure AD users in RBAC of VM and assigning them Virtual Machine Contributor role can help on that


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.