Remediation
From Azure Portal
- Using the search feature, go to
Virtual Machines. - Select the virtual machine you would like to convert.
- Select
Disksin 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
Migrateto 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