Using Console
Using CLI
<resource-group-name>
with the name of the resource group where the virtual machine is located, and <vm-name>
with the name of the virtual machine that you want to remediate.Step 4: Wait for the conversion to complete. Once the conversion is complete, the virtual machine’s unmanaged disk will be replaced with a managed disk.Step 5: Verify that the virtual machine’s unmanaged disk has been replaced with a managed disk by running the command below:<resource-group-name>
with the name of the resource group where the virtual machine is located, and <vm-name>
with the name of the virtual machine that you want to remediate.Step 6: Repeat the above steps for all the virtual machines in your subscription to ensure that they are using managed disk volumes.By following the above steps, you can remediate the misconfiguration “Use Managed Disk Volumes for Virtual Machines” in AZURE using AZURE CLI.Using Python