Keep getting a "Start operation is not allowed on Virtual Machine. Please check error details."

Half Cloudhill 0 Reputation points
2025-01-15T17:44:38.2366667+00:00

Keep getting "Start operation is not allowed on Virtual Machine. Please check error details." error as soon as I attempt to allocate the VM. Although this VM is a spot vm, I have been able to allocation (start) it on regular basis in the past till about five days ago.

What have changed? How do I diagnose?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,245 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Silvia Wibowo 4,946 Reputation points Microsoft Employee
    2025-01-15T23:22:42.22+00:00

    Hi @Half Cloudhill , I understand you're using Azure Spot VM and now you can't start it.

    Spot VMs can be stopped if Azure needs capacity for other pay-as-you-go workloads or when the price of the spot instance exceeds the maximum price that you have set. When creating an Azure Spot Virtual Machine, by default, eviction policy is set to Deallocate.

    The Deallocate policy moves your VM to the stopped-deallocated state, allowing you to redeploy it later. However, there's no guarantee that the allocation will succeed. If you try to restart a stopped/deallocated VM, Azure will first check whether there is capacity and quota, then VM is deployed.

    Since you can't start the VM, possibilities:

    Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.


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.