Running the VM in Azure

Has anyone been able to successfully run the VM in Azure? I believe I’m running into a problem with the VM Size at a 1MB boundary and Dynamic type according to this post:

Relevant text: “Note that the OS disk must be a fixed-VHD and aligned to the 1MB boundary.”

The Azure download at for the Stable build seems to have the following characteristics (pulled from Get-VHD in Hyper-V):
VhdType : Dynamic
FileSize : 4184913920
Size : 45097156608
MinimumSize : 37582012416

Has anyone else run into this issue? Apologies if it’s somewhere else on the forum.


@simaishi can you review this question from @epennaz and forward to a SME if necessary.

Hello @epennaz

When you use the PowerShell command as per the instruction in the download page, it converts the disk to Fixed and you should be able to create a VM from it.

How are you uploading the image to Azure?

I was using the Azure CLI. Thanks @simaishi it looks like the cmdlet Add-AzureRmVhd does indeed take care of this.