Troubleshoot Access Denied in SharePoint Online
Before you begin
- Applies to:Microsoft SharePoint Online site and item permissions.
- Where to start:Open the affected URL in a browser using the affected identity. Ask the site owner to inspect grants if the user cannot.
- What you need:Have the exact URL, expected Read or Edit permission, affected identity, and one known-good comparison user. Tenant controls may require a SharePoint or Entra administrator.
Guide tools
Troubleshooting Steps
Reproduce the error as the affected user
Start hereRecord the full error, UTC time, and correlation ID if the page shows one. Ask the user to open the same URL in a private window with the approved identity. Record the account shown in the profile menu. Keep access links and tokens out of tickets. If the error is specific to a guest link, use the external sharing guide.
Locate the first failing level
Have the user try the site homepage, affected library, affected folder, and exact file if each is expected to be accessible. Record where access changes. A user can have explicit permission to a file without being able to browse its parent. Test the intended action separately from viewing the page.
Inspect site access and group membership
Where to click
- On the affected site, select Settings β Site permissions.
- Open Advanced permission settings, then Check Permissions if available to your role. Enter the affected account.
For a group-connected team site, verify membership in the intended Microsoft 365 group. For a communication site, check the assigned SharePoint group. A Limited Access entry alone does not grant broad read permission. Use effective permissions where available and verify the userβs exact identity rather than a similarly named account.
Find the first unique permission boundary
Where to click
- For the library, open Library settings β More library settings if shown β Permissions for this document library.
- For the affected file or folder, open its More options menu β Manage access. Review people, groups, and links.
Review the library and any affected folder or item, and check whether each inherits its permissions. An item with unique permissions can exclude a user who has site access. Inspect both direct access and links. A People with existing access link does not grant new access.
Check controls that grant review cannot explain
If permissions appear sufficient, review the sign-in event for Conditional Access, confirm applicable SharePoint restricted site access or sensitivity controls, and check for a recently recreated account with the same username. Restricted site access can require approved group membership in addition to a content permission. Escalate a suspected site user ID mismatch through Microsoftβs diagnostic.
Correct the narrowest confirmed problem
Have the site owner use the existing approved group or a resource-level grant where appropriate. If the site uses unique permissions intentionally, preserve them. Record what changed and how to reverse that specific change. Work with the policy owner if a tenant-level safeguard is working as designed.
Verify with positive and negative checks
VerifyAsk the affected user to open the original URL and perform the intended action in a fresh session. Use a separate approved test identity without the grant to confirm protected content stays inaccessible. If the fix fails, revert the specific permission change and retain the evidence for the appropriate owner.
Decide What to Do Next
| Finding | Next action |
|---|---|
| Site opens but one file fails | Inspect that item and its parent folder for unique grants or a link constraint. |
| Can view but cannot edit | Check actual permission level and any separate file state or policy restricting edits. |
| Grant appears correct but user is blocked | Confirm account identity, applicable restricted access, and Conditional Access evidence. |
References
Your feedback keeps these production procedures accurate and battle-tested.