title: Azure: Creating VM from existing VHD gives VMMarketplaceInvalidInput
body: <p>I had to delete a VM but kept the VHD and want to recreate the VM with this one since there is necessary data on it. What I did in the web interface:</p>
  
  <ul>
  <li>Made sure the vhd is unattached </li>
  <li>clicked in the vhd status page "create new virtual machine"</li>
  <li>choose a size and left the rest as it was</li>
  <li>created the vm</li>
  </ul>
  
  <p>Now it says: </p>
  
  <blockquote>
    <p>Error at provision. Creating a virtual machine from Marketplace image
    requires Plan information in the request. VM:
    '/subscriptions/a566b4bb-3fe4-4e2b-88ec-bb627e8c2d89/resourceGroups/dev-ext-west-host-/providers/Microsoft.Compute/virtualMachines/'..
    VMMarketplaceInvalidInput</p>
  </blockquote>
  
  <p>I really need to get the vm running again with this vhd, any ideas on this one?</p>
  
  <p>EDIT:
  I did follow these steps for creating it: <a href="https://docs.microsoft.com/en-us/azure/virtual-machines/windows/create-vm-specialized-portal#create-a-vm-from-a-disk" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/virtual-machines/windows/create-vm-specialized-portal#create-a-vm-from-a-disk</a></p>