Azure Resource Manager error One or more errors occurred while preparing virtual disks

I get the following error when creating an azure virtual machine using the Azure Resource Manager ARM template. I create 32 datadisks in a template and the following error is logged. The message says:

For more information see viewing a disk instance.

Where is the drive instance view located? I cannot determine how to get additional error information.

The following is a complete error message on the Azure portal.

StatusCode: Conflict statusMessage: {"status": "Failed", "error": {"code": "ResourceDeploymentFailure", "message": "The resource operation completed with the provisioning state of the terminal" Failed ".", "Details": [ {"code": "DiskPreparationError", "message": "One or more errors occurred while preparing the virtual disks. For details, see the disk instance view".}}}}

+7
azure-virtual-machine azure-resource-manager
source share
3 answers

Try looking at resources.azure.com; You will go to your subscription, and then to the corresponding resource group, up to the corresponding drive through the Microsoft.Storage provider. You should see "InstanceView", which I hope will give more information. It may be viewing the instance referenced by the error, but there may also be a way to see it through the portal. In any case, I find that resource.azure.com is useful for debugging such errors :).

+4
source share

Currently, you can go to resource groups → storage account → (select your type of service) → and delete it from there.

I had the same problem, and to fix it I had to go to the disk that was unsuccessful, delete it and recreate it.

+3
source share

For problems connecting to the disk, I found detailed information in the Browse Portal section for a virtual machine. Navigate to the virtual machine in the portal, and the overview view is the default.

The VM should appear as being Failed in the portal. Click on the big red banner with an error at the top of the overview section and the panel will open to the right with information about the error.

+1
source share

All Articles