I'm trying to change the ResourceGroup for my Azure SQL Server (This includes one database I've added to this group and of course the master database). I created a new Azure Group and when I try switching the that group, I get a ResourceNotFound error.
The error displays the name of a database that I've been trying to deploy on the ResourceGroup I'm changing from, but it fails on deployment so there's no database of that name available.
This error occurs on the validation step and gives me this message:
{"code":"ResourceMoveFailed","message":"Could not get all the resources to be moved from the providers. Please see details for more information. Diagnostic information: timestamp '20190806T192716Z', subscription id '******', tracking id '*******', request correlation id '*******'.","details":[{"message":"Unable to get resource '/modules/AzureResourceManager/subscriptions/*******/resourcegroups/********/providers/Microsoft.Sql/servers/********/databases/{Undeployed_Database_Name}'. Status code 'NotFound'. Reason '{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The requested resource of type 'Microsoft.Sql/servers/databases' with name '{Undeployed_Database_Name}' was not found.\"}}'."}]}
{Undeployed_Database_Name} pertains to the database name of the deployment that had failed. I'm assuming the deployment failure must have not completely rolled back during the error that had occurred, but I can't find this database ANYWHERE. Any help would be appreciated.