Reputation: 3
My Azure virtual machine is in failed status and its not allowing me to do stop and start. I am getting error message
" Provisioning failed. Could not resolve storage account testrgdiag502. Please ensure it was created through the Storage Resource Provider in the same location as the compute resource.. StorageAccountLocationMismatch "
Upvotes: 0
Views: 3766
Reputation: 13954
According to the error code, we should check the location of your storage account. This error occurs when the location of the VM disk and the computing resource is different.
More information about this error code, please refer to this link.
To resolve this issue, we can re-create a new storage account and the location same as Azure VM.
Another way, we can create a new VM with this VM's VHD. Here is a template, we can use this template to create a new VM with an existing VHD.
=================================
Update:
If your subscription can't create any Azure VM, please new a support request(free), please follow this screenshot:
Upvotes: 2