Download a Linux VHD from Azure
In this article, you learn how to download a Linux virtual hard disk (VHD) file from Azure using the Azure portal.
Stop the VM
A VHD can’t be downloaded from Azure if it's attached to a running VM. You need to stop the VM to download the VHD.
Sign in to the Azure portal.
On the left menu, select Virtual Machines.
Select the VM from the list.
On the page for the VM, select Stop.
Generate SAS URL
To download the VHD file, you need to generate a shared access signature (SAS) URL. When the URL is generated, an expiration time is assigned to the URL.
- On the menu of the page for the VM, select Disks.
- Select the operating system disk for the VM, and then select Disk Export.
- If the needed, update the value of URL expires in (seconds) to give you enough time to complete the download. The default is 3600 seconds (one hour).
- Select Generate URL.
Under the URL that was generated, select Download the VHD file.
You may need to select Save in the browser to start the download. The default name for the VHD file is abcd.