55

I'm attempting to move an App Service from one service plan to another. When I use the portal to do so, the other App Service plan is not displaying.

Both App Services are in the same Location and Resource Group. The two App Services Plans are in the same location and have the same pricing tier.

I use the "Change App Service Plan" option for the web app. The only App Service Plan that is displayed is the current one. There is also a "Create New" option.

So, in summary: 1) Why is the other App Service Plan not able to be selected. 2) How can I move the App Service (Web App) to the other App Service Plan.

Stephanie J.
  • 613
  • 1
  • 5
  • 8
  • Is the pricing tier the same between the two app service plans? – Rick Rainey Jan 11 '16 at 01:01
  • Does the answer help you? – juvchan Jan 11 '16 at 10:04
  • @RickRainey Yes, as stated in the question, the two plans are the same pricing tier. – Stephanie J. Jan 11 '16 at 11:21
  • I have just tested this, and it does appear to work with a Service plan in the same Resource Group. Pricing tier makes no difference either (I could move from Standard to Shared and back again) Try creating two new plans and see if it works as a basic test. It might give some pointers – Michael B Jan 12 '16 at 06:22

5 Answers5

23

The reason why you are not able to see the other App Service Plan when you try to change the App Service Plan is due to current limitations in moving the Azure web app resources.

The other App Service Plan which you intend to move your Web Apps to is in another resource group with existing Azure Web Apps, which is not supported currently

Azure Web Apps current move limitations updated 01/04/2016

Hope this answer your question.

juvchan
  • 5,555
  • 2
  • 20
  • 32
  • 2
    The web apps are in the same resource group, but the plans are not. In which case, how can I change the resource group of a app service plan? – Stephanie J. Jan 11 '16 at 11:20
  • It is easier to create a new app service plan in your current resource group and switch over – juvchan Jan 11 '16 at 11:22
  • 1
    Also, according to this [link](https://feedback.azure.com/forums/169385-web-apps-formerly-websites/suggestions/5974062-allow-web-hosting-plans-to-be-shared-across-resour), the fact that the App Service Plans are in different resource groups should not matter. – Stephanie J. Jan 11 '16 at 11:27
  • If I did that, I'd run into the same issue still. I currently have Web Apps in both app service plans. The idea is the need to all be in the same app service plan. – Stephanie J. Jan 11 '16 at 11:29
  • @StephanieJ., I updated my answer after more in-depth and find the actual root cause, hope this is the answer you need. – juvchan Jan 11 '16 at 12:00
  • Yes based on your scenario – juvchan Jan 11 '16 at 12:34
  • 1
    It's still not possible to do so. I don't get why it is not technically possible. – matfax Sep 28 '17 at 15:22
  • 2
    Geez this limitation is dumb. – Ronnie Overby Sep 29 '17 at 18:24
  • For all searching who searching for the solution this is possible now, please see my [answer](https://stackoverflow.com/a/53094074/7073340) below. – Jayendran Nov 01 '18 at 01:32
22

Not sure if it is something recent, but it seems it is finally possible. The option is in the main resource menu as "Change App Service plan". See:

Change Azure App service plan

I was able to move an app service(website) and also its deployment slot to a different plan (with same parameters and location - but did not try if this is a requirement).

mivra
  • 1,135
  • 10
  • 26
  • 1
    Unfortunately I've got "No App Service Plans Found" message but my plans are in different resource groups. Maybe this is the reason. – Andrzej Martyna Oct 17 '18 at 22:43
  • 7
    This portal option can only be used if THREE conditions are met: The new App Service 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 easy, the third is hard to determine and impossible to fix currently, if they are in different webspaces. [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:40
5

Yes, we can now move the App Service Plan using the Change App Service Plan.

But sometime you will get No App Service Plan Found as this is the known restriction for the moving App Service plan.

Restrictions

  • We can move the App service plan which is in the same resource group and geographical location.

You can find this in the official doc here and here

You can also refer this SO

Jayendran
  • 6,972
  • 4
  • 39
  • 80
  • There's actually a third restriction - webspace - see my comment above – pcdev Nov 28 '18 at 03:41
  • June 2019 - is this still a restriction? Also wondering, does a content and visual studio product download of an Azure function save App configuration like app variables? – Hell.Bent May 23 '19 at 12:54
0

You can configure a backup and restore on the new App Service under the new APp Service Plan.

Backup an app: https://docs.microsoft.com/en-us/azure/app-service/manage-backup#:~:text=The%20Backup%20and%20Restore%20feature,or%20restoring%20to%20another%20app.

0

Put your code in DevOps and deploy it to the new service plan and point DNS.

Yatin
  • 2,348
  • 6
  • 20
  • 38
Chuck D
  • 1,537
  • 2
  • 14
  • 29