Cant get Azure P2S VPN working with AAD Authentication on corporate PCs

Fink, Patrick 1 Reputation point
2021-02-08T19:54:43.36+00:00

We followed this - https://learn.microsoft.com/en-us/azure/vpn-gateway/openvpn-azure-ad-tenant to its conclusion on a freshly installed vnet / gateway etc. We've double checked the enterprise app and settings in AD. The diagnostics for the client (run from within the client) come back all green. The client spits back:

[ApplicationX] [] [Error] Provider Error 2147942756: Failure to acquire AAD Token.

The error is coming even before a user could be selected, so we have no possibility trying with other user etc. Also, we observe this error only on our corporate client PCs (Windows 10), with our non-corporate (also Windows 10) it's working fine. We tried to logout already from any Microsoft SSO in all browsers because our first guess was that we're somehow logged in with the wrong account already, but that didn't work. Any idea what could be the issue?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,818 questions
Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,577 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. suvasara-MSFT 10,051 Reputation points
    2021-02-09T05:54:22.837+00:00

    @Fink, Patrick , Are you the local admin for your corporate pc? Also, please do send the event logs of both the PCs under this section for further analysis.

    Location of logs:

    65580-microsoftteams-image-10.png

    send it to azcommunity@microsoft.com.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.