Fix OneDrive Connectivity When Connected to a VPN
Question details
OneDrive and other online applications lose connectivity when a VPN is enabled but work when it is disconnected.

- Product
- Microsoft OneDrive
- Device & OS
- not provided
- Scenario
- The user wants to access and sync OneDrive files while connected to a VPN.
- Observed behavior
- OneDrive and other online applications may stop connecting when the VPN is active and resume working after it is disconnected.
Identify the VPN service or administrator and note any OneDrive error messages. If the VPN is required by your organization, ask your administrator before disconnecting it or changing its settings.
Compare OneDrive Connections With and Without the VPN
Use this test to determine whether the VPN connection is associated with the connectivity problem.
Connect to the VPN, then open OneDrive and try to access or sync a file. Note any error message and whether other online applications also fail.
If permitted, disconnect the VPN in its app and repeat the same OneDrive test. Reconnect the VPN afterward if your organization requires it.
If OneDrive works only when the VPN is disconnected, share both test results and any error messages with the VPN provider or administrator.

Check VPN DNS and Microsoft 365 Traffic Restrictions
Use this approach if OneDrive works without the VPN but cannot connect while the VPN is active.
Work With Office Files in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface and compatibility with common Microsoft Office formats, making it easy to move your document work. It does not fix OneDrive or VPN connectivity; cloud access may still depend on your network.

Frequently Asked Questions
Why does OneDrive work only when my VPN is off?
The VPN may be affecting DNS resolution or restricting Microsoft 365 traffic. Compare OneDrive access with and without the VPN, then give the results to your VPN provider or administrator.
What should I ask my VPN administrator to check?
Ask the administrator to check VPN DNS settings, traffic restrictions, and access to the Microsoft 365 endpoints used by OneDrive. Include any error messages and the results of your connection tests.
Should I change split-tunneling settings myself?
Only change VPN settings if you are authorized to do so. For a managed work or school VPN, ask the administrator whether a split-tunneling or traffic configuration change is appropriate.
What if OneDrive still fails after I disconnect the VPN?
Check whether other websites and online applications connect, and check OneDrive service status. A failure both with and without the VPN suggests there may be another connectivity or service issue.




