SCOM 2025
VPNs

Azure VPN keeps disconnecting

By Sasha Castellanos · November 10, 2026 · 9 min
Azure VPN keeps disconnecting

Practical causes and fixes for Azure VPN disconnects and how to stabilize connections.

Azure VPN keeps disconnecting: why it happens and how to fix it

When an Azure VPN connection drops repeatedly, it can disrupt work, remote access, and business continuity. The reasons vary, from token lifetimes and client behavior to gateway configuration and on-premises device handling. This guide walks you through common causes, how to diagnose them, and practical fixes you can apply without rewriting your entire network.

VPN

Common causes of Azure VPN disconnects

CauseLikelihoodImpactSymptomsAffects VPN GatewayNotes
Idle timeoutmediummediumUnexpected disconnect after inactivityYesFirewall/NAT devices may trigger
VPN tunnel renegotiationmediumhighFrequent re-auth and re-establishmentYesIKEv2 defaults can influence
Bandwidth contentionmediumhighSlownew latency, dropoutsYesUpstream link saturation
MTU/fragmentation issueslowhighVPN path MTU errorsYesPath MTU Discovery failures
IPsec policy mismatchlowhighTunnel down after config changeYesPhase 1/2 mismatch
Certificate expirationlowcriticalTunnels fail to establishYesCheck cert validity
Routing misconfigurationmediummediumAsymmetric routing, dropsYesStatic/dynamic routes misaligned
DNS resolution issueslowmediumClient unable to reach gatewayNoNot core tunnel issue
NAT traversal problemsmediummediumNAT-T fails, keeps reconnectingYesUPNP/ALG interference possible
Expired or invalid shared keylowhigh认证失败YesRotate keys periodically

Compiled November 2026; check the provider's site for current details.

Common causes of Azure VPN disconnects

Token and client lifecycle

  • VPN clients authenticate with Entra ID (Azure AD). If the refresh token or session expires, the client may drop the connection and try to reconnect.
  • One-time or short-lived certificates can also cause sign-out or re-authentication prompts.
  • Outdated Azure VPN Client versions can mishandle token refresh or keepalive signals.

Idle timeouts and long-running sessions

  • Many VPN gateways and clients terminate idle connections after a period of inactivity.
  • If your users leave their devices idle or the connection appears unused, you may see disconnects and immediate reconnects.

Client device behavior

  • When a user locks the computer or the VPN client runs in the background, some configurations drop the tunnel to save power.
  • VPN clients on laptops can behave differently when the device enters sleep or hibernation.

Gateway and VPN tunnel configuration

  • Site-to-Site and Point-to-Site have different idle and keepalive behaviors.
  • Mismatches in IPsec/IKE parameters, phase 1/2 lifetimes, and dead-peer detection settings can cause frequent drops.

Network and device Edge cases

  • Intermediate firewalls or NAT devices can disrupt long-lived VPN sessions.
  • On-premises VPN devices that are not validated or not regularly updated may reset the tunnel.
Azure VPN keeps disconnecting: Checklist

Troubleshooting steps you can take

Start with the client and token lifecycle

  • Verify the Azure VPN Client version in use is up to date.
  • Check the authentication method: if you use certificate-based or token-based, ensure certificates are valid and tokens refresh as expected.
  • Look for sign-in prompts or token expiry messages. Consider increasing token lifetimes if policy allows.

Tackle idle timeouts and keepalive settings

  • Confirm idle timeout values on the VPN gateway. If they’re too low, increase them to allow longer activity before a drop.
  • Review keepalive settings:
  • For OpenVPN-based setups, ensure keepalive parameters are appropriate (examples: keepalive 10 120 or similar values depending on your environment).
  • For IKEv2/IPsec VPNs, ensure Dead Peer Detection (DPD) and rekey timers align between client and gateway.

Check device behavior during lock or suspend

  • If users report disconnects when the device is locked, test with:
  • Disabling power-saving network throttling on Windows/macOS.
  • Ensuring the VPN client remains active during lock (depending on OS policies).
  • Consider policy adjustments to keep the tunnel alive during short lock events if business needs require it.

Validate gateway and VPN configuration

  • Ensure you are using a validated VPN device and supported OS versions for Site-to-Site if applicable.
  • Check that the VPN gateway’s tunings (IKE/ESP, lifetimes, and rekey intervals) match client expectations.
  • Review and, if needed, reconfigure the gateway to align with recommended Microsoft troubleshooting guidance.

