An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
Hi @ Sumit Singh,
Welcome to Microsoft Q&A Platform.
If you are unable to connect to the VPN from a specific machine but can connect successfully from another machine, this likely indicates a local machine issue.
Note: The VPN connection is working on one specific machine but not on another. This indicates that the issue is likely related to the particular machine rather than the Azure VPN Gateway.
Option 1: Test with a Different Network
Try connecting to the VPN using a different network, such as a mobile hotspot.
- If it works immediately, the issue is likely caused by your local network blocking the connection.
Option 2: Verify Time Synchronization
Since you are using Microsoft Entra ID authentication, ensure that the system time is properly synchronized.
Azure AD authentication can fail silently if the time skew exceeds 5 minutes.
Option 3: Remove and Re-import the VPN Profile
Sometimes the Azure VPN Client profile may become corrupted.
Remove the existing VPN connection.
- Download a fresh client profile from Azure.
- Re-import the new profile and attempt to connect again.
Option 4: Reset the Network Stack.
On the affected machine, run the appropriate network reset commands and then reboot the system.
netsh int ip reset
netsh winsock reset
ipconfig /flushdns
Option 5: Reinstall Network Adapters
Open File Explorer (Windows Key + E).--->Right-click on “This PC” and select “Manage.”---> In the Computer Management window, click on **“Device Manager.”--->Expand Network Adapters.”--->Uninstall all adapters that start with WAN Miniport.--->Right-click each one and select “Uninstall.”
After uninstalling all WAN Miniport adapters, go to the top menu and select “Scan for hardware changes.”
The adapters will automatically reinstall without requiring a restart.
After completing these steps, please try connecting to the VPN again from the affected machine.
If above does not help, you can enable Azure VPN Diagnostic Logs to help pinpoint the exact issue. You can take a look at P2SDiagnosticLog which can help you determine the cause of the issue.
Additionally, you can also set-up a packet capture for you VPN Gateway to help pinpointing the exact issue.
If the above steps did not help resolve your issue, please feel free to share the details in a private message so we can proceed with further troubleshooting over a Teams call. I am happy to connect with you on Teams to investigate and resolve the issue.
Please
and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.