question

VipulKumar-1205 avatar image
0 Votes"
VipulKumar-1205 asked LimitlessTechnology-2700 answered

How to fix RAS/VPN Policy Error 812 while connecting to Azure Point to site VPN from Windows Server 2012 through certificate authentication method.

133334-image.png



Recently I have created Point to Site VPN on Azure
it is able to connect to a windows 10 laptop but when I am trying to connect a windows server 2012 machine it is saying "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)"

windows-serverazure-vpn-gateway
image.png (1.3 MiB)
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.

ManishJ avatar image
0 Votes"
ManishJ answered

Can you please refer to this link and try this solution and let us know the result ?

https://social.msdn.microsoft.com/Forums/en-US/5103955d-d808-42a4-bf2e-7c2414cb5cdc/azure-pointtoside-vpn-error-812-when-connecting-from-client-pc?forum=WAVirtualMachinesVirtualNetwork

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

Ensure you back up the Registry before doing this

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.

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered

Hello Vipul,

Thank you for posting the query on Microsoft Community.

I understand your concern and will assist you to resolve this issue.

The VPN Error 812 seems to appear for several reasons:

When the Server Network Policy and Client Connection Profile don’t match the Authentication Protocol. This is easy to fix.
When NPS does not update the value added to Tunnel Type Condition in Network Policy. This is a more complex situation.

Apart from doing changes in the registry i also want you to try by installing below updates,

KB3140245
KB2977292

Visit the below link to know more about the resolution,

https://social.technet.microsoft.com/Forums/ie/en-US/b8489bc2-e64b-4b5d-a8bb-0f63ced99fcc/connection-problem-on-vpn-due-to-rasvpn-policy-error-812?forum=winserveressentials

--please don't forget to upvote and Accept as answer if the reply is helpful--

Thanks,

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.