Azure Client VPN does not connect

Mike Smith 25 Reputation points
2026-01-19T23:38:43.4466667+00:00

am trying to connect to an Azure Point-to-Site VPN Gateway using Entra ID authentication with OpenVPN. Authentication completes successfully, but the connection fails with an error stating that the server ended the connection. I have tested this on fresh Windows installations and macOS systems, as well as from multiple locations, and the issue is consistent.

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.
{count} votes

Answer accepted by question author
  1. Thanmayi Godithi 6,165 Reputation points Microsoft External Staff Moderator
    2026-01-20T00:40:47.04+00:00

    Hi @Mike Smith,

    Thank you for reaching out on Microsoft Q&A forum.

    I understand that you are experiencing issues connecting to the Azure Point-to-Site VPN.

    Could you please verify the following configurations and mitigation steps:

    1. Validate Gateway Configuration In Azure Portal → Virtual Network Gateway → Point-to-Site configuration:

    • Tunnel type: OpenVPN (SSL)
    • Authentication type: Microsoft Entra ID
    • Ensure the Audience value matches the VPN client registration type: Microsoft-registered Azure VPN Client (default):c632b3df-fb67-4d84-bdcf-b95ad541b5c8 Manually registered Azure VPN Client: 41b23e61-6c1e-4545-b367-cd054e0ed4b4 Verify the Issuer is set to: https://sts.windows.net/<TenantID>/

    Using an incorrect Audience value may cause authentication to succeed but the connection to fail.

    2. Re-import the VPN Profile

    • Download a fresh VPN profile from the Azure portal
    • Remove any existing profiles from the Azure VPN Client
    • Import the newly downloaded profile

    3. Clear Saved Sign-In Information

    • Azure VPN Client → Configure → Clear Saved Account → Save

    4. Run Azure VPN Client Diagnostics

    • Use Diagnose to verify internet access, client credentials, and server reachability

    5. Update Client and Validate Services

    • Ensure the Azure VPN Client is up to date
    • Temporarily disable any other VPN or network filter software for testing

    For detailed Microsoft troubleshooting guidance, please review the following documentation and verify all the above steps: https://learn.microsoft.com/en-us/azure/vpn-gateway/troubleshoot-azure-vpn-client

    Once you’ve completed these checks, please let us know the outcome so we can assist you further.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

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