The answer is Microsoft doesn't want to deal with it apparently.
Re-canceling my support plan.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
This is related to Azure but IS a windows client issue.
Azure VPN Client v4.0.4.0 - Installed through Microsoft App Store,
See Question# 5593064, We have done all troubleshooting of the VPN hosting out of Azure. All of the network verification locally and in Azure.
The VPN server works
It can be connected to from VM hosts in Azure.
It can be connected to from VMs running on client machine locally.
It CAN't be connected to from the local host machine. User is verified, then "A specified profile cannot be found" is thrown. Using exact same azurevpnconfig.xml downloaded from the Point-to-site configuration page of the VPN setup in Azure.
Client VPN troubleshooter "Run Prerequisites Test" is successful.
Client CAN connect, but can't finalize the connection after authentication with EntraID.
VPN uses OpenVPN (SSL) with Azure Active Directory Authentication type.
The client is a windows 11 install ~ 2month old.
We have validated the Azure VPN Firewall rules exist.
We have test, also with the firewall turned off.
No other errors or information is available from the vpn client application than shown below.
Log from Failing machine
11/10/2025 9:35:58 AM: Dialing VPN connection vnet-vnetexample-dev-example-vnet-rl87wj, Status = A specified profile cannot be found
11/10/2025 9:35:58 AM: Success Received Microsoft Entra Credential Token. User: REDACTED
11/10/2025 9:35:39 AM: Requested AccountsManager dialog.
11/10/2025 9:35:39 AM: Dialing VPN connection vnet-vnetexample-dev-example-vnet-rl87wj
11/10/2025 9:35:38 AM: Saving VPN connection vnet-vnetexample-dev-example-vnet-rl87wj, Status = Success (0)
11/10/2025 9:35:38 AM: Refreshing VPN connections
11/10/2025 9:35:36 AM: Picked File C:\Users\REDACTED\Downloads\vngw-vnetexample-dev-maintenance-pmdz32\AzureVPN\azurevpnconfig.xml
11/10/2025 9:35:29 AM: Refreshing VPN connections
11/10/2025 9:35:29 AM: Deleting VPN connection vnet-vnetexample-dev-example-vnet-rl87wj, Status = Success (0)\
Log from VM running on Failing machine
11/10/2025 6:11:22 AM: Saving User Account.
11/10/2025 6:11:22 AM: Dialing VPN connection vnet-vnetexample-dev-example-vnet-rl87wj, Status = Success
11/10/2025 6:11:19 AM: Success Received Microsoft Entra Credential Token. User: REDACTED
11/10/2025 6:10:42 AM: Requested AccountsManager dialog.
11/10/2025 6:10:42 AM: Dialing VPN connection vnet-vnetexample-dev-example-vnet-rl87wj
11/10/2025 6:10:31 AM: Saving VPN connection vnet-vnetexample-dev-example-vnet-rl87wj, Status = Success (0)
11/10/2025 6:10:31 AM: Refreshing VPN connections
11/10/2025 6:10:30 AM: Picked File C:\Users\REDACTED\Desktop\azurevpnconfig.xml
11/10/2025 6:08:28 AM: Application Initialized
The answer is Microsoft doesn't want to deal with it apparently.
Re-canceling my support plan.
Any new information ideas on this?
As far as I can tell we need better logging from the client. It gives no details that are useful. A verbose flag on it's connection flow would be nice and likely answer the question.
Hello marc.caron,
I really appreciate how clearly you’ve described the issue — that makes it much easier to pinpoint the cause. From your logs, the Azure VPN gateway itself is working fine and authentication with Entra ID succeeds. The problem lies on the Windows 11 host: the Azure VPN Client isn’t registering the imported profile correctly, which is why you see “A specified profile cannot be found” even though the VM on the same machine connects without trouble.
The fix usually comes down to cleaning up and re‑importing the profile. Try deleting all existing VPN connections in the client, then manually remove leftover files under:
Code
%LocalAppData%\Packages\Microsoft.AzureVpn_8wekyb3d8bbwe\LocalState
After that, re‑import the XML while running the client as Administrator. Also make sure you’re signed in under a single Windows account context, and check that the OpenVPN TAP driver is installed correctly. If you’re still on version 4.0.4.0, update or reinstall the Azure VPN Client from the Microsoft Store, as some builds of Windows 11 have known issues with this release.
Let me know how it goes, and if this answer helps, feel free to hit “Accept Answer” so others can benefit too 😊
T&B,
Domic.
AI answer
The error message "A specified profile cannot be found" typically indicates that the Azure VPN Client is unable to locate the specified VPN profile in the configuration. Here are some steps you can take to troubleshoot this issue:
azurevpnconfig.xml file again. Make sure that the file is not corrupted and is the correct version.Certificates - Current User\Personal\Certificates. If it's missing, you may need to reinstall it.If these steps do not resolve the issue, consider checking the Azure portal for any logs or additional error messages that might provide more context on the failure.