Azure / Azure/azure-devtestlab

AzureDevTestLabsCreateVM returns ResourceIsNotInValidState

Open
#761 2 comments 0 reactions 0 assignees View on GitHub
tasks
Dominant language
PowerShell
Stars
465
Forks
595
PR merge metrics
No merged PRs in 30d

Description

We use AzureDevTestLabsCreateVM in our yaml pipeline to create virtual machine. From time to time, the task returns a ResourceIsNotInValidState error and fails the pipeline.

Here is the detail of the error:
##[error]At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details. InnerError => code: 'ResourceIsNotInValidState'; message: 'Resource 'XXXX' **is not in a valid state 'Creating' for operation 'PUT'**.'

However, I logon to the https://portal.azure.com/ and I can see the it's still creating the related vm. And at the end the vm is successfully created.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.