I've set up Azure VPN through Intune, and it seems like many of our users are experiencing disconnects from the VPN roughly every hour. After some investigation, I found that this disconnect often occurs when the device is syncing with Intune. I confirmed this by connecting to the VPN and then running a sync in the company portal, which causes the VPN to show as disconnected. I couldn't find any solid info or solutions online about this issue, so I'm looking for any advice or insights from anyone who might have dealt with a similar situation.
4 Answers
We've hit this issue too. Someone mentioned that the Azure VPN client prefers a specific profile layout. If the profile is detected as changed during the Intune sync, it gets redeployed, which could be causing the disconnects. It's worth checking if altering the layout helps!
Have you thought about using a mouse jiggler? It's a quirky fix but might help keep your session alive!
It sounds like the sync process with Intune might be running compliance scripts that inadvertently affect your VPN connection. Have you checked if there's anything in those scripts that could be causing the VPN to drop? You might want to dive into the details to see if something's set to trigger during syncing.
I went through the scripts but couldn't find anything that would impact it.
What authentication method are you using? According to Microsoft, the Azure VPN client may disconnect due to an expired or invalid refresh token from Entra ID. This refresh token typically expires every hour. You might want to collaborate with your Entra tenant admins to see if they can extend that token's expiration time with conditional access policies.

Did they mention what the correct layout is?