Fix SharePoint Document ID PDF Links Downloading Instead of Opening in Browser
Question details
Users need PDF files accessed via SharePoint Document ID links to open directly in the browser viewer rather than downloading automatically.
- Product
- SharePoint / Microsoft 365
- Device & OS
- not provided
- Scenario
- Clicking a Document ID link to view a PDF file stored in a SharePoint document library.
- Observed behavior
- The PDF file is downloaded to the local device instead of opening in SharePoint's built-in browser viewer, causing issues particularly when local downloads are blocked by policy.
Ensure you have Site Owner or Administrator permissions to view and modify document library settings, and verify that your organization does not have specific policies blocking browser-based PDF viewing.
Verify Document Library Advanced Settings
Ensure the document library is configured to open documents in the browser rather than forcing a download to the client application.
SharePoint libraries have specific settings that dictate how files behave when clicked. If set to 'Open in the client application', PDFs may trigger a download prompt.
Go to the affected SharePoint document library, click the Settings (gear) icon in the top right, and select 'Library settings'.
Click on 'More library settings' and then select 'Advanced settings'.
Scroll down to 'Opening Documents in the Browser' and change the selection to 'Open in the browser'. Click 'OK' to save your changes.
Test Alternative Browsers and Private Modes
Rule out browser cache conflicts, corrupted cookies, or problematic extensions that might be intercepting the PDF viewer.
Escalate to Microsoft 365 Support
If the issue persists across all browsers and sites, it may require backend investigation by Microsoft to fix the Document ID routing.
Manage and Edit PDFs Seamlessly with WPS Office
If SharePoint's built-in viewer is causing trouble and forcing downloads, consider using WPS Office as your default local application. WPS Office provides a lightweight, free, and highly compatible alternative to Microsoft Office, featuring a robust built-in PDF reader and editor that ensures seamless migration with a familiar user interface.
- 1. Download and Install WPS Office: Visit the official WPS website to download and install the free WPS Office suite on your device.
- 2. Open the Downloaded PDF: Locate the PDF file downloaded from SharePoint, right-click it, and select 'Open with WPS Office'.
- 3. View and Annotate: Use the integrated WPS PDF tools to read, highlight, annotate, or edit the document directly.

Frequently Asked Questions
Why do SharePoint PDF links force a download instead of opening in the browser?
This usually happens due to document library advanced settings being configured to 'Open in the client application', specific browser download settings, or a backend routing issue with SharePoint Document IDs.
How do I force PDFs to open in the browser in SharePoint?
Navigate to your Document Library settings, select 'Advanced settings', and under 'Opening Documents in the Browser', change the default setting to 'Open in the browser'.
What is a SharePoint Document ID?
A Document ID is a unique, static identifier assigned to a file in SharePoint. It provides a permanent link that continues to work even if the document is moved or renamed within the site collection.
Does clearing browser cache help with PDF download issues?
Yes, clearing your browser cache or testing the link in an Incognito/InPrivate window can resolve issues caused by corrupted cookies or conflicting browser extensions intercepting the PDF viewer.




