Forum Discussion
Ronald Nissley
Mar 11, 2017Copper Contributor
Creating VM from automation script results in 'Provisioning failed...TargetDiskBlobAlreadyExists'
I downloaded the automation script for a VM, deleted the VM and connected the OS disk as a data disk on a secondary VM for troubleshooting. After completing troubleshooting steps and detaching the OS...
Kent Gaardmand
Apr 22, 2017Steel Contributor
the script you are running expects to create a new vm from a blank disk.
have a look here for a powershell script that shows examples of how you can achieve your goal.