Azure VPN Gateway Not Connected: Efficient Ways to Fix It

Tweak your settings and permissions to connect to Azure VPN

Reading time icon 5 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

Key notes

  • Misconfiguration and incompatibilities can cause the Azure VPN gateway not connected issue.
  • Though updating the network driver may help, you still may need to look at other methods.
  • If VPN devices are not configured properly, this error may keep appearing forever.
  • You should look at the server side to verify all settings are correct. you may need to tweak a few

If you experience the Azure VPN gateway not connected problem, this article will help you with some helpful steps to troubleshoot the actual issue.

Azure VPN gateway is required to establish a VPN connection with Azure. This is a very secure gateway that uses various protocols, IPsec, and IKE to secure your connection.

However, sometimes, while establishing a VPN connection, you may notice that the gateway is failing or it has been disconnected and is failing to reconnect.

Even if you have configured VPN correctly on Windows, the issue may repeatedly come on your end if something is wrong internally or on the server side.

Like the VPN establishment error with Cisco, we have come up with several solutions for this error too. Before that, let’s go through some essential relevant information.

How can I fix the Azure VPN gateway not connected issue?

1. Enable IKEv2 support on Windows

1.1 Update Windows

  1. Press Win + I on the keyboard.
  2. Go to Windows Update.
win 11 system settings windows update
  1. Click on Check for updates.
windows check for updates
  1. Click on Install/Download if any update is available.

If you do not wish to update in this way, you can download the following updates for these specific versions of Windows.

Windows VersionLink
Windows Server 2016
Windows 10 Version 1607 January 17, 2018
KB4057142
Windows 10 Version 1703 January 17, 2018KB4057144
Windows 10 Version 1709 March 22, 2018KB4089848

Updating Windows is recommended when there is no IKEv2 support, and you repeatedly see that the connection is failing.

1.2 Set a registry value

  1. Open the Start Menu.
  2. Type regedit and hit enter to open Windows Registry Editor.
windows registry editor
  1. Create or Edit a DWORD value in the following location and set the value to 1: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RasMan\ IKEv2\DisableCertReqPayload
reg editor edit dword

1.3 Choose IKEv2

  1. Open Windows Settings like before.
  2. Go to Network & Internet.
win 11 system network and internet
  1. Go to VPN.
win 11 system settings vpn
  1. Click on Add VPN.
  2. Choose IKEv2 as the VPN type and provide other details to create the correct VPN connection.
win 11 add a vpn connection

Now, you should try to connect to the VPN. You will not encounter the Azure VPN gateway not connected issue this time.

2. Update NIC/Network Adapter driver

  1. Open the Start Menu.
  2. Type device manager and hit enter to open Device Manager.
win 11 device manager
  1. Expand Network Adapters.
  2. Right-click on your network driver and choose update driver.
device manager update driver
  1. Click on Search automatically for the drivers.
device manager search automatically for drivers
  1. It will look for the latest driver and install it if available.

Alternatively, to make sure your drivers are always in the best condition and up-to-date, use a dedicated utility like Outbyte Driver Updater. It’s a light software that scans your PC for any outdated drivers and automatically installs them.

The tool is tested and completely safe. In many cases, it has been able to detect new driver versions with higher accuracy than Device Manager. Plus, you can set it up to automatically update all drivers on a regular basis.

⇒ Get Outbyte Driver Updater

3. Enable background apps permission

  1. Open Windows Settings.
  2. Go to Apps.
win 11 system settings apps
  1. Click on Apps & features.
win 11 app settings advanced
  1. Look for the Azure VPN Client.
  2. Click on the three vertical dots and click on Advanced options.
azure vpn client advanced options
  1. Set Background apps permissions to Always.
allow azure vpn client to run in the background

4. Use different client

There are two types of Azure VPN Clients for Windows. One is available as an app in the Microsoft Store, and another one is like an addon that enables Azure VPN as a VPN provider in the built-in Windows VPN settings.

microsoft store azure vpn client

If you are using either of them, try another one to see if it fixes the Azure VPN gateway not connected error. For this, go to the Azure VPN client download page.

5. Configure the VPN device properly

A misconfiguration on the VPN device may be the reason you have been experiencing the problem. In this case, you should check if all configurations are OK.

Microsoft has obvious instructions for configuration on specific devices. You should check them out from this device configuration guide page.

6. Use proper IPsec parameters

Using incorrect IPsec parameters in the configuration can also be why you see the error Azure VPN gateway not connected.

You can check out the supported IPsec parameters by Azure from this documentation page. Verify if you are using the correct parameters. If not, correct where it is necessary.

Azure VPN connected but cannot ping

Some users report that even though they are able to secure an Azure VPN connection, it won’t ping.

If this happens to you, it’s possible that your firewall on antivirus is interfering.

Check your settings and make sure Azure is allowed through the firewall.

  1. Open the Firewall.
  2. Select Advanced settings.
  3. Go to Inbound Rules.
  4. Select File and Printer Sharing Echo Request -ICMPv4-In.
windows defender firewall enable rule
  1. Right-click on it and select Enable rule.

Other users around the web also recommend confirming that your on-premise devices and your VPN use the same tunnel.

These are the most effective methods to fix the Azure VPN gateway not connected issue. Feel free to let us know in the comment box if you have any other techniques that may help others.

User forum

0 messages