when I try to create a managed disk in azure portal using the vhd getting the below error. It is in dynamic type

nimi 91 Reputation points

when I try to create a managed disk in azure portal using the vhd getting the below error. What can I do now? Please give me a step by step procedure.

Also I have one doubt there is Classic disk and managed disk. What is the difference between the both?

Can we create classic disk using the vhd and can we create vm from that? Is it possible?190893-nith.png

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,375 questions
Azure Disk Storage
Azure Disk Storage
A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.
586 questions
{count} votes

1 answer

Sort by: Most helpful
  1. srbhatta-MSFT 8,546 Reputation points Microsoft Employee

    Hello @nimi ,
    Thanks for posting your query on Microsoft QnA.
    You are getting the error of "Please retry with fixed VHD type" because you have to convert your dynamic disk to a fixed size disk first. Follow the steps mentioned below. There are 2 ways to convert a dynamic VHD to a fixed size VHD.

    1. Using Hyper-V Manager
    2. Using Powershell

    Classic disk is also known as unmanaged disk.
    Unmanaged disks are not managed by Microsoft. You will need to create a storage account where you will store the disk. As the storage account is created by you, you will have to manage the storage account yourself. Additionally, unmanaged disks are not an ARM resource, they are present in a .vhd format within the storage account.

    Managed disks on the other hand are stored in Microsoft managed storage accounts, so you will not have the overhead of managing the storage account. They are stored as ARM objects/resources. Also, managed disks are more secure as they provide encryption by default, as well as provide better resiliency.

    I would recommend you to first upload the VHD to Azure then create a managed image out of that VHD , andthen create VM out of it.
    Follow the below steps :
    Prepare a VHD to Upload
    Upload a VHD to create a managed image

    Follow the above detailed documentation steps and you will be able to upload the VHD to Azure and create an image out of it. From that image, you can deploy VMs.

    Hope this helps.


    Please accept as answer and upvote if you think the information provided was useful as it will benefit the community.

    0 comments No comments