An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
Welcome to Microsoft Q&A Platform.
I understand you're unable to update the certificate in the Point-to-Site VPN configuration and are seeing the error message: "Virtual network gateway is in the migration process. Cannot make changes to gateway."
When the VPN gateway is in a migration state, changes can't be made, which is why you're encountering this error when trying to delete it.
Please try aborting the operation from the portal. After the abort operation is successful, you should be able to delete the VPN gateway. Follow this step https://learn.microsoft.com/en-us/answers/questions/5727969/my-vpn-gateway-is-stuck-in-the-migrating-state-and
Please
and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.