An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
Hello chathulankagamage
From migration workflow, this typically happens if the VPN gateway configuration wasn’t fully updated or saved before downloading the new client profile, or if the client is still using a profile generated when the gateway still had the old audience. The gateway and client configurations must consistently use the same Audience value.
Also, you must download a fresh P2S client configuration after updating the gateway and re‑import it to the Azure VPN Client
The behavior is expected if the Audience migration isn’t applied consistently on both the gateway and the client. According to Microsoft documentation, when moving from a manually registered Azure VPN Client to the Microsoft‑registered client (c632b3df-fb67-4d84-bdcf-b95ad541b5c8), the P2S VPN gateway and the client profile must both be updated to the new Audience value and a new VPN client configuration package must be downloaded and imported.
NOTE: If the gateway or client still references the old App ID (for example 41b23e61-6c1e-4545-b367-cd054e0ed4b4), tunnel negotiation can fail even though authentication succeeds. Additionally, the Issuer URL must include the required trailing slash and the gateway can only support one Audience value at a time.
- Run the built-in diagnostics • In the Azure portal, go to your VPN gateway → Troubleshooting → Point-to-site connection checks. • Look for any errors under P2S-error or control-plane failures—this can confirm if it’s a token/authority mismatch.
- After you update the Tenant/Audience in your P2S config, you must click “Download VPN client” and import the new package (Windows) or extract the .ovpn (Linux). • Don’t manually tweak any values in the downloaded XML/OVPN—let the client import the exact file.
Can you please update us if the action plan provided was helpful?
Should there be any follow-up questions or concerns, please let us know and we shall try to address them.