Azure Virtual Network: Cross-Tenant Vnet-to-Vnet Connection Fails with 'InternalRetriableError

geoffrey 5 Reputation points
2025-02-11T17:08:32.7733333+00:00

We have been using New-AzVirtualNetworkGatewayConnection to establish cross tenant Vnet-to-Vnet connections for years, and even one a few months ago. Now we are getting an error message:


New-AzVirtualNetworkGatewayConnection: 
Line |
  39 |  New-AzVirtualNetworkGatewayConnection `
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | The operation cannot be completed due to an internal retriable error. Please retry in sometime.
StatusCode: 500
ReasonPhrase: Internal Server Error
ErrorCode: InternalRetriableError
ErrorMessage: The operation cannot be completed due to an internal retriable error. Please retry in sometime.

for about a week. This error occurs when attempting from either side. We've noticed that we can still make Vnet-to-Vnet connections within the same subscription, which tells me that the admins trying this have proper rights, and also that the Vnets have not hit their ceiling of max connections.

Several attempts adhering to the latest documentation have erred similarly. ( https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-vnet-vnet-rm-ps) following the format of example.

New-AzVirtualNetworkGatewayConnection -Name $Connection51 -ResourceGroupName $RG5 -VirtualNetworkGateway1 $vnet5gw -VirtualNetworkGateway2 $vnet1gw -Location $Location5 -ConnectionType Vnet2Vnet -SharedKey 'AzureA1b2C3'
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,637 questions
{count} votes

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.