cancel not working
Closed this issue · 1 comments
Remove-AzResource -ResourceGroupName 'uswc-WVD-Shared-rg' -ResourceName 'wvdUser0' -ResourceType Microsoft.VirtualMachineImages/imageTemplates
Remove-AzResource: {
"code": "OperationNotAllowed",
"message": "Operation Microsoft.VirtualMachineImages/imageTemplates/delete is not allowed in provisioning state: provisioned or run state: running."
}
Invoke-AzResourceAction -ResourceGroupName 'uswc-WVD-Shared-rg' -ResourceName 'wvdUser0' -ResourceType Microsoft.VirtualMachineImages/imageTemplates -Action Cancel -force -ApiVersion '2020-02-14'
Invoke-AzResourceAction: {
"code": "OperationNotAllowed",
"message": "Operation Microsoft.VirtualMachineImages/imageTemplates/cancel/action is not allowed in provisioning state: provisioned or run state: canceling."
}
Remove-AzResource -ResourceGroupName 'uswc-WVD-Shared-rg' -ResourceName 'wvdUser0' -ResourceType Microsoft.VirtualMachineImages/imageTemplates
Remove-AzResource: {
"code": "OperationNotAllowed",
"message": "Operation Microsoft.VirtualMachineImages/imageTemplates/delete is not allowed in provisioning state: provisioned or run state: canceling."
}
it has been 6 hours and it still had not canceled.
Hi @BladeFireLight - sorry, I did not see this earlier, please raise a support incident and the specialist AIB support team will address this.