How to create Application Gateway using existing one on the same subscription

Priyanka Mahadik 21 Reputation points

How we could spin a new Application gateway using existing Application gateway on the same subscription. Each configuration should be the same as the existing one.

Tried with a template but it got failed.

Kindly help me with the process.

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
664 questions
Azure FastTrack
Azure FastTrack
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.FastTrack: A Microsoft program that helps customers adopt Microsoft Cloud solutions and drive user adoption.
61 questions
{count} votes

Accepted answer
  1. GitaraniSharma-MSFT 32,631 Reputation points Microsoft Employee

    Hello @Priyanka Mahadik ,

    I understand that you would like to know how to create Application Gateway using existing one on the same subscription.

    You can export a template from an existing resource and modify it for your scenario. The exported template helps you understand the JSON syntax and properties that deploy your resources.

    The export template process attempts to create a usable template. However, most exported templates require some modifications before they can be used to deploy Azure resources.

    Export is not guaranteed to succeed. Export is not a reliable way to turn pre-existing resources into templates that are usable in production. It is better to create resources from scratch using hand-written Bicep file, ARM template or terraform.

    And there are some limitations in Export as mentioned in the below doc:

    You can also use the readily available ARM/Bicep templates to deploy Application gateway by editing the template as per requirement.


    Refer the FAQ about ARM templates for more information:

    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

1 additional answer

Sort by: Most helpful
  1. Alistair Ross 6,246 Reputation points Microsoft Employee


    Details on how to deploy Azure Application Gateways via templates can be found here ARM / Bicep.

    If you are having issues with deploying via a template, you can check out the learn module here for running the ARM template test toolkit

    If you would like me to have a look at you template, please share it here otherwise I hope this above helps solve your issues.


    0 comments No comments