How to Fix OneDrive or Teams PDF Access Denied Errors
Question details
Users encounter an 'Access Denied' or 'link is unavailable' error when trying to open shared PDF files in OneDrive or Microsoft Teams.
- Product
- Microsoft OneDrive and Teams
- Device & OS
- not provided
- Scenario
- A recipient attempts to open a PDF file or attachment shared via a OneDrive or Teams link.
- Observed behavior
- The system blocks access, stating that the signed-in account is not included in the file's security list, even for files attached from local drives.
Verify that the recipient is logged in to Microsoft 365 with the exact email address the file or link was originally shared with, as cached browser accounts often cause identity conflicts.
Reset File Sharing Permissions via Manage Access
The most effective fix is to remove the recipient from the current permissions list and generate a fresh, explicit sharing link.
Often, backend permission sync issues in OneDrive or SharePoint cause explicit links to fail. Removing the user and re-inviting them resets their access token.
Locate the affected PDF file in your OneDrive or SharePoint folder, right-click it, and select 'Manage Access'.
Check if the recipient's name is listed in the permissions section. If they are, remove their access by clicking the dropdown next to their name and selecting 'Stop sharing' or 'Remove'.
Click the 'Share' button again. Select the gear icon to modify link settings, and choose 'Specific people' or 'People in your organization'.
Enter the recipient's email address, apply the changes, and send the new sharing link to the user.
Verify Account Identity and Test Alternative Formats
Ensure the issue is not caused by conflicting cached accounts or format-specific restrictions by testing the environment.
Fix Local Attachment Permission Issues in Teams
If files attached from local drives (like drive D) show access errors in Teams, upload them to the cloud manually before sharing.
Use WPS Office for Seamless File Sharing and PDF Management
Avoid complex Microsoft 365 permission errors by switching to WPS Office. It is a free, lightweight, and highly compatible alternative that includes a powerful built-in PDF editor and straightforward cloud sharing.
- 1. Download WPS Office: Visit the official WPS website and download the free WPS Office suite to your device.
- 2. Open your PDF file: Launch WPS Office and drag your PDF or Microsoft Office file directly into the workspace to start editing.
- 3. Share via WPS Cloud: Use the built-in 'Share' button to generate a secure, accessible link for collaborators without complicated permission hurdles.

Frequently Asked Questions
Why does OneDrive say my account is not in the security list?
This typically happens if you are signed into your browser or Office application with a different Microsoft account than the one the file was explicitly shared with. Using a private browsing window can help confirm this.
Can I share a PDF in Teams without triggering an access denied error?
Yes. Instead of attaching a file directly from a local drive to a private chat, upload the PDF to a Teams channel's 'Files' tab first. This automatically grants access to all members of that Teams channel.
How do I fix the 'link is unavailable' error for 'Anyone with the link' sharing?
Your organization's SharePoint or OneDrive administrator may have disabled anonymous external sharing. If this is the case, the 'Anyone' option will fail, and you will need to use 'Specific people' or 'People in your organization' when creating the sharing link.




