migrate application gateway v1 to a new subscription

Alexandre Santos 25 Reputation points
2023-09-14T18:37:44.42+00:00

Hello everyone,

I am aware that with new subscriptions, it is no longer possible to deploy App Gateway on SKU V1. However, I would like to know if there is any way to achieve the same functionality, considering that I am migrating a subscription from an environment that already has such a resource. Is it possible to accomplish this using Azure CLI, by any chance?

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,216 questions
{count} votes

Accepted answer
  1. GitaraniSharma-MSFT 50,096 Reputation points Microsoft Employee Moderator
    2023-09-15T17:21:24.85+00:00

    Hello @Alexandre Santos ,

    Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.

    I understand that you would like to know if it is possible to move Application gateway v1 to a new subscription.

    To start with, moving application gateways to another resource group/region/subscription is not supported.

    User's image

    Refer: https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/move-support-resources#microsoftnetwork

    The only allowed move is between subnets within the same Vnet:

    • You can move an Application Gateway across subnets within the same virtual network only. It's supported with V1 with public and private frontend, and V2 with public frontend only.

    Refer: https://learn.microsoft.com/en-us/azure/application-gateway/application-gateway-faq#can-i-change-the-virtual-network-or-subnet-for-an-existing-application-gateway

    As you cannot move existing Application gateways to another subscription, your only option is to create/deploy a new Application gateway in the new subscription using the existing app gateway's template.

    Refer: https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/quickstart-create-templates-use-the-portal#export-a-custom-template

    Now, coming to Application Gateway v1 SKU retirement, the timeline says:

    No new subscriptions for V1 deployments: July 1,2023 onwards - Application Gateway V1 is no longer available for deployment on subscriptions without V1 gateways (Refer to FAQ for details) from July 1, 2023, onwards.

    If you check the FAQ, you can find the below:

    What is the definition of a new customer on Application Gateway V1 SKU? Customers who didn't have Application Gateway V1 SKU in their subscriptions as of 4 July 2023 are considered as new customers. These customers won’t be able to create new V1 gateways in subscriptions which didn't have an existing V1 gateway as of 4 July 2023 going forward.

    Meaning, if the new subscription didn't already have an application gateway v1 as of 4 July 2023, then you cannot create a new v1 App gateway in this subscription.

    Refer: https://learn.microsoft.com/en-us/azure/application-gateway/retirement-faq#what-is-the-definition-of-a-new-customer-on-application-gateway-v1-sku

    So, your only options are to keep using the Application gateway in the existing subscription till the retirement date or to create a new Application gateway v2 in the new subscription.

    Kindly let us know if the above helps or you need further assistance on this issue.


    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.