I’m trying to move two Azure SQL VMs that were previously in their own, separate RGs into the same one to make creating a Load Balancer easier. I moved the resources from the first server just fine, but when I try to move the resources from the second server, I get a validation error. It seems to think the TempDB disks are duplicates, and throws an error.
Can I move everything else and recreate the TempDB disk on the VM once it’s moved over? Does it even matter if we aren’t using that disk in the first place?
Error text:
{“message”:”The resource batch move request has ‘1’ validation errors. Diagnostic information: timestamp ‘20240503T174356Z’, tracking Id ’17d8658c-f7f8-47ef-9591-05bb616f31fe’, request correlation Id ‘e615f4d1-05c3-42cc-9566-2f48129ae08b’. (Code: ResourceMoveValidationFailed) Duplicate resources with identifiers ‘/subscriptions/84a1a441-b929-4cf3-a7a0-5b26fb003350/resourceGroups/LB-ASCMSQLCL1/providers/Microsoft.Compute/disks/tempdb’ were found in resource group ‘LB-ASCMSQLCL1’. The tracking Id is ‘e615f4d1-05c3-42cc-9566-2f48129ae08b’. (Code: DuplicateResources, Target: /subscriptions/84a1a441-b929-4cf3-a7a0-5b26fb003350/resourceGroups/SERVER-ASCMSQLND2/providers/Microsoft.Compute/disks/tempdb)”,”code”:”ResourceMoveValidationFailed”,”name”:”8e473b65-55b1-4f68-9532-7f2e1c57b062″,”status”:400}
Benjamin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.