I tried different API path variants:
/GetFolderByServerRelativeUrlinstead of/GetFolderByServerRelativePath- Different URL encodings for spaces and special characters
- Requests to base folders to understand the structure
All of these attempts resulted in either 404 or 403 errors.
Configuration and Permissions
In Microsoft Azure, I have configured the following Graph API permissions:
- Files.Read.All
- Files.ReadWrite.All
- Files.ReadWrite.AppFolder
- Sites.FullControl.All
- Sites.Manage.All
- Sites.Read.All
- Sites.ReadWrite.All
- Sites.Selected
- User.Read
- User.ReadBasic.All
These permissions show as “Granted for MyCompany” in Azure.
Questions
- How can I correctly access the subfolder in a SharePoint subsite via n8n?
- Is my API path format correct, or is there a different syntax for subsites?
- Could there be an issue with the authentication method, even though I have all the necessary permissions?
- Should I use the Microsoft Graph connector instead of the SharePoint HTTP Request? If so, what would be the correct access path?
I appreciate any help or suggestions. Thank you in advance!