Azure Virtual Network: Cross-Tenant Vnet-to-Vnet Connection Fails with 'InternalRetriableError
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'