Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.
- Looks like the updated version (3.4.0.0) might be the reason for this issue. Please refer: https://learn.microsoft.com/en-us/azure/vpn-gateway/azure-vpn-client-versions#azure-vpn-client---windows
- The reason might be the current refresh token in the Azure VPN client, acquired from Entra ID, has expired or become invalid. This token is renewed approximately every hour. Entra tenant administrators can extend the sign-in frequency by adding conditional access policies. Please work with your Entra tenant administrators to extend the refresh token expiration interval. For your reference: https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-vpn-faq#vpn-disconnect
- If you are getting any of the below error, you need to reconnect. This triggers an interactive sign-in process in Microsoft Entra that issues a new refresh token and access token.
Your authentication with Microsoft Entra is expired. You need to re-authenticate in Entra to acquire a new token. Authentication timeout can be tuned by your administrator.
or
Your authentication with Microsoft Entra has expired so you need to re-authenticate to acquire a new token. Please try connecting again. Authentication policies and timeout are configured by your administrator in Entra tenant.
For your reference: https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-troubleshoot-vpn-point-to-site-connection-problems#cause-15 - The refresh token can show as expired/invalid due to several reasons. You can check User Entra sign-in logs for debugging. For your reference: https://learn.microsoft.com/en-us/entra/identity/monitoring-health/concept-sign-ins
- Refresh tokens can be revoked at any time, because of timeouts and revocations. Your app must handle revocations by the sign-in service gracefully by sending the user to an interactive sign-in prompt to sign in again. For your reference: https://learn.microsoft.com/en-us/entra/identity-platform/refresh-tokens#token-expiration
If you have any further queries, do let us know. If the answer is helpful, please click "Accept Answer" and "Upvote it."
Thanks,
Sai Prasanna.