title | description | services | documentationcenter | author | manager | tags | ms.service | ms.topic | ms.date | ms.author | ms.custom |
---|---|---|---|---|---|---|---|---|---|---|---|
VM restarting or resizing issues in Azure |
Troubleshoot Resource Manager deployment issues with restarting or resizing an existing Virtual Machine in Azure |
virtual-machines |
genlin |
dcscontentpm |
top-support-issue |
virtual-machines |
troubleshooting |
11/16/2021 |
genli |
sap:Cannot start or stop my VM, H1Hack27Feb2017 |
Applies to: ✔️ Windows VMs
When you try to start a stopped Azure Virtual Machine (VM), or resize an existing Azure VM, the common error you encounter is an allocation failure. This error results when the cluster or region either does not have resources available or cannot support the requested VM size.
[!INCLUDE support-disclaimer]
To start troubleshooting, collect the activity logs to identify the error associated with the issue. The following links contain detailed information on the process:
View activity logs to manage Azure resources
You try to start a stopped VM but get an allocation failure.
The request to start the stopped VM has to be attempted at the original cluster that hosts the cloud service. However, the cluster does not have free space available to fulfill the request.
-
Stop all the VMs in the availability set, and then restart each VM.
- Click Resource groups > your resource group > Resources > your availability set > Virtual Machines > your virtual machine > Stop.
- After all the VMs stop, select each of the stopped VMs and click Start.
-
Retry the restart request at a later time.
You try to resize an existing VM but get an allocation failure.
The request to resize the VM has to be attempted at the original cluster that hosts the cloud service. However, the cluster does not support the requested VM size.
-
Retry the request using a smaller VM size.
-
If the size of the requested VM cannot be changed:
-
Stop all the VMs in the availability set.
- Click Resource groups > your resource group > Resources > your availability set > Virtual Machines > your virtual machine > Stop.
-
After all the VMs stop, resize the desired VM to a larger size.
-
Select the resized VM and click Start, and then start each of the stopped VMs.
-
When you try to stop, start, restart, or redeploy an existing VM, the process fails, and you receive an "An unexpected error occurred while processing the network profile of the VM. Please retry later" error message. When this error occurs, the VM is put into a failed state.
This issue occurs if there is a problem in allocating or updating network resources.
Try to reapply the virtual machine state. This operation reruns VM provisioning, and helps resolve the VM state failure that occurs if VM provisioning failed when you ran a previous VM action.
- Navigate to the VM that's stuck in the failed state.
- Under Help, select Redeploy + reapply.
- Select the Reapply option.
If you encounter issues when you create a new Windows VM in Azure, see Troubleshoot deployment issues with creating a new Windows virtual machine in Azure.
[!INCLUDE Azure Help Support]