An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
Hello John Rain
I see that your VPN gateway deployment is encountering a general “ResourceOperationFailure” error and is timing out after approximately 10 minutes.
Check the gateway subnet size how much are you giving ensure you have a GatewaySubnet of at least /27. If it’s too small or overlaps another subnet, gateway provisioning will stall.
Occasionally, failed operations can cause the gateway to remain in a “Failed” state, which prevents retries. You can resolve this by running the following PowerShell command:
Get-AzVirtualNetworkGateway -Name "" -ResourceGroupName "" | Set-AzVirtualNetworkGateway
Also, please check the activity logs for the first failed write operation and review the error status and cause.
NSGs or user-defined routes on the gateway subnet may prevent setup. Please remove any custom NSG or UDR from that subnet and attempt the setup again.
Check the below public document for more understanding:
https://learn.microsoft.com/en-us/azure/networking/troubleshoot-failed-state
I have also initiated a private message. Please check it and provide the necessary information so we can discuss further on your concern.
I hope the above answer helps you! Please let us know if you have any further questions.
Please don't forget to "upvote" where the information provided will help you, this can be beneficial to other members of the community.