@RP
Thank you for reaching out.
I understand you are facing issue while deleting your Azure VPN Gateway as it is stuck in the provisioning state.
Usually when a resourse is stuck in provisioning state a GET-SET command can help resolve the issue. You can try running the PowerShell commands mentioned below and see if it helps in resolving the issue (A customer here found this solution and they were able delete the VPN Gateway)
Run the command below to set the AdminState:
$Gateway = Get-AzVirtualNetworkGateway -ResourceGroupName RGName -Name GatewayName
Set-AzVirtualNetworkGateway -VirtualNetworkGateway $Gateway -adminstate enabled
After the command above is successful you can run the Get-Set commands below and see if that helps.
Get-AzVirtualNetworkGateway -ResourceGroupName RGName -Name GtwName | Set-AzVirtualNetworkGateway
After this you can try and delete the VPN Gateway.
Remove-AzVirtualNetworkGateway -Name GtwName -ResourceGroupName RGName
Even after following the steps above, you are unable to delete the VPN Gateway, a support request will be required to delete the resource. Please follow the instructions in the private message I will make here shortly to create a support request.
Hoper this helps!
If you have any other questions or are still running into more issues, please let me know. Thank you again for your time and patience throughout this issue.
Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.