Remediation
From Azure Portalβ
- Using the search feature, go to
Virtual Machines
. - Select the virtual machine you would like to convert.
- Select
Disks
in the menu for the VM. - At the top select
Migrate to managed disks
. - You may follow the prompts to convert the disk and finish by selecting
Migrate
to start the process.
NOTE: VMs will be stopped and restarted after migration is complete.
From PowerShellβ
Stop-AzVM -ResourceGroupName $rgName -Name $vmName -Force ConvertTo-AzVMManagedDisk -ResourceGroupName $rgName -VMName $vmName Start-AzVM -ResourceGroupName $rgName -Name $vmName