Addition of a managed disk to a VM with blob based disks is not supported











up vote
0
down vote

favorite












I am trying to deploy VM from managed image and data disk using the following with the API version "2015-06-15" for the VM. I am unable to attach the data disk to the VM when I run below ARM template. I tried the preview as well but the preview API version doesn't support the storage account. I have commented on the same while trying the preview API version and latest version.



            {
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"customVmName": {
"type": "string",
"metadata": {
"description": "This is the name of the your VM"
}
},
"osDiskVhdUri": {
"type": "string",
"metadata": {
"description": "Uri of the your user image"
}
},
"adminUserName": {
"type": "string",
"metadata": {
"description": "User Name for the Virtual Machine"
}
},
"adminPassword": {
"type": "securestring",
"metadata": {
"description": "Password for the Virtual Machine"
}
},
"userImageStorageAccountName": {
"type": "string",
"metadata": {
"description": "This is the name of the your storage account"
}
},
"osType": {
"type": "string",
"allowedValues": [
"Windows",
"Linux"
],
"metadata": {
"description": "This is the OS that your VM will be running"
}
},
"vmSize": {
"type": "string",
"metadata": {
"description": "This is the size of your VM"
}
},
"ExistingVnet": {
"allowedValues": [ "new", "existing" ],
"type": "string",
"metadata": {
"description": "Select if this template needs a new VNet or will reference an existing VNet"
}
},
"ExistingVnetName": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "New or Existing VNet Name"
}
},
"ExistingSubnetName": {
"type": "string",
"defaultValue": "subnet",
"metadata": {
"description": "Subnet Name"
}
},
"existingdiagnosticsStorageAccountName": {
"type": "string"
}
},
"variables": {
"vmName": "[parameters('customVmName')]",
"nicName": "[parameters('customVmName')]",
"apiVersion": "2015-06-15",
"vnetID": "[resourceId('ISE-MarkW', 'Microsoft.Network/virtualNetworks', parameters('ExistingVnetName'))]",
"subnetRef": "[concat(variables('vnetID'),'/subnets/', parameters('ExistingSubnetName'))]",
},
"resources": [
{
"apiVersion": "2016-06-01",
"type": "Microsoft.Network/networkInterfaces",
"name": "[variables('nicName')]",
"location": "[resourceGroup().location]",
"properties": {
"ipConfigurations": [
{
"name": "ipconfig1",
"properties": {
"privateIPAllocationMethod": "Dynamic",
"subnet": {
"id": "[variables('subnetRef')]"
}
}
}
]
}
},
{
"type": "Microsoft.Compute/disks",
"name": "[concat(variables('vmName'),'-datadisk1')]",
"apiVersion": "2017-03-30",
"location": "[resourceGroup().location]",
"sku": {
"name": "Premium_LRS"
},
"properties": {
"creationData": {
"createOption": "Empty"
},
"diskSizeGB": 128
}
},
{
"apiVersion": "[variables('apiVersion')]",
"type": "Microsoft.Compute/virtualMachines",
"name": "[variables('vmName')]",
"location": "[resourceGroup().location]",
"dependsOn": [
"[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]",
"[resourceId('Microsoft.Compute/disks/', concat(variables('vmName'),'-datadisk1'))]"
],
"properties": {
"hardwareProfile": {
"vmSize": "[parameters('vmSize')]"
},
"osProfile": {
"computerName": "[variables('vmName')]",
"adminUsername": "[parameters('adminUsername')]",
"adminPassword": "[parameters('adminPassword')]"
},
"storageProfile": {
"osDisk": {
"name": "[concat(variables('vmName'),'-osDisk')]",
"osType": "[parameters('osType')]",
"caching": "ReadWrite",
"createOption": "FromImage",
"image": {
"uri": "[parameters('osDiskVhdUri')]"
},
"vhd": {
"uri": "[concat(reference(concat('/subscriptions/xxxx/resourceGroups/inflabimages-rg/providers/Microsoft.Storage/storageAccounts/', parameters('userImageStorageAccountName')), variables('apiVersion')).primaryEndpoints.blob, 'vhds/',variables('vmName'), uniquestring(resourceGroup().id), 'osDisk.vhd')]"
}
},
"dataDisks": [
{
"lun": 0,
"name": "[concat(variables('vmName'),'-datadisk1')]",
"createOption": "Attach",
"managedDisk": {
"id": "[resourceId('Microsoft.Compute/disks/', concat(variables('vmName'),'-datadisk1'))]"
},
"caching": "ReadWrite"
}
]
},
"networkProfile": {
"networkInterfaces": [
{
"id": "[resourceId('Microsoft.Network/networkInterfaces',variables('nicName'))]"
}
]
},
"diagnosticsProfile": {
"bootDiagnostics": {
"enabled": true,
"storageUri": "[concat('http://', parameters('existingdiagnosticsStorageAccountName'), '.blob.core.windows.net')]"
}
}
}
}
]
}


I am getting VM deployment failed below message



            "error": {
"code": "OperationNotAllowed",
"message": "Addition of a managed disk to a VM with blob based disks is not supported.",
"target": "dataDisk"
}









