Forum Discussion

KayodeAyodele's avatar
KayodeAyodele
Copper Contributor
Jul 10, 2023

Invalid Storage Account

Iā€™m trying to migrate a Resource Group across subscriptions but one VM in particular throws up this error

The Move Resources request contains VMs which are associated with invalid storage accounts. Please check details for these resource ids and referenced storage account names. (Code: MoveResourcesHaveInvalidState, Target: Microsoft.Compute/virtualMachines) Storage Account 'storageaccountname' either does not exist or is in an invalid state. (Code: MoveResourcesHaveInvalidState, Target: /subscriptions/subscriptionID/resourceGroups/RGName/providers/Microsoft.Compute/virtualMachines/

The referenced storage account does not exist and I have cycled the options on the boot diagnostic storage account to no avail

Resources