Hello Rogerio Labanca
I understand that you are trying to delete the VPN gateway but are unable to perform the action.
Please check the status of your VPN gateway. If the provisioning state shows "Failed", it means something went wrong during deletion.
To fix this, you’ll need to change the state to "Succeeded". You can try running the following Get-Set command to update the status:
Get-AzVpnGateway -Name "your_resource_name" -ResourceGroupName "your_resource_group_name" | Update-AzVpnGateway
Check the public document: https://learn.microsoft.com/en-us/azure/networking/troubleshoot-failed-state#microsoftnetworkvpngateways
Additionally, please share a screenshot of the VPN Gateway connection and its status.
Meanwhile, please provide screenshots of the VNET peering where this VPN Gateway is hosted.
And also, please try to test with Power shell command and share the output with us.
Check the public document to Delete a virtual network gateway using PowerShell
Hope the above answer helps! Please let us know do you have any further queries.
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.