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

frederic 20 Reputation points
2023-05-04T12:28:58.5133333+00:00

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 :
tempsnip

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,196 questions
Azure DevTest Labs
Azure DevTest Labs
An Azure service that is used for provisioning development and test environments.
256 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.
675 questions
{count} votes

Accepted answer
  1. deherman-MSFT 33,701 Reputation points Microsoft Employee
    2023-05-09T20:33:56.8466667+00:00

    @frederic

    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.

    Issue:

    User was unable to stop or restart the DevTest Lab VM

    Solution:
    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
    2023-05-09T14:24:01.12+00:00

    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