How to Exclude OneDrive from a VPN with Split Tunneling
Question details
The user needs to configure their VPN split tunneling to correctly bypass Microsoft OneDrive traffic.

- Product
- OneDrive
- Device & OS
- not provided
- Scenario
- Attempting to exclude OneDrive from a VPN connection using application-based split tunneling.
- Observed behavior
- Adding OneDrive executable files to the VPN split-tunneling list fails to bypass the VPN because OneDrive utilizes multiple background processes and Microsoft 365 endpoints.
Verify that your VPN provider supports split tunneling by IP address or destination domain, and ensure you have administrative access to modify your VPN settings.
Configure Split Tunneling by Destination Domains or IP Ranges
Routing traffic based on specific Microsoft 365 domains and IPs ensures all OneDrive background services are excluded from the VPN.
Because OneDrive relies on a variety of background services and Microsoft endpoints, excluding a single application executable (.exe) is usually insufficient. Advanced VPN configurations allow you to bypass traffic based on the actual network destination.
Launch your VPN client and navigate to the settings menu. Look for options labeled 'Split Tunneling', 'Advanced Routing', or 'Whitelisting'.
Change the split tunneling method from 'Application-based' to 'Domain/IP-based' exclusion if your client supports it.
Input the official Microsoft 365 and OneDrive destination domains or IP address ranges into the exclusion list. You can find these updated ranges in the official Microsoft Endpoint documentation.
Save your new routing rules, disconnect from the VPN, and reconnect to ensure the updated policies take effect.

Seek Vendor Support and Microsoft Q&A Assistance
If standard configurations fail, reach out to specialized support channels for advanced networking troubleshooting.
Try WPS Office for Seamless Cloud Integration
If you are struggling with complex Microsoft networking and syncing issues, consider switching to WPS Office. It provides an excellent, free alternative to Microsoft Office with its own hassle-free cloud syncing.
- 1. Download WPS Office: Visit the official WPS website to download the free installation package for your operating system.
- 2. Install and Sign In: Run the installer, open the application, and create a free account to activate your built-in WPS Cloud storage.
- 3. Open Your Files: Drag and drop your existing Microsoft Office documents into WPS to begin editing immediately with full compatibility.

Frequently Asked Questions
Why does excluding the OneDrive executable from my VPN fail to work?
OneDrive uses multiple background processes and connects to various Microsoft 365 endpoints. Excluding just the main executable file misses these background network services, meaning much of the traffic is still routed through the VPN.
Where can I find the IP addresses and domains for OneDrive?
Microsoft regularly updates the list of necessary URLs and IP address ranges for Microsoft 365 and OneDrive. You can find the complete, up-to-date list by searching for 'Microsoft 365 URLs and IP address ranges' in Microsoft's official documentation.
Does every VPN client support split tunneling by IP or domain?
No. While many enterprise and advanced consumer VPNs support IP or domain-based split tunneling, some basic VPN clients only allow you to exclude specific applications. Check your VPN's feature list or contact their support team for confirmation.




