How to Link an On-Premises Folder to SharePoint Without Syncing
Question details
The user needs a way to create a navigation link in SharePoint or Teams that points to an on-premises folder without copying or syncing the actual files to the cloud.

- Product
- Microsoft SharePoint
- Device & OS
- not provided
- Scenario
- Accessing local file servers from cloud collaboration platforms to maintain data compliance without migrating files.
- Observed behavior
- SharePoint's native 'New > Link' feature is designed for online URLs and fails to open local file-server paths correctly in web browsers.
Ensure you have the exact UNC path for your on-premises server (e.g., \\ServerName\SharedFolder) and verify that you are connected to the local network or VPN required to access it.
Use Microsoft Teams to Open Local Network Links
While the SharePoint web interface blocks local file links, using the Teams desktop app connected to your SharePoint library can trigger Windows File Explorer to open local paths.
Modern web browsers strictly block web pages from opening local file paths (file://) for security reasons. Because of this limitation, clicking a link to an on-premises folder directly in SharePoint web usually does nothing or results in an error.
However, if your SharePoint document library is connected to a Microsoft Teams channel, the Teams desktop application can act as a bridge to open the local network folder directly in Windows File Explorer.
Navigate to the Microsoft Teams channel that is connected to your SharePoint document library.
Go to the 'Files' tab, click on the 'New' dropdown menu, and select 'Link'.
In the URL field, enter the local UNC path to your on-premises folder (for example, \\ServerName\ComplianceDocs). Give the link an appropriate name and save it.
Click the newly created link from within the Teams desktop application. This will prompt Windows File Explorer to open directly to the on-premises file server location.

Manage Local and Cloud Documents Seamlessly with WPS Office
Struggling with complex SharePoint setups and browser security limits for local servers? WPS Office offers a powerful, lightweight alternative that lets you effortlessly access, edit, and save files directly to on-premises network drives or cloud storages without forced syncing.
- 1. Download WPS Office: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install the Software: Run the installer and follow the simple on-screen instructions to set up the office suite.
- 3. Access Local Server Files: Open WPS Office, go to 'Open', and browse your connected network drives to edit on-premises documents seamlessly.

Frequently Asked Questions
Why does SharePoint block links to my local network drives?
Modern web browsers enforce strict security policies that prevent websites (including SharePoint) from accessing local or network file systems. Links starting with 'file://' or '\\' are blocked to protect your device from malicious scripts accessing your local data.
Can I use OneDrive to sync a shortcut to an on-premises folder?
No. If you create a Windows shortcut (.lnk file) to a network drive and place it inside a OneDrive or SharePoint synced folder, the system will only sync the tiny shortcut file to the cloud, not the actual folders or files it points to.
Is there any way to make local links work in the SharePoint web browser?
It is technically possible but requires IT administration. System administrators can configure specific group policies (such as IntranetFileLinksEnabled for Microsoft Edge) or deploy managed browser extensions to explicitly allow local file links for trusted SharePoint sites.




