A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
Dear @Edward,
I understand how frustrating it is when your Excel or Word links break after moving files to the cloud. This is a common challenge when transitioning from local environments to SharePoint Online. SharePoint Online cannot maintain a live, active sync to a file stored on a local shared drive behind a VPN.
This occurs because SharePoint Online is a cloud-based service (using HTTPS protocols), while your shared drive uses a local network path (such as \Server\Folder or a mapped drive like Z:). When a file is opened in a web browser or the Office cloud app, it has no way to "reach back" through your local VPN to find that private network address.
To resolve this and keep your data connected, I recommend one of the following approaches:
- Move Both Files to SharePoint: The most reliable way to maintain links is to migrate the source file from the shared drive into the same SharePoint site (or another SharePoint library). Once both files are in the cloud, Excel uses Link Base logic to update the references to URL-based paths that work for all users with permissions.
- Use the "Open in Desktop App" Feature: If a user is connected to the VPN and opens the SharePoint file using the Desktop App (instead of the browser), the local Excel engine may sometimes resolve the link if the drive is mapped identically on their machine. However, this is prone to breaking and is not considered a stable long-term solution.
- Manage permissions: Ensure all users who open the document from SharePoint have the appropriate permissions to access the linked files in the cloud.
This approach aligns with how Microsoft 365 is designed for collaboration, allowing users to access and co-author documents from anywhere without relying on a VPN.
You can find more detailed information on how to manage these connections in the official documentation:
Overview of external sharing in SharePoint and OneDrive in Microsoft 365 - SharePoint in Microsoft …
Configuration for Microsoft Offices Online or Office Online Server authentication with external use…
Network location-based access to SharePoint and OneDrive - SharePoint in Microsoft 365 | Microsoft …
I hope this provides a clear path forward. Please let me know if you have any other questions.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment"
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.