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

Paul Nerie 266 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,086 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,389 questions
{count} vote

Accepted answer
  1. Paul Nerie 266 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 6 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

    1 person found this answer helpful.
    0 comments No comments

  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