question

Walt-9014 avatar image
0 Votes"
Walt-9014 asked SaiKishor-MSFT commented

Delete Azure VNG

I need to switch from Generation 2 to Generation 1 in order to select SKU:VpnGw1. The only way to do this is to delete the VNG and rebuild. I believe that all i need to do is delete the connections to the VGN (not actually delete them, but just remove them on the connections screen)then i should be able to delete the VGN and rebuild it and reset it. I just want to make sure that i don't need to ACTUALLY delete everything else build and associated with the VNG.

azure-vpn-gateway
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

msrini-MSFT avatar image
0 Votes"
msrini-MSFT answered

@Walt-9014 ,

There are 3 component that you have here.

  1. VPN gateway

  2. Local Network Gateway

  3. Connection

First step is to delete the Connection object. Then you can delete the VPN gateway. If the IP is dynamic, you may get another IP. Other than that you will be creating new gateway with the required SKU and creating a connection to connect to On-Prem.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SaiKishor-MSFT avatar image
0 Votes"
SaiKishor-MSFT answered SaiKishor-MSFT commented

@Walt-9014 If you need to switch from Gen2 to Gen1, as you mentioned you will be deleting the GW and re-creating a new one. In that process, the connection will also be deleted and there is no way to keep it. Here is the workflow that you would follow:

Remove any connections to the virtual network gateway.
Delete the old VPN gateway.
Create the new VPN gateway.
Update your on-premises VPN devices with the new VPN gateway IP address (for Site-to-Site connections).
Update the gateway IP address value for any VNet-to-VNet local network gateways that will connect to this gateway.
Download new client VPN configuration packages for P2S clients connecting to the virtual network through this VPN gateway.
Recreate the connections to the virtual network gateway.

Hope this helps. Please let us know if you have any further questions and we will be glad to assist you further. Thank you!

Remember:

Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.

Want a reminder to come back and check responses? Here is how to subscribe to a notification.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.