Share via


Azure Point-To-Side VPN (Error 812) when connecting from client PC

Question

Wednesday, August 15, 2018 11:28 AM | 1 vote

Suddenly, this morning, cannot connect to our Azure Point-To-Side (VPN), however other colleagues can: The connection was prevented because of a policy configured on your RAS/VPN server. (Error 812)

The connection was prevented because of a policy configured on your RAS/VPN server. Specifically, the authentication method used by the server to verify your username and password may not match the authentication method configured in your connection profile. Please contact the Administrator of the RAS server and notify them of this error. (Error 812)

Logs:

[cmdial32] 13:11:47 04 Pre-Connect Event ConnectionType = 1
[cmdial32] 13:11:47 06 Pre-Tunnel Event UserName = SelectTimberProduction_Client_SelectTimberMill Domain =  DUNSetting = 774c5f04-b3d1-4838-a012-345ac3582f56 Tunnel DeviceName = WAN Miniport (SSTP) TunnelAddress = azuregateway-774c5f04-b3d1-4838-a012-345ac3582f56-83fe63ac9b36.cloudapp.net
[cmdial32] 13:11:48 21 On-Error Event ErrorCode = 812 ErrorSource = RAS

All replies (3)

Wednesday, August 15, 2018 3:44 PM ✅Answered | 2 votes

Thank you very much!

It was a TLS settings.. The following command executed in command line fixed my problem:

reg add HKLM\SYSTEM\CurrentControlSet\Services\RasMan\PPP\EAP\13 /v TlsVersion /t REG_DWORD /d 0xfc0 reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\WinHttp" /v DefaultSecureProtocols /t REG_DWORD /d 0xaa0 if %PROCESSOR_ARCHITECTURE% EQU AMD64 reg add "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Internet Settings\WinHttp" /v DefaultSecureProtocols /t REG_DWORD /d 0xaa0


Wednesday, August 15, 2018 1:56 PM | 1 vote

This error occurs if the RADIUS server that you used for authenticating VPN client has incorrect settings, or Azure Gateway can't reach the Radius server. make sure that RADIUS server is configured correctly. More information, see Integrate RADIUS authentication with Azure Multi-Factor Authentication Server and make sure you have enabled support for TLS 1.2 on your client (windows7, 8)

Reference: Troubleshooting: Azure point-to-site connection problems

If this answer was helpful, click “Mark as Answer” or “Up-Vote”. To provide additional feedback on your forum experience, click here


Wednesday, August 15, 2018 4:43 PM

Glad to know that issue got resolved.