Unable to change VM Size D2ds_v5 to D2ds_v6

Sean Bernard 0 Reputation points
2025-02-18T16:17:44.83+00:00

Hi,

I try to change the size of a vm in Germany West Central from Standard_D2ds_v5 to Standard_D2ds_v6. But I receive the following error:

Update-AzVM: Unable to resize the VM 'VMNAME' since changing from resource disk to non-resource disk VM size and vice-versa is not allowed. Please refer to https://aka.ms/AAah4sj for more details.

ErrorCode: OperationNotAllowed

ErrorMessage: Unable to resize the VM 'RemotePC01' since changing from resource disk to non-resource disk VM size and vice-versa is not allowed. Please refer to https://aka.ms/AAah4sj for more details.

ErrorTarget:

StatusCode: 409

ReasonPhrase:

OperationID : 520a14a5-3379-4255-bd97-6b5fa84bbe73

I don't know why. Because I change from an size with temp disk to an vm size also with an temp disk.

Could you help me?

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

1 answer

Sort by: Most helpful
  1. Deepanshu katara 14,080 Reputation points MVP
    2025-02-18T17:13:27.9966667+00:00

    Hello Sean, Welcome to MS Q&A

    The error you're encountering when trying to change the VM size from Standard_D2ds_v5 to Standard_D2ds_v6 in Germany West Central is due to the restriction on changing from a VM size with a resource disk to one without, and vice-versa. This is a common limitation in Azure when dealing with VM size changes.

    To resolve this, you should check if the Standard_D2ds_v6 size is supported in the Germany West Central region and ensure that you have the necessary quotas available for that size. You might need to consider resizing to a different VM size that doesn't have this restriction or create a new VM with the desired size and migrate your workloads.

    For more detailed information, you can refer to the following resources:

    Please let us know if further questions

    Kindly accept answer if it helps

    Thanks

    Deepanshu

    0 comments No comments

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.