Hi,
Try using Azure PowerShell instead, I've used it and it works:
Change the OS disk used by an Azure VM using PowerShell
https://learn.microsoft.com/en-gb/azure/virtual-machines/windows/os-disk-swap
Best regards,
Leon
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
hello, when I click the change the operating system disk in the disks section in azure virtual machine, the disk I created earlier does not appear. How can I change the operating system disk there?
Hi,
Try using Azure PowerShell instead, I've used it and it works:
Change the OS disk used by an Azure VM using PowerShell
https://learn.microsoft.com/en-gb/azure/virtual-machines/windows/os-disk-swap
Best regards,
Leon
Good day,
change the operating system disk
I assume that you mean "Swap OS Disk" option
the disk I created earlier does not appear.
You can only swap to another disk which is Azure OS disk, and not a new disk which you create. The option swap OS disk is a DR solution (DR = Disaster Recovery), and not meant to provide a way to build your own freely virtual hard disk (vhd)
You can swap for example to a backup of the OS disk (created with the Azure Backup service)
Check if the following tutorial helps more: https://petri.com/swapping-os-disk-azure-virtual-machine