FIX: Azure VPN Gateway not Connected

  • Various reasons like misconfiguration, unsupported client, etc. may 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 and you should look at the server-side to verify all settings are correct.
  • Even though any modern Windows device should work with Azure VPN well, you may still need to tweak a few things manually.

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.Going Windows Update Windows 11 settings
  3. Click on Check for updates.checking for windows update win11
  4. 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.opening regedit windows 11
  3. 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 creating disablecertreqpayload regedit win11

1.3 Choose IKEv2

  1. Open Windows Settings like before.
  2. Go to Network & Internet.going network internet win11 settings
  3. Go to VPN.clicking VPN windows 11 settings
  4. Click on Add VPN.
  5. Choose IKEv2 as the VPN type and provide other details to create the correct VPN connection.choosing ikev2 vpn win11 settings

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.opening device manager win11
  3. Expand Network Adapters.
  4. Right-click on your network driver and choose update driver.click update driver network adapter windows
  5. Click on Search automatically for the drivers.search automatically for drivers
  6. 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 DriverFix. 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.

3. Enable background apps permission

  1. Open Windows Settings.
  2. Go to Apps.going apps
  3. Click on Apps & features.going apps features windows 11 settings
  4. Look for the Azure VPN Client.
  5. Click on the three vertical dots and click on Advanced options.going advanced options azure vpn app settings win11
  6. Set Background apps permissions to Always.allowing azure vpn app background usage

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.

Azure VPN Cleint app microsoft store

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.

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.

Leave a Comment