Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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://learn.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://learn.microsoft.com/en-us/azure/vpn-gateway/troubleshoot-ad-vpn-client.

Anybody out there that has a clue?

like image 385
epieters Avatar asked Nov 28 '22 16:11

epieters


2 Answers

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.

like image 149
epieters Avatar answered Apr 27 '23 09:04

epieters


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

like image 44
Daniel José Martínez Parra Avatar answered Apr 27 '23 10:04

Daniel José Martínez Parra