Azure: Unable to create a new VM

Vitaly Nuhimov.

Published:

Azure: Unable to create a new VM from an existing VHD by using a template. And the Solution –

When creating a VM from an existing VHD, VHD URL cannot contain folders.

Error message:

The blob name in URL https://storageaccount.blob.core.windows.net/blob/folder/vm.vhd contains a slash. This is presently not supported for disks. (Code: InvalidParameter)

Solution:

Place VHD directly in a Blob container.

Example: Valid VHD URL https://storageaccount.blob.core.windows.net/blob/vm.vhd

 

By Vitaly Nuhimov.

Facebook Comments