Share via

Cannot move resources to a different subscription

Federico Martino 25 Reputation points
2025-04-11T14:38:32.4066667+00:00

I am trying to move resources between subscriptions but I am getting an error that I cannot seem to get around. I am trying to move an App service with all associated resources (App service plan, app insights, etc. ), but when validating the move I get the following Error:

cnfapi (Microsoft.Web/sites). This resource is located in resource group 'CNFTimber', but hosted in the resource group 'CNFgroup_newapi'. This may be a result of prior move operations. Move it back to respective hosting resource group

I'v tried moving all resources back to the mentioned resource group 'CNFgroup_newapi' but when I try to move resources from there I get the opposite error message:

cnfapi (Microsoft.Web/sites). This resource is located in resource group 'CNFgroup_newapi', but hosted in the resource group 'CNFTimber'. This may be a result of prior move operations. Move it back to respective hosting resource group

Anyone had this issue before?

Community Center | Not monitored
0 comments No comments

Answer accepted by question author

Manu Philip 20,651 Reputation points MVP Volunteer Moderator
2025-04-11T15:58:26.9366667+00:00

Hi Federico Martino

I am able to re-produce the same issue you are facing. Good news is I have found a workaround also to solve the issue. Here is how I have tried

  1. Created a webapp in resource group test1 under sub1
  2. Moved the webapp to another resource group called test1_old and deleted the resource group test1
  3. Tried moving the webapp to test1_new in sub2. The move operation has failed with the following error testwebappmanu (Microsoft.Web/sites). This resource is located in resource group 'test1', but hosted in the resource group 'test1_old'. This may be a result of prior move operations. Move it back to respective hosting resource group Here are the steps I did to fix the issue:
  4. Re-created the resource group test1 under sub1
  5. Moved the webapp from test1_old to test1 in the same subscription
  6. Now, tried moving the webapp from test1_old in sub1 to test1_new in sub2 and it went success

So, the workaround for your case is,

  1. Re-create a new resource group in the same subscription where the App Service Plan/App Service exists, with the same name listed in the error message.
  2. Move the resources into the re-created resource group.
  3. Try move operation again to your new subscription.

Hope this helps.


--please don't forget to upvote and Accept as answer if the reply is helpful--

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.