My client cannot start, stop or restart his VM in a DevTestLab even by having the right role on it

frederic 20 Reputation points

My client cannot start, stop or restart his VM in a DevTestLab even by having the right role on it. The error says that he doesn't have the right access on it :

MicrosoftTeams-image (2)

Here is the role I gave him on the DevTestLab :

Please someone help. Thank you.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,394 questions
Azure DevTest Labs
Azure DevTest Labs
An Azure service that is used for provisioning development and test environments.
261 questions
Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
702 questions
{count} votes

Accepted answer
  1. deherman-MSFT 34,686 Reputation points Microsoft Employee


    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer.


    User was unable to stop or restart the DevTest Lab VM

    The user needs to have created the VM to have control over it.

    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. frederic 20 Reputation points

    It appeared that the DevTest Labs User should create the VM on their own
    to have control over it, once they create a VM they become owners over the specific resource. So the user of the VM should have the role "Owner" or "Contributor" on the ressource to be able to access it.


    0 comments No comments