question

SystemAlternatives-3579 avatar image
0 Votes"
SystemAlternatives-3579 asked AmirShahzad-0536 published

azure VPN P2S failed (azure auth)

hello!
I need some help! I had set up a vpn gateway with P2S using azure certificate but I couldn't get one of my client pc's to see the cert in the cert store after I joined it to a domain so I moved to azure authentication. Once I did this and saved the config my VPN would no longer connect this is the log. This is the same on multiple pc's from my house, my remote office as well as my shop (different ip's and networks and domains)


‎9‎/‎18‎/‎2020‎ ‎12‎:‎49‎:‎36‎ ‎PM: [Verbose] Application Initialized
‎9‎/‎18‎/‎2020‎ ‎12‎:‎49‎:‎39‎ ‎PM: [Verbose] Dialing VPN connection azure_lan
‎9‎/‎18‎/‎2020‎ ‎12‎:‎49‎:‎39‎ ‎PM: [Verbose] Requested AccountsManager dialog.
‎9‎/‎18‎/‎2020‎ ‎12‎:‎49‎:‎43‎ ‎PM: [Verbose] Success Received AAD Credential Token. User: email@emailremovedforsecurity.com
‎9‎/‎18‎/‎2020‎ ‎12‎:‎49‎:‎44‎ ‎PM: [Error] Dialing VPN connection azure_lan, Status = Server did not respond properly to VPN Control Packets. Session State: Key Material sent
‎9‎/‎18‎/‎2020‎ ‎12‎:‎49‎:‎48‎ ‎PM: [Verbose] Dialing VPN connection azure_lan
‎9‎/‎18‎/‎2020‎ ‎12‎:‎49‎:‎49‎ ‎PM: [Error] Dialing VPN connection azure_lan, Status = VPN Platform did not trigger connection.
‎9‎/‎18‎/‎2020‎ ‎12‎:‎58‎:‎13‎ ‎PM: [Verbose] Configuring VPN connection azure_lan

I made sure to use trailing / for tenant and issuer from the get go (I was told in a guide as well in a support chat this is how the problem usually surfaces) anyone have any advice? I am thinking of starting the vpn fresh, but using azure auth from the get go instead of starting with cert then moving to azure auth)

azure-vpn-gateway
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SystemAlternatives-3579 avatar image
1 Vote"
SystemAlternatives-3579 answered AmirShahzad-0536 published

Okay I'm dumb...there was a space at the end of the audience id removed it on the config in portal as well as on the vpn client a it worked LOL

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for the follow up!

0 Votes 0 ·

really glad that you shared your 'dumb' issue, as i had the same issue and now i could resolve it too :)

0 Votes 0 ·

Thank you Sir for sharing this, this was exactly my issue as well, now it works. So copy pasting it creates a space at the start.

0 Votes 0 ·