Unable to delete user from lab

Shaheen Nalakath 26 Reputation points
2023-01-03T16:07:47.453+00:00

We had published a lab to a set of users. Now, when I am trying to delete one of the users, it takes forever, and the action eventually fails. I tried it few times, but it was futile. Has anyone else encountered similar problems and managed to address it?

Thanks in advance!

275730-image.png

Azure Lab Services
Azure Lab Services
An Azure service that is used to set up labs for classrooms, trials, development and testing, and other scenarios.
297 questions
{count} vote

Accepted answer
  1. kobulloc-MSFT 26,336 Reputation points Microsoft Employee
    2023-01-04T01:28:25.62+00:00

    Hello, @Shaheen Nalakath !

    Why can't I delete a user from a published Azure Lab Services Lab?
    Confirming what @JimmySalian-2011 has said, you should be able to delete a user quickly by selecting the user, clicking on Delete at the top, and then waiting a short period of time (maybe 10 to 20 seconds in my case). If this fails, then there may be an issue that we need to investigate. You can create a support ticket or reach out to us here on Microsoft Q&A to investigate.

    Edit: In this case, it appears the user being deleted had a VM in a stuck state which prevented Azure Lab Services from releasing the resources in use by the user prior to deleting them. We were able to delete and recreate the VM that was affected.

    To help with troubleshooting, we may ask for the following information:

    • Is the Azure Lab Services lab based on a lab account or a lab plan?
    • Can you provide the lab resource ID or correlation/request ID from the affected Azure Lab Services lab? (see bottom screenshot below for instructions)

    After publishing the Lab Services lab, select the user and click on Delete
    275827-image.png

    After a minute or so, the user should be deleted
    275836-image.png

    Get the correlationId or resourceId by going to the Activity log, clicking on the Operation name (Delete users), going to the JSON tab, and searching for correlationId or resourceId:
    275883-image.png

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. JimmySalian-2011 42,131 Reputation points
    2023-01-03T16:21:46.507+00:00

    Hi,

    The Status seems to up and running for this Lab Services no issues, however I will suggest you to raise a support ticket to get this investigating from the backend - create-ticket

    Hope this helps.
    JS

    ==
    Please Accept the answer if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.
    0 comments No comments

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.