none
Unable to deploy VM via ARM RRS feed

  • Question

  • From: Adam Bertram @adbertram via Twitter

    I’m trying to deploy a single VM via ARM using a template via PowerShell. When I attempt this, I’m getting this error even though I only have a single CustomScriptExtension resource defined in my template. 

    I have sysprepped a Server 2008 R2 VHD, uploaded to my storage account and am attempting to deploy a v2 VM with it with an ARM template deployed via PowerShell. I’ve followed this same procedure with my Server 2012 R2 image and it works great.
    Here’s the failure I get when I attempt to deploy a VM. It hangs for nearly 25 minutes and I get the attached error. In the portal, I see an error in the Audit logs like this: "statusCode:Conflict statusMessage:{"status":"Failed","error":{"code":"ResourceDeploymentFailure","message":"The resource operation completed with terminal provisioning state 'Failed'.","details":[{"code":"VMStartTimedOut","message":"VM ' did not start in the allotted time. The VM may still start successfully. Please check the power state later."}]}}”

    However, the VM will not start even when attempted manually.

    Thanks, 

    @AzureSupport

    Sunday, March 6, 2016 12:27 AM

All replies