Azure Microsoft Windows

Azure VPN Client not working on Windows 7 and Windows 8.1

I was working on an issue with a client who was not able to connect to an Azure VPN. He was getting the following error message:

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) For customized troubleshooting information for this connection, click Help.

After doing some extensive research, I found out that TLS 1.2 needs to be enabled on the workstation for it be able to connect.

In order to fix this issue, you will need to add the following registry keys:

reg add HKLMSYSTEMCurrentControlSetServicesRasManPPPEAP13 /v TlsVersion /t REG_DWORD /d 0xfc0

reg add “HKLMSOFTWAREMicrosoftWindowsCurrentVersionInternet SettingsWinHttp” /v DefaultSecureProtocols /t REG_DWORD /d 0xaa0 if %PROCESSOR_ARCHITECTURE% EQU AMD64

reg add “HKLMSOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionInternet SettingsWinHttp” /v DefaultSecureProtocols /t REG_DWORD /d 0xaa0

You will also need to install the following patches:

Then you will need to reboot the PC and you should be able to connect to the VPN.

Leave a Reply