Monitor for external network disruptions

  • Look for frequent drops that coincide with router resets, ISP hiccups, or firewall changes.
  • If the issue occurs only at certain sites or for certain users, isolate the network path to identify local problems.

Troubleshooting steps you can take

StepWhat to checkQuick check resultRecommended actionTime impactReversibility
1) Verify gateway configIKE/IPsec settingspass/failAlign with Microsoft docsmediumyes
2) Check certificate validityCert expiry, chainvalid/expiredRenew or replacelowyes
3) Review firewall/NATNAT-T, ports, icmpcompliant/blockedOpen ports, disable ALGmediumyes
4) Analyze logsVPN event logsactionableIdentify phase failureslowyes
5) Test MTUPath MTU, fragmentationok / issueAdjust MTU, enable DFlowyes
6) Validate routingRoutes, BGP/Staticcorrect/incorrectfix routesmediumyes
7) Check bandwidthLink utilizationenough/overloadedscale link, qoshighyes
8) Client healthClient OS, VPN apphealthy/issueupdate client, reconfigurelowyes
9) Retry with defaultsBaseline configmatches defaultsrevert changeslowyes

Compiled November 2026; check the provider's site for current details.

Practical configuration checks and recommendations

  • Keep the Azure VPN Client and all related network adapters up to date.
  • Align token lifetimes and refresh behavior with your Entra ID policy. Ensure refresh tokens don’t expire unexpectedly during a session.
  • Set reasonable idle timeouts on both client and gateway to balance security and continuity.
  • Use consistent IKE/ESP lifetimes across the gateway and clients:
  • For IPsec-based Point-to-Site, ensure phase 1 and phase 2 lifetimes match your gateway’s defaults.
  • For OpenVPN-based configurations, tuning keepalive values can significantly reduce disconnects.
  • Validate devices on the list of supported or validated VPN devices and OS versions to avoid incompatibilities.

A practical comparison: common fixes by scenario

Scenario Common fix Notes
Frequent disconnects after idle Increase idle timeout on gateway and client; enable extended DPD Prevents idle-triggered drops; tailor to security policy
Disconnects at lock or suspend Adjust OS power settings; ensure VPN client stays active during lock Addresses device-level suspension issues
Token refresh expiry Review Entra ID token lifetimes; ensure refresh tokens remain valid for session Align with organizational policy and client behavior
Random drop without user action Update VPN client; verify gateway lifetimes; confirm no intermediate device resets Catch client-side and gateway-side drift
Site-to-site instability Validate device compatibility; synchronize IKE/ESP lifetimes; check Dead Peer Detection Networking boundary issue; may require vendor guidance
Azure VPN keeps disconnecting: Key points

Real-world patterns and what to watch

  • If you see a pattern like “disconnects every hour,” token lifetimes or refresh token expiry are a strong suspect. The Azure VPN client may be attempting a refresh and failing, causing a disconnect.
  • If disconnects cluster around device state changes (lock screen, sleep, resume), focus on OS power management and client resiliency.
  • If sites experience intermittent drops across multiple users, the gateway and site-to-site configuration (lifetime values, DPD, rekey intervals) is a likely factor.

How to test fixes without impacting users

  • Implement a staged rollout: apply a new idle timeout or keepalive setting to a subset of users first.
  • Monitor connection logs for the VPN client, gateway, and any on-prem devices for a week to observe changes.
  • Use a controlled test device to reproduce the issue with lock/unlock, idle, and network changes.

Practical configuration checks and recommendations

AreaRecommended settingTypical pitfallsImpact if correctWhen to applyVerification method
IKE versionIKEv2 preferredmixed client supportsmoother reconalwaystunnel tests
Dead-peer detectEnabledmisconfigured keepalivesfaster failoverwhen instabilitylogs/diag
MSL/DPD timersModerate valuestoo aggressivestable keepalivewhen flapstest stability
NAT-TEnabledALG interferencebetter traversalalwayspacket capture
MTU1350–1400 rangewrong path MTUfewer fragmentationafter MTU issuesping -f -l MTU test
Certificatevalidity 1–3 yrsweak chainsecure authon renewalcert check
PFS / DH groupsStrong groupsvery small groupsstronger PFSoptionalconnect tests
Idle timeoutAdjust to usagetoo long/shortbalance usersif idle disconnectsmonitor activity
BGP/routingConsistent routesasymmetrystable tunnelduring changesroute analysis
Logging levelverbose during triageverbose long-termtrace issuesduring troubleshootinglog review