share|improve this question




























    up vote
    0
    down vote

    favorite












    I am trying to deploy VM from managed image and data disk using the following with the API version "2015-06-15" for the VM. I am unable to attach the data disk to the VM when I run below ARM template. I tried the preview as well but the preview API version doesn't support the storage account. I have commented on the same while trying the preview API version and latest version.



                {
    "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
    "contentVersion": "1.0.0.0",
    "parameters": {
    "customVmName": {
    "type": "string",
    "metadata": {
    "description": "This is the name of the your VM"
    }
    },
    "osDiskVhdUri": {
    "type": "string",
    "metadata": {
    "description": "Uri of the your user image"
    }
    },
    "adminUserName": {
    "type": "string",
    "metadata": {
    "description": "User Name for the Virtual Machine"
    }
    },
    "adminPassword": {
    "type": "securestring",
    "metadata": {
    "description": "Password for the Virtual Machine"
    }
    },
    "userImageStorageAccountName": {
    "type": "string",
    "metadata": {
    "description": "This is the name of the your storage account"
    }
    },
    "osType": {
    "type": "string",
    "allowedValues": [
    "Windows",
    "Linux"
    ],
    "metadata": {
    "description": "This is the OS that your VM will be running"
    }
    },
    "vmSize": {
    "type": "string",
    "metadata": {
    "description": "This is the size of your VM"
    }
    },
    "ExistingVnet": {
    "allowedValues": [ "new", "existing" ],
    "type": "string",
    "metadata": {
    "description": "Select if this template needs a new VNet or will reference an existing VNet"
    }
    },
    "ExistingVnetName": {
    "type": "string",
    "defaultValue": "",
    "metadata": {
    "description": "New or Existing VNet Name"
    }
    },
    "ExistingSubnetName": {
    "type": "string",
    "defaultValue": "subnet",
    "metadata": {
    "description": "Subnet Name"
    }
    },
    "existingdiagnosticsStorageAccountName": {
    "type": "string"
    }
    },
    "variables": {
    "vmName": "[parameters('customVmName')]",
    "nicName": "[parameters('customVmName')]",
    "apiVersion": "2015-06-15",
    "vnetID": "[resourceId('ISE-MarkW', 'Microsoft.Network/virtualNetworks', parameters('ExistingVnetName'))]",
    "subnetRef": "[concat(variables('vnetID'),'/subnets/', parameters('ExistingSubnetName'))]",
    },
    "resources": [
    {
    "apiVersion": "2016-06-01",
    "type": "Microsoft.Network/networkInterfaces",
    "name": "[variables('nicName')]",
    "location": "[resourceGroup().location]",
    "properties": {
    "ipConfigurations": [
    {
    "name": "ipconfig1",
    "properties": {
    "privateIPAllocationMethod": "Dynamic",
    "subnet": {
    "id": "[variables('subnetRef')]"
    }
    }
    }
    ]
    }
    },
    {
    "type": "Microsoft.Compute/disks",
    "name": "[concat(variables('vmName'),'-datadisk1')]",
    "apiVersion": "2017-03-30",
    "location": "[resourceGroup().location]",
    "sku": {
    "name": "Premium_LRS"
    },
    "properties": {
    "creationData": {
    "createOption": "Empty"
    },
    "diskSizeGB": 128
    }
    },
    {
    "apiVersion": "[variables('apiVersion')]",
    "type": "Microsoft.Compute/virtualMachines",
    "name": "[variables('vmName')]",
    "location": "[resourceGroup().location]",
    "dependsOn": [
    "[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]",
    "[resourceId('Microsoft.Compute/disks/', concat(variables('vmName'),'-datadisk1'))]"
    ],
    "properties": {
    "hardwareProfile": {
    "vmSize": "[parameters('vmSize')]"
    },
    "osProfile": {
    "computerName": "[variables('vmName')]",
    "adminUsername": "[parameters('adminUsername')]",
    "adminPassword": "[parameters('adminPassword')]"
    },
    "storageProfile": {
    "osDisk": {
    "name": "[concat(variables('vmName'),'-osDisk')]",
    "osType": "[parameters('osType')]",
    "caching": "ReadWrite",
    "createOption": "FromImage",
    "image": {
    "uri": "[parameters('osDiskVhdUri')]"
    },
    "vhd": {
    "uri": "[concat(reference(concat('/subscriptions/xxxx/resourceGroups/inflabimages-rg/providers/Microsoft.Storage/storageAccounts/', parameters('userImageStorageAccountName')), variables('apiVersion')).primaryEndpoints.blob, 'vhds/',variables('vmName'), uniquestring(resourceGroup().id), 'osDisk.vhd')]"
    }
    },
    "dataDisks": [
    {
    "lun": 0,
    "name": "[concat(variables('vmName'),'-datadisk1')]",
    "createOption": "Attach",
    "managedDisk": {
    "id": "[resourceId('Microsoft.Compute/disks/', concat(variables('vmName'),'-datadisk1'))]"
    },
    "caching": "ReadWrite"
    }
    ]
    },
    "networkProfile": {
    "networkInterfaces": [
    {
    "id": "[resourceId('Microsoft.Network/networkInterfaces',variables('nicName'))]"
    }
    ]
    },
    "diagnosticsProfile": {
    "bootDiagnostics": {
    "enabled": true,
    "storageUri": "[concat('http://', parameters('existingdiagnosticsStorageAccountName'), '.blob.core.windows.net')]"
    }
    }
    }
    }
    ]
    }


    I am getting VM deployment failed below message



                "error": {
    "code": "OperationNotAllowed",
    "message": "Addition of a managed disk to a VM with blob based disks is not supported.",
    "target": "dataDisk"
    }









    share|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am trying to deploy VM from managed image and data disk using the following with the API version "2015-06-15" for the VM. I am unable to attach the data disk to the VM when I run below ARM template. I tried the preview as well but the preview API version doesn't support the storage account. I have commented on the same while trying the preview API version and latest version.



                  {
      "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
      "contentVersion": "1.0.0.0",
      "parameters": {
      "customVmName": {
      "type": "string",
      "metadata": {
      "description": "This is the name of the your VM"
      }
      },
      "osDiskVhdUri": {
      "type": "string",
      "metadata": {
      "description": "Uri of the your user image"
      }
      },
      "adminUserName": {
      "type": "string",
      "metadata": {
      "description": "User Name for the Virtual Machine"
      }
      },
      "adminPassword": {
      "type": "securestring",
      "metadata": {
      "description": "Password for the Virtual Machine"
      }
      },
      "userImageStorageAccountName": {
      "type": "string",
      "metadata": {
      "description": "This is the name of the your storage account"
      }
      },
      "osType": {
      "type": "string",
      "allowedValues": [
      "Windows",
      "Linux"
      ],
      "metadata": {
      "description": "This is the OS that your VM will be running"
      }
      },
      "vmSize": {
      "type": "string",
      "metadata": {
      "description": "This is the size of your VM"
      }
      },
      "ExistingVnet": {
      "allowedValues": [ "new", "existing" ],
      "type": "string",
      "metadata": {
      "description": "Select if this template needs a new VNet or will reference an existing VNet"
      }
      },
      "ExistingVnetName": {
      "type": "string",
      "defaultValue": "",
      "metadata": {
      "description": "New or Existing VNet Name"
      }
      },
      "ExistingSubnetName": {
      "type": "string",
      "defaultValue": "subnet",
      "metadata": {
      "description": "Subnet Name"
      }
      },
      "existingdiagnosticsStorageAccountName": {
      "type": "string"
      }
      },
      "variables": {
      "vmName": "[parameters('customVmName')]",
      "nicName": "[parameters('customVmName')]",
      "apiVersion": "2015-06-15",
      "vnetID": "[resourceId('ISE-MarkW', 'Microsoft.Network/virtualNetworks', parameters('ExistingVnetName'))]",
      "subnetRef": "[concat(variables('vnetID'),'/subnets/', parameters('ExistingSubnetName'))]",
      },
      "resources": [
      {
      "apiVersion": "2016-06-01",
      "type": "Microsoft.Network/networkInterfaces",
      "name": "[variables('nicName')]",
      "location": "[resourceGroup().location]",
      "properties": {
      "ipConfigurations": [
      {
      "name": "ipconfig1",
      "properties": {
      "privateIPAllocationMethod": "Dynamic",
      "subnet": {
      "id": "[variables('subnetRef')]"
      }
      }
      }
      ]
      }
      },
      {
      "type": "Microsoft.Compute/disks",
      "name": "[concat(variables('vmName'),'-datadisk1')]",
      "apiVersion": "2017-03-30",
      "location": "[resourceGroup().location]",
      "sku": {
      "name": "Premium_LRS"
      },
      "properties": {
      "creationData": {
      "createOption": "Empty"
      },
      "diskSizeGB": 128
      }
      },
      {
      "apiVersion": "[variables('apiVersion')]",
      "type": "Microsoft.Compute/virtualMachines",
      "name": "[variables('vmName')]",
      "location": "[resourceGroup().location]",
      "dependsOn": [
      "[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]",
      "[resourceId('Microsoft.Compute/disks/', concat(variables('vmName'),'-datadisk1'))]"
      ],
      "properties": {
      "hardwareProfile": {
      "vmSize": "[parameters('vmSize')]"
      },
      "osProfile": {
      "computerName": "[variables('vmName')]",
      "adminUsername": "[parameters('adminUsername')]",
      "adminPassword": "[parameters('adminPassword')]"
      },
      "storageProfile": {
      "osDisk": {
      "name": "[concat(variables('vmName'),'-osDisk')]",
      "osType": "[parameters('osType')]",
      "caching": "ReadWrite",
      "createOption": "FromImage",
      "image": {
      "uri": "[parameters('osDiskVhdUri')]"
      },
      "vhd": {
      "uri": "[concat(reference(concat('/subscriptions/xxxx/resourceGroups/inflabimages-rg/providers/Microsoft.Storage/storageAccounts/', parameters('userImageStorageAccountName')), variables('apiVersion')).primaryEndpoints.blob, 'vhds/',variables('vmName'), uniquestring(resourceGroup().id), 'osDisk.vhd')]"
      }
      },
      "dataDisks": [
      {
      "lun": 0,
      "name": "[concat(variables('vmName'),'-datadisk1')]",
      "createOption": "Attach",
      "managedDisk": {
      "id": "[resourceId('Microsoft.Compute/disks/', concat(variables('vmName'),'-datadisk1'))]"
      },
      "caching": "ReadWrite"
      }
      ]
      },
      "networkProfile": {
      "networkInterfaces": [
      {
      "id": "[resourceId('Microsoft.Network/networkInterfaces',variables('nicName'))]"
      }
      ]
      },
      "diagnosticsProfile": {
      "bootDiagnostics": {
      "enabled": true,
      "storageUri": "[concat('http://', parameters('existingdiagnosticsStorageAccountName'), '.blob.core.windows.net')]"
      }
      }
      }
      }
      ]
      }


      I am getting VM deployment failed below message



                  "error": {
      "code": "OperationNotAllowed",
      "message": "Addition of a managed disk to a VM with blob based disks is not supported.",
      "target": "dataDisk"
      }









      share|improve this question















      I am trying to deploy VM from managed image and data disk using the following with the API version "2015-06-15" for the VM. I am unable to attach the data disk to the VM when I run below ARM template. I tried the preview as well but the preview API version doesn't support the storage account. I have commented on the same while trying the preview API version and latest version.



                  {
      "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
      "contentVersion": "1.0.0.0",
      "parameters": {
      "customVmName": {
      "type": "string",
      "metadata": {
      "description": "This is the name of the your VM"
      }
      },
      "osDiskVhdUri": {
      "type": "string",
      "metadata": {
      "description": "Uri of the your user image"
      }
      },
      "adminUserName": {
      "type": "string",
      "metadata": {
      "description": "User Name for the Virtual Machine"
      }
      },
      "adminPassword": {
      "type": "securestring",
      "metadata": {
      "description": "Password for the Virtual Machine"
      }
      },
      "userImageStorageAccountName": {
      "type": "string",
      "metadata": {
      "description": "This is the name of the your storage account"
      }
      },
      "osType": {
      "type": "string",
      "allowedValues": [
      "Windows",
      "Linux"
      ],
      "metadata": {
      "description": "This is the OS that your VM will be running"
      }
      },
      "vmSize": {
      "type": "string",
      "metadata": {
      "description": "This is the size of your VM"
      }
      },
      "ExistingVnet": {
      "allowedValues": [ "new", "existing" ],
      "type": "string",
      "metadata": {
      "description": "Select if this template needs a new VNet or will reference an existing VNet"
      }
      },
      "ExistingVnetName": {
      "type": "string",
      "defaultValue": "",
      "metadata": {
      "description": "New or Existing VNet Name"
      }
      },
      "ExistingSubnetName": {
      "type": "string",
      "defaultValue": "subnet",
      "metadata": {
      "description": "Subnet Name"
      }
      },
      "existingdiagnosticsStorageAccountName": {
      "type": "string"
      }
      },
      "variables": {
      "vmName": "[parameters('customVmName')]",
      "nicName": "[parameters('customVmName')]",
      "apiVersion": "2015-06-15",
      "vnetID": "[resourceId('ISE-MarkW', 'Microsoft.Network/virtualNetworks', parameters('ExistingVnetName'))]",
      "subnetRef": "[concat(variables('vnetID'),'/subnets/', parameters('ExistingSubnetName'))]",
      },
      "resources": [
      {
      "apiVersion": "2016-06-01",
      "type": "Microsoft.Network/networkInterfaces",
      "name": "[variables('nicName')]",
      "location": "[resourceGroup().location]",
      "properties": {
      "ipConfigurations": [
      {
      "name": "ipconfig1",
      "properties": {
      "privateIPAllocationMethod": "Dynamic",
      "subnet": {
      "id": "[variables('subnetRef')]"
      }
      }
      }
      ]
      }
      },
      {
      "type": "Microsoft.Compute/disks",
      "name": "[concat(variables('vmName'),'-datadisk1')]",
      "apiVersion": "2017-03-30",
      "location": "[resourceGroup().location]",
      "sku": {
      "name": "Premium_LRS"
      },
      "properties": {
      "creationData": {
      "createOption": "Empty"
      },
      "diskSizeGB": 128
      }
      },
      {
      "apiVersion": "[variables('apiVersion')]",
      "type": "Microsoft.Compute/virtualMachines",
      "name": "[variables('vmName')]",
      "location": "[resourceGroup().location]",
      "dependsOn": [
      "[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]",
      "[resourceId('Microsoft.Compute/disks/', concat(variables('vmName'),'-datadisk1'))]"
      ],
      "properties": {
      "hardwareProfile": {
      "vmSize": "[parameters('vmSize')]"
      },
      "osProfile": {
      "computerName": "[variables('vmName')]",
      "adminUsername": "[parameters('adminUsername')]",
      "adminPassword": "[parameters('adminPassword')]"
      },
      "storageProfile": {
      "osDisk": {
      "name": "[concat(variables('vmName'),'-osDisk')]",
      "osType": "[parameters('osType')]",
      "caching": "ReadWrite",
      "createOption": "FromImage",
      "image": {
      "uri": "[parameters('osDiskVhdUri')]"
      },
      "vhd": {
      "uri": "[concat(reference(concat('/subscriptions/xxxx/resourceGroups/inflabimages-rg/providers/Microsoft.Storage/storageAccounts/', parameters('userImageStorageAccountName')), variables('apiVersion')).primaryEndpoints.blob, 'vhds/',variables('vmName'), uniquestring(resourceGroup().id), 'osDisk.vhd')]"
      }
      },
      "dataDisks": [
      {
      "lun": 0,
      "name": "[concat(variables('vmName'),'-datadisk1')]",
      "createOption": "Attach",
      "managedDisk": {
      "id": "[resourceId('Microsoft.Compute/disks/', concat(variables('vmName'),'-datadisk1'))]"
      },
      "caching": "ReadWrite"
      }
      ]
      },
      "networkProfile": {
      "networkInterfaces": [
      {
      "id": "[resourceId('Microsoft.Network/networkInterfaces',variables('nicName'))]"
      }
      ]
      },
      "diagnosticsProfile": {
      "bootDiagnostics": {
      "enabled": true,
      "storageUri": "[concat('http://', parameters('existingdiagnosticsStorageAccountName'), '.blob.core.windows.net')]"
      }
      }
      }
      }
      ]
      }


      I am getting VM deployment failed below message



                  "error": {
      "code": "OperationNotAllowed",
      "message": "Addition of a managed disk to a VM with blob based disks is not supported.",
      "target": "dataDisk"
      }






      azure deployment






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 13 at 15:40

























      asked Nov 9 at 22:40









      D.Gothi

      12




      12
























          2 Answers
          2






          active

          oldest

          votes

















          up vote
          1
          down vote













          you are not using managed disk for OS disk, sample for managed disk with data disks:



          "imageReference": {
          "id": "[resourceId('Microsoft.Compute/images', variables('imageName'))]"
          },
          "osDisk": {
          "createOption": "FromImage",
          "managedDisk": {
          "storageAccountType": "Standard_LRS"
          }
          },
          "dataDisks": [
          {
          "lun": 2,
          "createOption": "Empty",
          "caching": "None",
          "managedDisk": {
          "storageAccountType": "Standard_LRS"
          },
          "diskSizeGB": 128
          }
          ]





          share|improve this answer























          • What parameter do we pass in StorageAccountType? [parameters('bossObject')] I am new to the ARM template and Azure as well. Thanks in advance!
            – D.Gothi
            Nov 12 at 15:57












          • or sorry, thats just account type, say Standard_LRS or Premium_LRS
            – 4c74356b41
            Nov 12 at 18:06










          • I did input the Storage Account type and it throws the error for both OS and Data disk "error": "message": "Could not find member 'managedDisk' on object of type 'OSDisk'. Path 'properties.storageProfile.osDisk.managedDisk', line 1, position 318.", "target": "vm.properties.storageProfile.osDisk.managedDisk" { "message": "Could not find member 'managedDisk' on object of type 'DataDisk'. Path 'properties.storageProfile.dataDisks[0].managedDisk', line 1, position 625.", "target": "vm.properties.storageProfile.dataDisks[0].managedDisk"
            – D.Gothi
            Nov 12 at 18:45










          • what api version are you using for the vm resource? try using this one "2016-04-30-preview"
            – 4c74356b41
            Nov 12 at 18:49










          • Using "apiVersion": "2015-06-15", I did try this "2016-04-30-preview" but am getting an error New-AzureRmResourceGroupDeployment : 3:22:13 PM - Resource Microsoft.Storage/storageAccounts 'inflabimageslrs' failed with message '{ "error": { "code": "NoRegisteredProviderFound", "message": "No registered resource provider found for location 'canadaeast' and API version '2016-04-30-preview' for type 'storageAccounts'. The supported api-versions are '2018-07-01, 2018-03-01-preview, 2018-02-01, 2017-10-01, 2017-06-01, 2016-12-01, 2016-05-01, 2016-01-01, 2015-06-15, 2015-05-01-preview'
            – D.Gothi
            Nov 12 at 20:51


















          up vote
          0
          down vote













          I was able to attach the data disk by using image reference instead of using the VHD URI with API version 2018-06-01.



                {
          "apiVersion": "[variables('apiVersion')]",
          "type": "Microsoft.Compute/virtualMachines",
          "name": "[variables('vmName')]",
          "location": "[resourceGroup().location]",
          "dependsOn": [
          "[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]",
          "[resourceId('Microsoft.Compute/disks/', concat(variables('vmName'),'-datadisk1'))]"
          ],
          "properties": {
          "availabilitySet": {
          "id": "[resourceId('Microsoft.Compute/availabilitySets', parameters('availabilitySets_name'))]"
          },
          "hardwareProfile": {
          "vmSize": "[parameters('vmSize')]"
          },
          "osProfile": {
          "computerName": "[variables('vmName')]",
          "adminUsername": "[parameters('adminUsername')]",
          "adminPassword": "[parameters('adminPassword')]"
          },
          "storageProfile": {
          "imageReference": {
          "id": "[parameters('virtualMachines_image')]"
          },
          "osDisk": {
          "name": "[concat(variables('vmName'),'-osDisk')]",
          "osType": "[parameters('osType')]",
          "caching": "ReadWrite",
          "createOption": "FromImage",
          "managedDisk": {
          "storageAccountType":"Premium_LRS"
          }
          },
          "dataDisks": [
          {
          "lun": 1,
          "name": "[concat(variables('vmName'),'-datadisk1')]",
          "createOption": "Attach",
          "managedDisk": {
          "id": "[resourceId('Microsoft.Compute/disks/', concat(variables('vmName'),'-datadisk1'))]",
          "storageAccountType":"Premium_LRS"
          },
          "caching": "None"
          }
          ]
          },





          share|improve this answer





















            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53234174%2faddition-of-a-managed-disk-to-a-vm-with-blob-based-disks-is-not-supported%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote













            you are not using managed disk for OS disk, sample for managed disk with data disks:



            "imageReference": {
            "id": "[resourceId('Microsoft.Compute/images', variables('imageName'))]"
            },
            "osDisk": {
            "createOption": "FromImage",
            "managedDisk": {
            "storageAccountType": "Standard_LRS"
            }
            },
            "dataDisks": [
            {
            "lun": 2,
            "createOption": "Empty",
            "caching": "None",
            "managedDisk": {
            "storageAccountType": "Standard_LRS"
            },
            "diskSizeGB": 128
            }
            ]





            share|improve this answer























            • What parameter do we pass in StorageAccountType? [parameters('bossObject')] I am new to the ARM template and Azure as well. Thanks in advance!
              – D.Gothi
              Nov 12 at 15:57












            • or sorry, thats just account type, say Standard_LRS or Premium_LRS
              – 4c74356b41
              Nov 12 at 18:06










            • I did input the Storage Account type and it throws the error for both OS and Data disk "error": "message": "Could not find member 'managedDisk' on object of type 'OSDisk'. Path 'properties.storageProfile.osDisk.managedDisk', line 1, position 318.", "target": "vm.properties.storageProfile.osDisk.managedDisk" { "message": "Could not find member 'managedDisk' on object of type 'DataDisk'. Path 'properties.storageProfile.dataDisks[0].managedDisk', line 1, position 625.", "target": "vm.properties.storageProfile.dataDisks[0].managedDisk"
              – D.Gothi
              Nov 12 at 18:45










            • what api version are you using for the vm resource? try using this one "2016-04-30-preview"
              – 4c74356b41
              Nov 12 at 18:49










            • Using "apiVersion": "2015-06-15", I did try this "2016-04-30-preview" but am getting an error New-AzureRmResourceGroupDeployment : 3:22:13 PM - Resource Microsoft.Storage/storageAccounts 'inflabimageslrs' failed with message '{ "error": { "code": "NoRegisteredProviderFound", "message": "No registered resource provider found for location 'canadaeast' and API version '2016-04-30-preview' for type 'storageAccounts'. The supported api-versions are '2018-07-01, 2018-03-01-preview, 2018-02-01, 2017-10-01, 2017-06-01, 2016-12-01, 2016-05-01, 2016-01-01, 2015-06-15, 2015-05-01-preview'
              – D.Gothi
              Nov 12 at 20:51















            up vote
            1
            down vote













            you are not using managed disk for OS disk, sample for managed disk with data disks:



            "imageReference": {
            "id": "[resourceId('Microsoft.Compute/images', variables('imageName'))]"
            },
            "osDisk": {
            "createOption": "FromImage",
            "managedDisk": {
            "storageAccountType": "Standard_LRS"
            }
            },
            "dataDisks": [
            {
            "lun": 2,
            "createOption": "Empty",
            "caching": "None",
            "managedDisk": {
            "storageAccountType": "Standard_LRS"
            },
            "diskSizeGB": 128
            }
            ]





            share|improve this answer























            • What parameter do we pass in StorageAccountType? [parameters('bossObject')] I am new to the ARM template and Azure as well. Thanks in advance!
              – D.Gothi
              Nov 12 at 15:57












            • or sorry, thats just account type, say Standard_LRS or Premium_LRS
              – 4c74356b41
              Nov 12 at 18:06










            • I did input the Storage Account type and it throws the error for both OS and Data disk "error": "message": "Could not find member 'managedDisk' on object of type 'OSDisk'. Path 'properties.storageProfile.osDisk.managedDisk', line 1, position 318.", "target": "vm.properties.storageProfile.osDisk.managedDisk" { "message": "Could not find member 'managedDisk' on object of type 'DataDisk'. Path 'properties.storageProfile.dataDisks[0].managedDisk', line 1, position 625.", "target": "vm.properties.storageProfile.dataDisks[0].managedDisk"
              – D.Gothi
              Nov 12 at 18:45










            • what api version are you using for the vm resource? try using this one "2016-04-30-preview"
              – 4c74356b41
              Nov 12 at 18:49










            • Using "apiVersion": "2015-06-15", I did try this "2016-04-30-preview" but am getting an error New-AzureRmResourceGroupDeployment : 3:22:13 PM - Resource Microsoft.Storage/storageAccounts 'inflabimageslrs' failed with message '{ "error": { "code": "NoRegisteredProviderFound", "message": "No registered resource provider found for location 'canadaeast' and API version '2016-04-30-preview' for type 'storageAccounts'. The supported api-versions are '2018-07-01, 2018-03-01-preview, 2018-02-01, 2017-10-01, 2017-06-01, 2016-12-01, 2016-05-01, 2016-01-01, 2015-06-15, 2015-05-01-preview'
              – D.Gothi
              Nov 12 at 20:51













            up vote
            1
            down vote










            up vote
            1
            down vote









            you are not using managed disk for OS disk, sample for managed disk with data disks:



            "imageReference": {
            "id": "[resourceId('Microsoft.Compute/images', variables('imageName'))]"
            },
            "osDisk": {
            "createOption": "FromImage",
            "managedDisk": {
            "storageAccountType": "Standard_LRS"
            }
            },
            "dataDisks": [
            {
            "lun": 2,
            "createOption": "Empty",
            "caching": "None",
            "managedDisk": {
            "storageAccountType": "Standard_LRS"
            },
            "diskSizeGB": 128
            }
            ]





            share|improve this answer














            you are not using managed disk for OS disk, sample for managed disk with data disks:



            "imageReference": {
            "id": "[resourceId('Microsoft.Compute/images', variables('imageName'))]"
            },
            "osDisk": {
            "createOption": "FromImage",
            "managedDisk": {
            "storageAccountType": "Standard_LRS"
            }
            },
            "dataDisks": [
            {
            "lun": 2,
            "createOption": "Empty",
            "caching": "None",
            "managedDisk": {
            "storageAccountType": "Standard_LRS"
            },
            "diskSizeGB": 128
            }
            ]






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Nov 12 at 18:06

























            answered Nov 10 at 6:02









            4c74356b41

            23.6k32050




            23.6k32050












            • What parameter do we pass in StorageAccountType? [parameters('bossObject')] I am new to the ARM template and Azure as well. Thanks in advance!
              – D.Gothi
              Nov 12 at 15:57












            • or sorry, thats just account type, say Standard_LRS or Premium_LRS
              – 4c74356b41
              Nov 12 at 18:06










            • I did input the Storage Account type and it throws the error for both OS and Data disk "error": "message": "Could not find member 'managedDisk' on object of type 'OSDisk'. Path 'properties.storageProfile.osDisk.managedDisk', line 1, position 318.", "target": "vm.properties.storageProfile.osDisk.managedDisk" { "message": "Could not find member 'managedDisk' on object of type 'DataDisk'. Path 'properties.storageProfile.dataDisks[0].managedDisk', line 1, position 625.", "target": "vm.properties.storageProfile.dataDisks[0].managedDisk"
              – D.Gothi
              Nov 12 at 18:45










            • what api version are you using for the vm resource? try using this one "2016-04-30-preview"
              – 4c74356b41
              Nov 12 at 18:49










            • Using "apiVersion": "2015-06-15", I did try this "2016-04-30-preview" but am getting an error New-AzureRmResourceGroupDeployment : 3:22:13 PM - Resource Microsoft.Storage/storageAccounts 'inflabimageslrs' failed with message '{ "error": { "code": "NoRegisteredProviderFound", "message": "No registered resource provider found for location 'canadaeast' and API version '2016-04-30-preview' for type 'storageAccounts'. The supported api-versions are '2018-07-01, 2018-03-01-preview, 2018-02-01, 2017-10-01, 2017-06-01, 2016-12-01, 2016-05-01, 2016-01-01, 2015-06-15, 2015-05-01-preview'
              – D.Gothi
              Nov 12 at 20:51


















            • What parameter do we pass in StorageAccountType? [parameters('bossObject')] I am new to the ARM template and Azure as well. Thanks in advance!
              – D.Gothi
              Nov 12 at 15:57












            • or sorry, thats just account type, say Standard_LRS or Premium_LRS
              – 4c74356b41
              Nov 12 at 18:06










            • I did input the Storage Account type and it throws the error for both OS and Data disk "error": "message": "Could not find member 'managedDisk' on object of type 'OSDisk'. Path 'properties.storageProfile.osDisk.managedDisk', line 1, position 318.", "target": "vm.properties.storageProfile.osDisk.managedDisk" { "message": "Could not find member 'managedDisk' on object of type 'DataDisk'. Path 'properties.storageProfile.dataDisks[0].managedDisk', line 1, position 625.", "target": "vm.properties.storageProfile.dataDisks[0].managedDisk"
              – D.Gothi
              Nov 12 at 18:45










            • what api version are you using for the vm resource? try using this one "2016-04-30-preview"
              – 4c74356b41
              Nov 12 at 18:49










            • Using "apiVersion": "2015-06-15", I did try this "2016-04-30-preview" but am getting an error New-AzureRmResourceGroupDeployment : 3:22:13 PM - Resource Microsoft.Storage/storageAccounts 'inflabimageslrs' failed with message '{ "error": { "code": "NoRegisteredProviderFound", "message": "No registered resource provider found for location 'canadaeast' and API version '2016-04-30-preview' for type 'storageAccounts'. The supported api-versions are '2018-07-01, 2018-03-01-preview, 2018-02-01, 2017-10-01, 2017-06-01, 2016-12-01, 2016-05-01, 2016-01-01, 2015-06-15, 2015-05-01-preview'
              – D.Gothi
              Nov 12 at 20:51
















            What parameter do we pass in StorageAccountType? [parameters('bossObject')] I am new to the ARM template and Azure as well. Thanks in advance!
            – D.Gothi
            Nov 12 at 15:57






            What parameter do we pass in StorageAccountType? [parameters('bossObject')] I am new to the ARM template and Azure as well. Thanks in advance!
            – D.Gothi
            Nov 12 at 15:57














            or sorry, thats just account type, say Standard_LRS or Premium_LRS
            – 4c74356b41
            Nov 12 at 18:06




            or sorry, thats just account type, say Standard_LRS or Premium_LRS
            – 4c74356b41
            Nov 12 at 18:06












            I did input the Storage Account type and it throws the error for both OS and Data disk "error": "message": "Could not find member 'managedDisk' on object of type 'OSDisk'. Path 'properties.storageProfile.osDisk.managedDisk', line 1, position 318.", "target": "vm.properties.storageProfile.osDisk.managedDisk" { "message": "Could not find member 'managedDisk' on object of type 'DataDisk'. Path 'properties.storageProfile.dataDisks[0].managedDisk', line 1, position 625.", "target": "vm.properties.storageProfile.dataDisks[0].managedDisk"
            – D.Gothi
            Nov 12 at 18:45




            I did input the Storage Account type and it throws the error for both OS and Data disk "error": "message": "Could not find member 'managedDisk' on object of type 'OSDisk'. Path 'properties.storageProfile.osDisk.managedDisk', line 1, position 318.", "target": "vm.properties.storageProfile.osDisk.managedDisk" { "message": "Could not find member 'managedDisk' on object of type 'DataDisk'. Path 'properties.storageProfile.dataDisks[0].managedDisk', line 1, position 625.", "target": "vm.properties.storageProfile.dataDisks[0].managedDisk"
            – D.Gothi
            Nov 12 at 18:45












            what api version are you using for the vm resource? try using this one "2016-04-30-preview"
            – 4c74356b41
            Nov 12 at 18:49




            what api version are you using for the vm resource? try using this one "2016-04-30-preview"
            – 4c74356b41
            Nov 12 at 18:49












            Using "apiVersion": "2015-06-15", I did try this "2016-04-30-preview" but am getting an error New-AzureRmResourceGroupDeployment : 3:22:13 PM - Resource Microsoft.Storage/storageAccounts 'inflabimageslrs' failed with message '{ "error": { "code": "NoRegisteredProviderFound", "message": "No registered resource provider found for location 'canadaeast' and API version '2016-04-30-preview' for type 'storageAccounts'. The supported api-versions are '2018-07-01, 2018-03-01-preview, 2018-02-01, 2017-10-01, 2017-06-01, 2016-12-01, 2016-05-01, 2016-01-01, 2015-06-15, 2015-05-01-preview'
            – D.Gothi
            Nov 12 at 20:51




            Using "apiVersion": "2015-06-15", I did try this "2016-04-30-preview" but am getting an error New-AzureRmResourceGroupDeployment : 3:22:13 PM - Resource Microsoft.Storage/storageAccounts 'inflabimageslrs' failed with message '{ "error": { "code": "NoRegisteredProviderFound", "message": "No registered resource provider found for location 'canadaeast' and API version '2016-04-30-preview' for type 'storageAccounts'. The supported api-versions are '2018-07-01, 2018-03-01-preview, 2018-02-01, 2017-10-01, 2017-06-01, 2016-12-01, 2016-05-01, 2016-01-01, 2015-06-15, 2015-05-01-preview'
            – D.Gothi
            Nov 12 at 20:51












            up vote
            0
            down vote













            I was able to attach the data disk by using image reference instead of using the VHD URI with API version 2018-06-01.



                  {
            "apiVersion": "[variables('apiVersion')]",
            "type": "Microsoft.Compute/virtualMachines",
            "name": "[variables('vmName')]",
            "location": "[resourceGroup().location]",
            "dependsOn": [
            "[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]",
            "[resourceId('Microsoft.Compute/disks/', concat(variables('vmName'),'-datadisk1'))]"
            ],
            "properties": {
            "availabilitySet": {
            "id": "[resourceId('Microsoft.Compute/availabilitySets', parameters('availabilitySets_name'))]"
            },
            "hardwareProfile": {
            "vmSize": "[parameters('vmSize')]"
            },
            "osProfile": {
            "computerName": "[variables('vmName')]",
            "adminUsername": "[parameters('adminUsername')]",
            "adminPassword": "[parameters('adminPassword')]"
            },
            "storageProfile": {
            "imageReference": {
            "id": "[parameters('virtualMachines_image')]"
            },
            "osDisk": {
            "name": "[concat(variables('vmName'),'-osDisk')]",
            "osType": "[parameters('osType')]",
            "caching": "ReadWrite",
            "createOption": "FromImage",
            "managedDisk": {
            "storageAccountType":"Premium_LRS"
            }
            },
            "dataDisks": [
            {
            "lun": 1,
            "name": "[concat(variables('vmName'),'-datadisk1')]",
            "createOption": "Attach",
            "managedDisk": {
            "id": "[resourceId('Microsoft.Compute/disks/', concat(variables('vmName'),'-datadisk1'))]",
            "storageAccountType":"Premium_LRS"
            },
            "caching": "None"
            }
            ]
            },





            share|improve this answer

























              up vote
              0
              down vote













              I was able to attach the data disk by using image reference instead of using the VHD URI with API version 2018-06-01.



                    {
              "apiVersion": "[variables('apiVersion')]",
              "type": "Microsoft.Compute/virtualMachines",
              "name": "[variables('vmName')]",
              "location": "[resourceGroup().location]",
              "dependsOn": [
              "[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]",
              "[resourceId('Microsoft.Compute/disks/', concat(variables('vmName'),'-datadisk1'))]"
              ],
              "properties": {
              "availabilitySet": {
              "id": "[resourceId('Microsoft.Compute/availabilitySets', parameters('availabilitySets_name'))]"
              },
              "hardwareProfile": {
              "vmSize": "[parameters('vmSize')]"
              },
              "osProfile": {
              "computerName": "[variables('vmName')]",
              "adminUsername": "[parameters('adminUsername')]",
              "adminPassword": "[parameters('adminPassword')]"
              },
              "storageProfile": {
              "imageReference": {
              "id": "[parameters('virtualMachines_image')]"
              },
              "osDisk": {
              "name": "[concat(variables('vmName'),'-osDisk')]",
              "osType": "[parameters('osType')]",
              "caching": "ReadWrite",
              "createOption": "FromImage",
              "managedDisk": {
              "storageAccountType":"Premium_LRS"
              }
              },
              "dataDisks": [
              {
              "lun": 1,
              "name": "[concat(variables('vmName'),'-datadisk1')]",
              "createOption": "Attach",
              "managedDisk": {
              "id": "[resourceId('Microsoft.Compute/disks/', concat(variables('vmName'),'-datadisk1'))]",
              "storageAccountType":"Premium_LRS"
              },
              "caching": "None"
              }
              ]
              },





              share|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                I was able to attach the data disk by using image reference instead of using the VHD URI with API version 2018-06-01.



                      {
                "apiVersion": "[variables('apiVersion')]",
                "type": "Microsoft.Compute/virtualMachines",
                "name": "[variables('vmName')]",
                "location": "[resourceGroup().location]",
                "dependsOn": [
                "[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]",
                "[resourceId('Microsoft.Compute/disks/', concat(variables('vmName'),'-datadisk1'))]"
                ],
                "properties": {
                "availabilitySet": {
                "id": "[resourceId('Microsoft.Compute/availabilitySets', parameters('availabilitySets_name'))]"
                },
                "hardwareProfile": {
                "vmSize": "[parameters('vmSize')]"
                },
                "osProfile": {
                "computerName": "[variables('vmName')]",
                "adminUsername": "[parameters('adminUsername')]",
                "adminPassword": "[parameters('adminPassword')]"
                },
                "storageProfile": {
                "imageReference": {
                "id": "[parameters('virtualMachines_image')]"
                },
                "osDisk": {
                "name": "[concat(variables('vmName'),'-osDisk')]",
                "osType": "[parameters('osType')]",
                "caching": "ReadWrite",
                "createOption": "FromImage",
                "managedDisk": {
                "storageAccountType":"Premium_LRS"
                }
                },
                "dataDisks": [
                {
                "lun": 1,
                "name": "[concat(variables('vmName'),'-datadisk1')]",
                "createOption": "Attach",
                "managedDisk": {
                "id": "[resourceId('Microsoft.Compute/disks/', concat(variables('vmName'),'-datadisk1'))]",
                "storageAccountType":"Premium_LRS"
                },
                "caching": "None"
                }
                ]
                },





                share|improve this answer












                I was able to attach the data disk by using image reference instead of using the VHD URI with API version 2018-06-01.



                      {
                "apiVersion": "[variables('apiVersion')]",
                "type": "Microsoft.Compute/virtualMachines",
                "name": "[variables('vmName')]",
                "location": "[resourceGroup().location]",
                "dependsOn": [
                "[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]",
                "[resourceId('Microsoft.Compute/disks/', concat(variables('vmName'),'-datadisk1'))]"
                ],
                "properties": {
                "availabilitySet": {
                "id": "[resourceId('Microsoft.Compute/availabilitySets', parameters('availabilitySets_name'))]"
                },
                "hardwareProfile": {
                "vmSize": "[parameters('vmSize')]"
                },
                "osProfile": {
                "computerName": "[variables('vmName')]",
                "adminUsername": "[parameters('adminUsername')]",
                "adminPassword": "[parameters('adminPassword')]"
                },
                "storageProfile": {
                "imageReference": {
                "id": "[parameters('virtualMachines_image')]"
                },
                "osDisk": {
                "name": "[concat(variables('vmName'),'-osDisk')]",
                "osType": "[parameters('osType')]",
                "caching": "ReadWrite",
                "createOption": "FromImage",
                "managedDisk": {
                "storageAccountType":"Premium_LRS"
                }
                },
                "dataDisks": [
                {
                "lun": 1,
                "name": "[concat(variables('vmName'),'-datadisk1')]",
                "createOption": "Attach",
                "managedDisk": {
                "id": "[resourceId('Microsoft.Compute/disks/', concat(variables('vmName'),'-datadisk1'))]",
                "storageAccountType":"Premium_LRS"
                },
                "caching": "None"
                }
                ]
                },






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 19 at 17:14









                D.Gothi

                12




                12






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53234174%2faddition-of-a-managed-disk-to-a-vm-with-blob-based-disks-is-not-supported%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    這個網誌中的熱門文章

                    Academy of Television Arts & Sciences

                    L'Équipe

                    1995 France bombings