Move App Service resources to a new resource group or subscription

This article describes the steps to move App Service resources between resource groups or Azure subscriptions. There are specific requirements for moving App Service resources to a new subscription.

If you want to move App Services to a new region, see Move an App Service resource to another region.

Move across subscriptions

When you move a Web App across subscriptions, the following guidance applies:

  • Moving a resource to a new resource group or subscription is a metadata change that shouldn't affect anything about how the resource functions. For example, the inbound IP address for an app service doesn't change when moving the app service.
  • The destination resource group must not have any existing App Service resources. App Service resources include:
    • Web Apps
    • App Service plans
    • Uploaded or imported TLS/SSL certificates
    • App Service Environments
  • All App Service resources in the resource group must be moved together.
  • App Service Environments can't be moved to a new resource group or subscription. However, you can move a web app and app service plan to a new subscription without moving the App Service Environment. After the move, the web app is no longer hosted in the App Service Environment.
  • You can move a certificate bound to a web without deleting the TLS bindings, as long as the certificate is moved with all other resources in the resource group. However, you can't move a free App Service managed certificate. For that scenario, see Move with free managed certificates.
  • App Service resources can only be moved from the resource group in which they were originally created. If an App Service resource is no longer in its original resource group, move it back to its original resource group. Then, move the resource across subscriptions. For help with finding the original resource group, see the next section.

Find original resource 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 diagnostics

Select Migration Options.

Select migration options

Select the option for recommended steps to move the web app.

Select recommended steps

You see the recommended actions to take before moving the resources. The information includes the original resource group for the web app.

Screen capture shows recommended steps for moving Microsoft dot Web resources.

Move hidden resource types in portal

When using the portal to move your App Service resources, you may see an error indicating that you haven't moved all of the resources. If you see this error, check if there are resource types that the portal didn't display. Select Show hidden types. Then, select all of the resources to move.

Show hidden types

Move with free managed certificates

You can't move a free App Service managed certificate. Instead, delete the managed certificate and recreate it after moving the web app. To get instructions for deleting the certificate, use the Migration Operations tool.

If your free App Service managed certificate gets created in an unexpected resource group, try moving the app service plan back to its original resource group. Then, recreate the free managed certificate. This issue will be fixed.

Move support

To determine which App Service resources can be moved, see move support status for:

Next steps

For commands to move resources, see Move resources to new resource group or subscription.