'Azure VPN P2S Azure AD Authentication Connection Problem: The operation was canceled by the user

I've setup an Azure VPN Gateway according to the instructions on https://docs.microsoft.com/en-us/azure/vpn-gateway/openvpn-azure-ad-tenant

However, each time I connect, the AAD Credentials token for the user is received successfully. But next I get a message saying: "Dialing VPN Connection xxxxxx. Status = The operation was canceled by the user."

I've done everything listed here: https://docs.microsoft.com/en-us/azure/vpn-gateway/troubleshoot-ad-vpn-client.

Anybody out there that has a clue?



Solution 1:[1]

I found the answer to my problem, so here is the solution (in my case)

  1. Open Windows Device Manager
  2. Navigate to Network adapters
  3. Uninstall all of the WAN Miniport (XXXX) devices
  4. Right-click on any item and choose to Scan for hardware changes
  5. The WAN Miniport adapters should have re-created themselves.

Try connecting to your VPN again.

Solution 2:[2]

Removing the WAN mini ports from the Device Manager worked for me. https://answers.microsoft.com/en-us/windows/forum/all/azure-vpn-issue/77c101b1-91fe-491d-9765-9a46859110c9

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 epieters
Solution 2