Azure VPN Gateway Not Connected: Efficient Ways to Fix It

Tweak your settings and permissions to connect to Azure VPN

by Hasibul Kabir
Hasibul Kabir
Hasibul Kabir
Hasibul Kabir is a Tech-Enthusiast Blogger, Web Developer & Hobbyist Game Developer. Writing about Technology, mainly Windows, Mac, and iOS, etc. is his main focus besides doing some... read more
Reviewed by Edgar Nicov
Edgar Nicov
Edgar Nicov
Privacy & VPN Expert
Since the dial-up Internet era, Edgar was interested in online resources. From forums to e-commerce websites, he started digging into how those resources could generate revenue. Today he... read more
Affiliate Disclosure
  • 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.

Private internet access Logo Cyberghost
Best VPN we have tested for:

  • Gaming
  • Streaming
  • Privacy
  • Unblocking
Surf the internet anonymously now at 83% discount!
Cyberghost offers 4 months free for any 2-year plan. Get it now at $2.03/mo and benefit from:
  • Best privacy protocols and military-grade encryption
  • Geo-restriction bypassing for streaming services and websites
  • Access to over 6 000 servers worldwide
  • Unlimited number of connections to different locations

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 Version Link
Windows Server 2016
Windows 10 Version 1607 January 17, 2018
Windows 10 Version 1703 January 17, 2018 KB4057144
Windows 10 Version 1709 March 22, 2018 KB4089848

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 update driver network adapter windows
  5. Click on Search automatically for the 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.

Expert tip:


Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken.
We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.
Click here to download and start repairing.

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 Driverfix

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.

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.
  5. 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.

Still having issues? Fix them with this tool:


If the advices above haven't solved your issue, your PC may experience deeper Windows problems. We recommend downloading this PC Repair tool (rated Great on to easily address them. After installation, simply click the Start Scan button and then press on Repair All.