Hello @ANUJ SONI ,
Thank you for reaching out to the Microsoft Q&A platform. Happy to answer your question.
If you already have an azure VM running in azure and if you wants to download its disk in VHD format, there are a few available options that are documented here download-vhd
One of the quick methods is by using disk export feature on the azure VM blade. Adding a screenshot for yoru reference
Generate download 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 page for the VM, click Disks in the left menu.
- Select the operating system disk for the VM.
- On the page for the disk, select Disk Export from the left menu.
- The default expiration time of the URL is 3600 seconds (one hour). You may need to increase this for Windows OS disks or large data disks. 36000 seconds (10 hours) is usually sufficient.
- Click Generate URL.
Note:
The expiration time is increased from the default to provide enough time to download the large VHD file for a Windows Server operating system. Large VHDs can take up to several hours to download depending on your connection and the size of the VM.
Download VHD:
- Under the URL that was generated, click Download the VHD file.
- You may need to click Save in your browser to start the download. The default name for the VHD file is abcd.
Please "Accept as Answer" and Upvote if any of the above helped to help others in the community looking for remediation for similar issues.