Azure VM deallocate operation not supported for VMs with ephemeral OS disk

Nirav Harishbhai Raval (NHRA) 20 Reputation points
2024-09-24T10:12:39.7366667+00:00

I received a maintenance notification from Azure asking me to deallocate a VM, but I'm getting an error message stating that 'Operation 'deallocate' is not supported for VMs or VM Scale Set instances using an ephemeral OS disk.' How can I perform the deallocation in this case?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,901 questions
Azure Virtual Machine Scale Sets
Azure Virtual Machine Scale Sets
Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.
399 questions
0 comments No comments
{count} votes

Accepted answer
  1. TP 95,221 Reputation points
    2024-09-24T10:44:19.73+00:00

    Hi,

    You can't deallocate VM with ephemeral OS disk. You have to delete it and then re-create it.

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.