SharePoint Document Issues

How to Link an On-Premises Folder to SharePoint Without Syncing

Natalie TaylorNatalie Taylor Nov 2, 2026 870 views

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.

How to Link an On-Premises Folder to SharePoint Without Syncing
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.
Before you start

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.

Solution 1Recommended

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.

1
Open Teams Channel

Navigate to the Microsoft Teams channel that is connected to your SharePoint document library.

2
Create a New Link

Go to the 'Files' tab, click on the 'New' dropdown menu, and select 'Link'.

3
Enter the Network Path

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.

4
Access via File Explorer

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.

Use Microsoft Teams to Open Local Network Links
Web Browser Limitation: This workaround relies on the Microsoft Teams desktop client. If users attempt to click the same link via the SharePoint web interface or the web version of Teams, the browser will likely block it.
Free Microsoft Office alternative

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. 1. Download WPS Office: Visit the official WPS Office website and download the free installation package for your operating system.
  2. 2. Install the Software: Run the installer and follow the simple on-screen instructions to set up the office suite.
  3. 3. Access Local Server Files: Open WPS Office, go to 'Open', and browse your connected network drives to edit on-premises documents seamlessly.
Free and lightweight office suite with a fast installation processFully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx)Easily open and edit files directly from local on-premises network drives and serversFamiliar tabbed interface allows for quick adoption with zero learning curve
microsoft office alternative - wps office

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.