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.
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.