Cannot Delete my Azure Dev Testlab

Samson Adigun 25 Reputation points
2025-02-08T08:31:18.47+00:00

Hello Everyone

I created a test DevTest Labs environment which did not deploy for hours I tried deleting the DevTest Labs instance to avoid billing - the Storage Account and Key Vaults were removed, but the DevTest Labs resource is still there and in a "Failed" state.

I've tried deleting the resource via the Azure Portal several times, it takes hours and its not working, then i tried the cloud sgell (powershell) command "az lab delete --name Az-Devtest --resource-group dev-testlab --yes --no-wait"

i got this error code

(ResourceNotReady) The resource 'Az-Devtest' of type 'microsoft.devtestlab/labs' is not yet ready for the requested operation.

Code: ResourceNotReady

Message: The resource 'Az-Devtest' of type 'microsoft.devtestlab/labs' is not yet ready for the requested operation.

Is there another way I can delete the resource?

Check my correlationID

"correlationId": "a72e880f-ae22-4ff8-b6be-21f0785b81cb",
Azure DevTest Labs
Azure DevTest Labs
An Azure service that is used for provisioning development and test environments.
286 questions
{count} votes

Accepted answer
  1. Prrudram-MSFT 27,876 Reputation points
    2025-02-20T13:27:09.71+00:00

    Hello @Samson Adigun

    Thanks for reporting this issue. I was able to reproduce this issue in-house. This is indeed a bug from the Dev Test Labs. I have reached out to product team and they are aware of this issue and currently working on the fix and is tentatively to be deployed over a weekend. I would recommend you to wait till the weekend and try deletion again if it still shows up in the dev test labs.

    Please don't hesitate to tag me in your comments if you have any more questions.


0 additional answers

Sort by: Most helpful

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.