Skip to content

Commit 022a2da

Browse files
Merge pull request #287758 from greg-lindsay/appgw-upd
replace 287569
2 parents df42755 + 33ebf93 commit 022a2da

File tree

1 file changed

+37
-12
lines changed

1 file changed

+37
-12
lines changed

articles/application-gateway/classic-to-resource-manager.md

Lines changed: 37 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
---
2-
title: Application Gateway classic to Resource Manager
3-
description: Learn about moving Application Gateway resources from the classic deployment model to the Resource Manager deployment model.
2+
title: Azure Application Gateway classic to Resource Manager
3+
description: Learn about moving Azure Application Gateway resources from the classic deployment model to the Resource Manager deployment model.
44
services: application-gateway
55
author: greg-lindsay
66
ms.service: azure-application-gateway
77
ms.topic: how-to
8-
ms.date: 06/27/2024
8+
ms.date: 10/02/2024
99
ms.author: greglin
1010
---
1111

12-
# Application Gateway classic to Resource Manager migration
12+
# Application gateway classic to Resource Manager migration
1313

1414
Resource Manager enables deploying complex applications through templates, configures virtual machines by using VM extensions, and incorporates access management and tagging. Azure Resource Manager includes scalable, parallel deployment for virtual machines into availability sets. The new deployment model also provides lifecycle management of compute, network, and storage independently.
1515
You can read more about Azure Resource Manager [features and benefits](../azure-resource-manager/management/overview.md).
1616

17-
Application Gateway resources will **not** be migrated automatically as part of VNet migration from classic to Resource Manager.
18-
As part of VNet migration process as documented at [IaaS resources migration page](/azure/virtual-machines/migration-classic-resource-manager-ps), if you have an Application Gateway resource present on the VNet that you're trying to migrate to Resource Manager deployment model, the automatic migration wouldn't be successful.
17+
Application gateway resources are **not** migrated automatically as part of VNet migration from classic to Resource Manager.
18+
As part of VNet migration process as documented at [IaaS resources migration page](/azure/virtual-machines/migration-classic-resource-manager-ps), if you have an application gateway resource present on the VNet that you're trying to migrate to Resource Manager deployment model, the automatic migration wouldn't be successful.
1919

20-
In order to migrate your Application Gateway resource to Resource Manager deployment model, you'll have to remove the Application Resource from the VNet before beginning migration and then recreate the Application Gateway resource once migration is complete.
20+
To migrate your application gateway resource to Resource Manager deployment model, you'll have to remove the Application Resource from the VNet before beginning migration and then recreate the application gateway resource once migration is complete.
2121

22-
## Creating a new Application Gateway resource
22+
## Creating a new application gateway resource
2323

24-
For more information on how to set up an Application Gateway resource after VNet migration, you can refer:
24+
For more information on how to set up an application gateway resource after VNet migration, you can refer:
2525

2626
* [Deployment via portal](quick-create-portal.md)
2727
* [Deployment via PowerShell](quick-create-powershell.md)
@@ -43,13 +43,38 @@ Azure Resource Manager is the latest control plane of Azure responsible for crea
4343

4444
### Where can I find more information regarding classic to Azure Resource Manager migration?
4545

46-
Please refer to [Frequently asked questions about classic to Azure Resource Manager migration](/azure/virtual-machines/migration-classic-resource-manager-faq)
46+
Refer to [Frequently asked questions about classic to Azure Resource Manager migration](/azure/virtual-machines/migration-classic-resource-manager-faq)
47+
48+
### How can I clean up my classic application gateway deployment?
49+
50+
Step 1: Install the old PowerShell version for managing legacy resources.
51+
52+
[Installing the Azure PowerShell Service Management module](/powershell/azure/servicemanagement/install-azure-ps)
53+
54+
> [!NOTE]
55+
> The cmdlets referenced in this documentation are for managing legacy Azure resources that use Azure Service Manager (ASM) APIs. This legacy PowerShell module isn't recommended for creating new resources since ASM is scheduled for retirement.
56+
57+
Step 2: Run the following command to remove the application gateway.
58+
[Remove-AzureApplicationGateway](/powershell/module/servicemanagement/azure/remove-azureapplicationgateway)
59+
60+
```
61+
#Login to account and set proper subscription
62+
Add-AzureAccount
63+
Get-AzureSubscription
64+
Select-AzureSubscription -SubscriptionId <SubscriptionId> -Default
65+
66+
# Get the list of application gateways in the subscription
67+
Get-AzureApplicationGateway
68+
69+
#Remove the desired application gateway
70+
Remove-AzureApplicationGateway -Name <NameofGateway>
71+
```
4772

4873
### How do I report an issue?
4974

5075
Post your issues and questions about migration to our [Microsoft Q&A page](/answers/topics/azure-virtual-network.html). We recommend posting all your questions on this forum. If you have a support contract, you're welcome to log a support ticket as well.
5176

5277
## Next steps
53-
To get started see: [platform-supported migration of IaaS resources from classic to Resource Manager](/azure/virtual-machines/migration-classic-resource-manager-ps)
78+
To get started, see: [platform-supported migration of IaaS resources from classic to Resource Manager](/azure/virtual-machines/migration-classic-resource-manager-ps)
5479

55-
For any concerns around migration, you can contact Azure Support. Learn more about [Azure support here](https://azure.microsoft.com/support/options/).
80+
For any concerns around migration, you can contact Azure Support. Learn more about [Azure support here](https://azure.microsoft.com/support/options/).

0 commit comments

Comments
 (0)