Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAzure managed disk: osDisk.managedDisk.id is not allowed #3290
Comments
|
I was able to resolve the issue by removing ("id": "[resourceId('Microsoft.Compute/disks',variables('osDiskName'))]" ) in the script. However can anyone help me in understanding why adding the this line is not working in deploying VM using managed disk. Replaced below line for OS disk"managedDisk": { with "managedDisk": { ** Data disk not tested Regards, |
|
Hi, In this case it does not create me Premium disk for OS. { |
|
For me the only way to resolve this was to change the "createOption": from"attach" to |
"The property 'requireGuestProvisionSignal' is not valid because the 'Microsoft.Compute/Agentless' feature is not enabled for this subscription"
"type": "Microsoft.Compute/virtualMachines", |
|
@dhananjayzambre I'm having the same problem as you. Did you fix it? If so I would appreciate your help. |
Hi,
I am trying to deploy vm using json template with managed disk. I create the OsDisk from platform image, and when I want to use its Id in the virtual machine, I receive error: "osDis.managedDisk.id" is not allowed. When I manually created the vm on the azure portal, and exported the json template, the same approach was in the exported json template.
Managed disk resource:
Virtual Machine resource:
I tried deploying with api version 2016-04-30-preview and 2017-03-30 but none of them worked.
Can you please help me to solve this issue?
Thanks!
Regards