14

I have the following setup:

  • Resource group 1
    • App service plan 1
    • App Service 1 (app service plan 1)
  • Resource group 2
    • App service plan 2
    • App Service 2 (app service plan 2)
    • App Service 3 (app service plan 1)

I would like to move App Service 3 which is into Resource group 2 but uses app service plan 1, to app service plan 2.

Is this possible? I have tried to use the feature "Change App service plan" available on the new portal but when I click on it a blade appear saying that "No App Service plan found".

I suspect that the blade looks for app service plan available on the original resource group and does not permit neither to create a new one.

Please see the attached picture for details.

Thanks

enter image description here

Lorenzo
  • 28,103
  • 43
  • 117
  • 208

2 Answers2

10

I would like to move App Service 3 which is into Resource group 2 but uses app service plan 1, to app service plan 2. Is this possible?

Based on my understanding App Service Plan 1 in the resource group 1 and Service Plan 2 in the resource group 2, we can't do that from azure portal currently. According to the official document, we could change service that in the same resource group and geographical location.

Only valid plans (in the same resource group and geographical location) are shown

About we could not create App service plan in the change service plan interface, and I also repro it. In my option,it is not a development issue, and we could report a ticket in the azure portal.

enter image description here

But we also could create a new App service plan in the same resource group (Resource Group 1) and geographical, then try to change the service plan, it will be shown in the change Service Plan interface.

In my option, it is not recommended that WebApp application and Service Plan are not in the same resource group.

Tom Sun - MSFT
  • 22,436
  • 3
  • 23
  • 40
  • 2
    [MS docs](https://docs.microsoft.com/en-gb/azure/azure-resource-manager/resource-group-move-resources#app-service-limitations) state _App Service plan do not need to reside in the same resource group as the app for the app to function correctly._ – Peter Ivan May 24 '17 at 22:29
  • 3
    You can currently move to another plan if THREE conditions are met: The new plan must (1) exist in the same resource group, (2) exist in the same geographical region, and (3) exist in the same webspace ([source](https://docs.microsoft.com/en-us/azure/app-service/app-service-plan-manage)). The first two conditions are straightforward, the third is hard to determine and impossible to change. [Cloning](https://docs.microsoft.com/en-us/azure/app-service/app-service-web-app-cloning) is currently the only option if you still can't move to the plan you want to. – pcdev Nov 28 '18 at 03:48
0

Are App service plan 1 and App service plan 2 in the same region?

You can have resources in multiple regions in the same resource group, but App Services and App Service plan must be in the same region.

My best guess is:

  • App service plan 1, App Service 1, and App Service 3 are in Region X.

  • App service plan 2 and App Service 2 are in Region Y.

You might have to recreate App Service 1a in App Service Plan 2. :(

Sudip Shrestha
  • 328
  • 2
  • 9