An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
Hi Matt,
When every P2S user fails at the same moment, with nothing changed on your side, I'd look at the gateway's root certificate migration before anything on the clients.
Likely cause
Azure is rotating the root certificate that VPN gateways use for P2S. During the transition the gateway presents a server certificate signed by the new (G2) root, and clients need an updated VPN client profile that carries the new root information. Microsoft notes this affects all P2S clients, not only certificate auth, and that in some cases the client OS can distrust the previous root before you have even received the update notice. Clients still using the old profile then can't complete the tunnel, which matches "all users, from one point in time, regardless of network".
Also worth noting: the event you posted (a connection named vnet-unity4 dialed by SYSTEM, error 628) comes from the built-in Windows VPN client with your IKEv2 profile. The Azure VPN Client app only uses the OpenVPN tunnel type, so reinstalling or updating that app won't change an IKEv2 connection.
What I'd do
- Generate a fresh client profile package from the gateway (it must be downloaded now, not reused from an old zip):
- Portal: Virtual network gateway > Point-to-site configuration > Download VPN client
- or CLI:
az network vnet-gateway vpn-client generate --resource-group <rg> --name <gateway-name> --processor-architecture Amd64 - or PowerShell:
New-AzVpnClientConfiguration -ResourceGroupName "<rg>" -Name "<gateway-name>" -AuthenticationMethod "EapTls"
- On one test machine, install the G2 root certificate included in the new package if it isn't already present, then install the new profile from the
WindowsAmd64folder. The new profile does not overwrite an existing one, so remove the oldvnet-unity4connection first or you may keep dialing the stale profile. - Confirm the client certificate is still in Current User\Personal\Certificates and valid, then connect.
- If that works, push the new package to all users with your usual endpoint management tool.
If it still fails with the new profile
- In the portal, check the root certificate under Point-to-site configuration is still present and not revoked or expired; if in doubt, delete and re-upload the public key (Base64, no spaces).
- Make sure there is no UDR with a default route on the GatewaySubnet.
- If you need users back immediately and the cause is the client distrusting the old root, Microsoft's guidance is to install the previous root certificate on the client as a stopgap.
References:
- About gateway root certificate migration and P2S VPN profile updates
- How to update a P2S VPN client profile
- Configure P2S VPN clients for certificate authentication on Windows
- Troubleshoot point-to-site connection problems
If you post what you see after trying the new profile on one machine, I can help narrow it down further.