Hello Stuart P
In order to determine the exact cause, you can try to run a packet capture on Azure VPN which can help you get an idea if anything is causing this issue.
You can follow this documentation to set-up a packet capture on Azure VPN gateway.
- Since your Draytek routers are not officially supported, ensure that you are having a validated devices per Azure’s compatibility guidelines. Check whether you are using a validated VPN device and operating system version. If the VPN device is not validated, you may have to contact the device manufacturer to see if there is any compatibility issue.
- Make sure that the VPN device is correctly configured. For more information, see Editing device configuration samples.
- 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
- Ensure that the keep-alive settings on your Draytek routers are configured correctly. Adjusting the keep-alive interval can help maintain the connection. For example, set the keep-alive interval to a lower value (e.g., 10 seconds) to ensure that the connection remains active.
- Make sure that the virtual network, subnets and, ranges in the Local network gateway definition in Microsoft Azure are same as the configuration on the on-premises VPN device. Also, Verify that the Security Association settings match.
- The virtual network gateway has limit of 200 subnet Security Association Limitations If the number of Azure virtual network subnets multiplied times by the number of local subnets is greater than 200, you might see sporadic subnets disconnecting.
- If the Internet facing IP address of the VPN device is included in the Local network gateway address space definition in Azure, you may experience sporadic disconnections.
I hope this has been helpful!
If the above is unclear or you are unsure about something, please add a comment below.