Hello,
Welcome to Microsoft Q&A,
If your VnetGw is currently using a Basic SKU Public IP, it will continue to function until September 30, 2025. However, post this date, the Basic SKU Public IPs will be retired, which will affect the connectivity of your VPN Gateway. So it's essential to upgrade the SKU from basic to standard for continued operation.
March 31, 2025: Last day to create new Basic SKU Public IP addresses. After this date, creation of new Basic SKU Public IPs will be disabled.
September 30, 2025: Retirement date for Basic SKU Public IP addresses. After this date, existing Basic SKU Public IPs will cease to operate.
Please Upvote and Accept the Answer if it helps!!