Fix SharePoint PDF Viewer Links Showing Blank or Black Pages
Question details
Users need a solution to correctly generate valid SharePoint PDF viewer links because manually built links often fail to render.

- Product
- Microsoft SharePoint
- Device & OS
- not provided
- Scenario
- Generating or sharing URL links to view PDF files directly in the SharePoint web viewer.
- Observed behavior
- The SharePoint PDF viewer loads a blank or black page when the ID and parent URL parameters have incorrect letter casing.
Ensure you have the exact URL parameter string that is failing and verify that your browser cache is cleared so it does not load a previously failed link state.
Correct the Letter Casing in URL Parameters Manually
Since the ID and parent parameters are strictly case-sensitive, manually ensuring the correct casing will bypass the blank page issue.
The new SharePoint PDF viewer enforces strict case sensitivity for URL parameters. If you are constructing links manually or using a custom script, any mismatch in capitalization will cause the file to fail to load.
Copy the SharePoint PDF link that is showing a blank or black screen and paste it into a plain text editor like Notepad.
Check the URL query string for the parameters starting with '?id=' or '&parent='.
Ensure that the casing of the directory paths and identifiers perfectly matches the exact structural casing found in your SharePoint environment.
Paste the updated URL back into your browser to verify that the PDF document loads correctly in the viewer.

Support the Official Feature Request
An official generator for 'People with existing access' links is pending Microsoft's implementation. Upvoting the feedback helps prioritize the fix.
Read and Edit PDFs Seamlessly with WPS Office
Avoid web-based PDF viewer glitches entirely. Sync your SharePoint libraries to your desktop and use WPS Office for a robust, native PDF reading and editing experience without relying on complex URL parameters.
- 1. Download WPS Office: Visit the official WPS website and download the free desktop application for your operating system.
- 2. Sync SharePoint locally: Use OneDrive to sync your SharePoint document library directly to your computer's local file explorer.
- 3. Open PDFs natively: Double-click the synced PDF files to open them instantly in WPS Office, completely bypassing browser URL limitations.

Frequently Asked Questions
Why does my SharePoint PDF link open a black screen?
This often happens because the new SharePoint PDF viewer enforces strict case-sensitivity for the 'ID' and 'parent' URL parameters. If the casing is incorrect, the viewer fails to locate and render the file.
Is there a Microsoft Graph API endpoint to generate these PDF links?
Currently, there is no official Microsoft Graph service that natively generates 'People with existing access' links with guaranteed proper parameter casing. This issue has been submitted as feedback to Microsoft.
How can I avoid URL issues when viewing SharePoint PDFs?
You can sync your SharePoint document library to your local file explorer using OneDrive. Once synced, you can open the PDFs using a native desktop application like WPS Office, completely avoiding web viewer URL errors.




