SharePoint

0x80070005Access Denied

You do not have the required permissions to perform the requested operation on the SharePoint resource.

Root cause

The user account or App Principal executing the request lacks Read, Write, or Full Control permissions on the specific Item, List, or Web.

How to fix it

  1. Verify the user permissions using the SharePoint "Check Permissions" ribbon button.
  2. If using an App-Only token, ensure the Azure AD app has Sites.ReadWrite.All or the specific site scopes.
  3. Check if the item has unique permissions (broken inheritance).

Decode any M365 error

Paste an unfamiliar error message into the interactive decoder — it searches every code in this catalog and explains the cause in plain English.

Open the Error Decoder →