Is the azure virtual network gateway basic sku deprecated?

Today i noticed that i cannot longer create a basic SKU virtual network gateway, the option isn’t availbe anymore in the portal. it is also not available in powershell. Following the microsoft docs it should be still available.


Just tested this myself. You can only create the Basic VPN via Powershell, but there are certain limitations:

The publicIP you assign to the VPNGW needs to be a BASIC PublicIP SKU and the AllocationMethod needs to be Dynamic. It won’t accept a static Public IP address or a Standard Public IP SKU.

After that it worked for me.

I just set two of them up this week in East US without issue.

I can confirm I don’t see it available in my portal anymore either across any subscription. I assume this is because of the upcoming deprecation of Basic Public IP Addresses.

VPN Basic FAQ

According to this MS doc "The Basic SKU is considered a legacy SKU. The Basic SKU has certain feature limitations. You can’t resize a gateway that uses a Basic SKU to another SKU, you must instead change to a new SKU, which involves deleting and recreating your VPN gateway. You can’t deploy a Basic SKU to a VNet that uses IPv6 address space. The Basic SKU can only be configured using PowerShell or Azure CLI."

I’ve been trying to set one up with Powershell, but I keep getting an error:
New-AzVirtualNetworkGateway : Virtual network gateway Sku specified is not valid for gateway /subscriptions/{subscription redacted}/resourceGroups/{Resource Group redacted}/providers/Microsoft.Network/virtualNetworkGateways/{Gateway Redacted} with DeploymentType VMScaleSet. The allowed Skus are
VpnGw1AZ,VpnGw2AZ,VpnGw3AZ,VpnGw4AZ,VpnGw5AZ,VpnGw1,VpnGw2,VpnGw3,VpnGw4,VpnGw5.

Still trying to figure out where the DeploymentType VMScaleSet is…

I deployed it yesterday via customized template. Just change the template parameters to basic and use dynamic PIP

How often does the dynamic ip changes?

Just for the next one reading this post - to solve this, the public IP needs to be changed to Basic SKU with dynamic assignment

“Dynamic - The IP address isn’t given to the resource at the time of creation when selecting dynamic. The IP is assigned when you associate the public IP address with a resource. The IP address is released when you stop, or delete the resource.”

So as long the IP address is attached to the vpn gateway it will not change? Thank you for quick answer

Haven’t tested it but it shouldn’t, yes.