An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
Hello AIS
Azure VPN Gateway doesn't support changing the public IP address after creation. and there is no direct way to change the IP assignment to static for a VPN gateway.
However Basic SKU public IP addresses are announced to retire September 30, 2025, we're no longer permitting new gateways to be created using Basic SKU public IP addresses. It is recommended that you upgrade to higher SKUs.
We're taking action to ensure the continued operation of deployed VPN gateways that use Basic SKU public IP addresses until the retirement of Basic IP in September 2025. Before this retirement, we'll provide customers with a migration path from Basic to Standard IP.
Reference document: https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-vpn-faq#how-does-the-retirement-of-basic-sku-public-ip-addresses-affect-my-vpn-gateways
In the meantime, please refer to the similar accepted answered thread: https://learn.microsoft.com/en-us/answers/questions/2224843/how-to-upgrade-basic-to-standard-sku-public-ip-add
Kindly let us know if the above helps or you need further assistance on this issue.
Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.