Fix PDF Links to Network Files on SharePoint Online
Question details
Restore access to files linked from a PDF after moving it to SharePoint Online.

- Product
- SharePoint Online and PDF viewers
- Device & OS
- not provided
- Scenario
- A PDF contains links to Word and Excel files on a local network share and is uploaded to a new SharePoint Online site.
- Observed behavior
- The links work when the PDF is opened in Edge from the older site, but do nothing when the PDF is opened from SharePoint Online or Microsoft 365.
Identify the network files referenced by the PDF and check whether you have permission to upload them to the new SharePoint site. If possible, locate the PDF's editable source document or a PDF editor that can change link destinations.
Move the linked files to SharePoint and update the PDF links
Use HTTPS links to files in SharePoint or OneDrive for a more reliable way to share the PDF.
Browsers may block links from an online PDF to local files or network shares. SharePoint HTTPS links avoid relying on access to a local network path, but recipients still need permission to open the files.
Open the target SharePoint document library and select Upload > Files to add the Word and Excel files referenced by the PDF.
For each uploaded file, select Share or Copy link. Choose a sharing setting that allows the intended recipients to access the file, then copy the link.
In the PDF's source document or a PDF editor, edit each hyperlink and replace the network path with the corresponding SharePoint HTTPS link. Export or save the updated document as a PDF.
Upload the updated PDF to SharePoint, open it in Edge, and select each link. Also test a downloaded copy in Acrobat and confirm that intended recipients can open the linked files.

Check whether the PDF viewer is blocking network links
Use this diagnostic approach to identify whether the link format or viewer is causing the change in behavior.
Work with linked Office documents in WPS Office
WPS Office is a free, lightweight alternative for working with documents, spreadsheets, and PDFs. Its familiar interface and Microsoft Office format support make it easy to move existing files into your workflow. SharePoint and browser security settings still control access to network links.

Frequently Asked Questions
Why did the PDF links work on the old site but not in SharePoint Online?
The older site and SharePoint Online may open the PDF under different browser security rules. Links to file:// URLs or network shares can be blocked when selected from an online PDF.
How can I tell whether a PDF link points to a network share?
Open the PDF in a PDF editor and inspect the hyperlink destination. A UNC path begins with two backslashes, such as \\server\share, while a file URL begins with file://.
Will uploading the files to SharePoint make them accessible to everyone?
Not automatically. Use Share or Copy link on each file and choose a sharing setting appropriate for the intended recipients. They may also need to sign in or request access.
Can I test the links without changing the PDF?
Yes. Open the PDF in Edge from SharePoint, then download it and test the same links in Acrobat. Differences can help identify viewer restrictions, although network access and security policies may still block the links.




