Azure VPN Gateway P2S Migration

Timothy J. Robinson 20 Reputation points
2023-08-02T21:57:38.9333333+00:00

I want to move some resources between Azure regions. I have created a new virtual network in the new region that doesn't overlap with the old virtual network. I also have created a new VPN Gateway for P2S connections to replace the old one in the other region. During the migration I was hoping to get both gateways connected to the old virtual network so could move our users over as I have time. This is where I run into a problem. When I try to enable peering between the old virtual network that has the old gateway and the new gateway network the option "Use the remote virtual network's gateway or Route Server" is disabled. Is this because I'm trying to create a peer from a virtual network that already has a gateway?

Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,798 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,776 questions
0 comments No comments
{count} votes

Accepted answer
  1. ChaitanyaNaykodi-MSFT 27,481 Reputation points Microsoft Employee Moderator
    2023-08-03T02:00:24.34+00:00

    @Timothy J. Robinson

    Welcome to the Microsoft Q&A forum.

    When I try to enable peering between the old virtual network that has the old gateway and the new gateway network the option "Use the remote virtual network's gateway or Route Server" is disabled. Is this because I'm trying to create a peer from a virtual network that already has a gateway?

    Yes, you are correct as the peered VNet already has a VPN gateway this option will be disabled. This is currently documented here(Step-4) You can't use remote gateways if you already have a gateway configured in your virtual network.

    Although you should be able to see this option when the old VPN gateway is deleted. There will be a downtime in this case and it is recommended to perform this operation during a maintenance period.

    Hope this helps! Please let me know if you have any additional questions. Thank you!


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

    1 person found this answer helpful.
    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.