Move only one app service to new subscription

Violet Zeng 30 Reputation points
2024-06-17T23:50:25.81+00:00

Hi,

I want to move one of my app service from Subscription A to Subscription B. How should I do it? There are many other app services in the same resource group, but I don't want to move them.

I tried creating a new resouce group and move the one target app service to the new group, then migrate it to Subscription B. However, it keeps showing "This site was originally created in OLD resource group. Please move this site back to the OLD resource group to enable it for new migration operation.

How can I only move one app service to the new subscription?

Thanks!

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,178 questions
{count} votes

2 answers

Sort by: Most helpful
  1. hossein jalilian 9,615 Reputation points
    2024-06-17T23:55:52.0466667+00:00

    Thanks for posting your question in the Microsoft Q&A forum.

    You'll need to follow these steps:

    • Move the App Service back to its original resource group
    • Create a new resource group in Subscription B
    • Move the App Service to the new resource group
    • Move the resource group to Subscription B

    The App Service must be moved back to its original resource group first before it can be moved to a new subscription. you can only move App Service resources that were originally created together as a group. ensure the App Service doesn't have any dependencies like virtual network integration or private endpoints that would prevent the move


    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful

    0 comments No comments

  2. Abiola Akinbade 22,165 Reputation points
    2024-06-18T18:47:28.4833333+00:00

    Hello Violet Zeng,

    Thanks for your question.

    I will recommend the steps below:

    • Create a new resource group in Subscription B and move the app service back to its original group.
    • If you don't remember the original resource group, you can find it through diagnostics. For your web app, select Diagnose and solve problems. Then, select Configuration and Management.
    • Select Migration Options
    • In Subscription A, locate the resource group containing your app services.
    • Move the App Service to to the temporary resource group and then move resource to Subscription B

    Please take a look at the link below for the considerations regarding this:

    https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/move-limitations/app-service-move-limitations

    Screenshot of the Show Hidden Types option in the portal when moving App Service resources.

    You can move a Web App and App Service plan hosted on an App Service Environment to a new subscription without moving the App Service Environment. The Web App and App Service plan that you move will always be associated with your initial App Service Environment. You can't move a Web App/App Service plan to a different App Service Environment.

    Regards,

    Abiola

    You can mark it 'Accept Answer' and upvote if this helped.

    0 comments No comments

Your answer

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