Hi
I'm facing aIssue with a Azure VPN P2S Configuration.
When I try to connect I get this error:
AM: Dialing VPN connection vpndev002-test, Status = Server did not respond properly to VPN Control Packets. Session State: Key Material sent
In the logs it's saying:
[11/26/2024 7:42:21 AM UTC] PId:[00003596] TId:[00023732] [vpndev002-test] [{415b1199-7bda-46ba-a863-bd72ed58c8b2}] [Verbose] SId:[Primary] Reading Packet Length
[11/26/2024 7:42:21 AM UTC] PId:[00003596] TId:[00023732] [vpndev002-test] [{415b1199-7bda-46ba-a863-bd72ed58c8b2}] [Error] SId:[Primary] Couldn't load packet length bytes.
[11/26/2024 7:42:21 AM UTC] PId:[00003596] TId:[00023732] [vpndev002-test] [{415b1199-7bda-46ba-a863-bd72ed58c8b2}] [Error] SId:[Primary] ReadInitPackets Failed: true
[11/26/2024 7:42:21 AM UTC] PId:[00003596] TId:[00024656] [vpndev002-test] [{415b1199-7bda-46ba-a863-bd72ed58c8b2}] [Error] SId:[Primary] Failed to establish OpenVPN connection: Server
I have run through the VPN Client Debug section:
https://learn.microsoft.com/en-us/azure/vpn-gateway/troubleshoot-azure-vpn-client
I checked that P2S that they are configured with a ending / in both tenant & issuer.
I have one Subscription pr VPN and for each VPN a Entra Enterprise Application.
One in Sandbox, DEV and PROD.
The VPN in sandbox is configured to use the custome app where a specific AD group is assigned to allow access to VPN. This one works.
In DEV & PROD they are currently using the default Azure VPN App. When using this app or the one in Sandbox I can connect.
But using DEV or PROD specifik app in Dev & Prod I see this issue.
Any ideas would be helpfull