Compiled November 2026; check the provider's site for current details.

When to escalate or seek Microsoft support

  • If after applying recommended fixes, disconnections persist consistently across multiple users and sites.
  • If logs indicate token or authentication failures that you cannot resolve within policy.
  • If gateway hardware or firmware shows warnings or inconsistencies in the MS troubleshooting guidance.

Recommendation Fixing your VPN when it won't work with at&t

  • Start with the client and gateway lifetimes: ensure token refresh works, update the VPN client, and align idle and keepalive settings.
  • Prioritize resolving lock/suspend related drops by adjusting device power management and client behavior.
  • Verify gateway configurations against Microsoft’s troubleshooting guides for VPN gateway disconnections and ensure you’re using validated devices.
  • If you still see instability, collect comprehensive logs (client VPN logs, gateway logs, and network traces) and open a support case with Microsoft to review token lifetimes, DPD behavior, and rekey parameters.

Final note

Azure VPN disconnects can be caused by a mix of client-side, gateway, and network factors. A systematic approach, starting with authentication lifetimes, then idle/keepalive settings, followed by device and gateway validation, produces steady improvements. By aligning configurations, updating software, and monitoring outcomes, you can reduce the frequency of disconnects and keep users connected more reliably.

VPN prices compared
VPNFrom / monthPlanFree planRefundAlipayWeChatUnionPayCryptoWebsite opens in ChinaTrustpilot
ZoogVPN$2.49/mo27 months: $59.99Yes7 days✓✓✓✓✓ Yes (2.5 s)4.2/5 (195 reviews)
NordVPN$3.49/mo27 months: $94.23No30 days?✗✓✓✗ Blocked4.2/5 (51,628 reviews)
ExpressVPN$3.00/mo28 months: $84No30 days✗✗✓✗✗ Blocked4.4/5 (29,706 reviews)
SurfsharkSee siteSee siteNo30 days✗✗✗✓✗ Blocked4.3/5 (31,823 reviews)
Proton VPN$2.99/mo12 months: $35.88Yes30 days✗✗✗✓✓ Yes (2.5 s)2.1/5 (1,040 reviews)
Astrill VPN$12.50/mo24 months: $300NoSee site✗✗✗✓✗ Blocked1.3/5 (110 reviews)
Private Internet Access$2.03/mo40 months: $81.2No30 days✗✗✗✗✗ Blocked4.2/5 (11,033 reviews)
CyberGhost$2.19/mo28 months: $61.32No45 days✗✗✗✓✗ Blocked4.0/5 (24,178 reviews)
PureVPN$1.69/mo60 months: $101.55No31 days?✗✗✓✓ Yes (2.6 s)4.4/5 (17,994 reviews)
AdGuard VPN$2.99/mo24 months: $71.76Yes30 days✓✗✓✓Official site blocked; our special link opens (2.3 s)4.3/5 (290 reviews)
Mullvad$5.61/mo€5/moNo14 days✗✗✗✓✗ Blocked3.2/5 (192 reviews)
Windscribe$5.75/mo12 months: $69YesSee site✗✗✗✓✗ Blocked4.7/5 (13,355 reviews)
StrongVPNSee siteSee siteNo30 days✓✗✗✗✗ Blocked4.4/5 (2,695 reviews)
LightXtreme 闪连$7.08/mo12 months: $84.99Yes30 days✓✓✓✓✓ Yes (2.3 s)No page

Prices checked 2026-11-10 on each vendor's pricing page (cheapest long plan, USD). Check the vendor's checkout for the final price.

Payment methods checked 2026-11-10 on each vendor's payment pages: all 14 take cards and PayPal; ✗ = not listed, ? = the vendor's own pages disagree.

China access: whether the official website opens from mainland China networks (tests the website only, not the VPN connection). Last checked 2026-11-11 04:07 Beijing time.

Trustpilot score and review count checked 2026-11-10.

© 2026 SCOM 2025 Media LLC. All rights reserved.