I am trying to configure app services to use a virtual network and prevent them from being directly publicly accessible. When i try to connect them to a vnet, my vnet is grayed out with a message "this virtual network has no gateway" i have setup a subnet gateway on the vnet still get the message. How do i link these services to my vnet?
Probably, you just add the named GatewaySubnet
subnet in your current virtual network. It's not enough. You need to create a virtual network gateway resource first then set up a VPN gateway in your virtual network. For example, you could configure a Point-to-Site VPN connection to a VNet using native Azure certificate authentication via Azure portal
VNet
Virtual network gateway with VPN type
Another option is to use Regional VNet Integration. In this case, you do not need a gateway in that VNet. Go to the Networking UI in the portal. If your app is able to use the new feature, then you will see an option to Add VNet (preview).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With