Describe the problem/error/question
I’m trying to connect my Company SharePoint with n8n, but I only want to work with one specific folder inside a document library. When I click add credentials what I get is only an empty field to enter the subdomain. When I enter the subdomain it throws an error. So as a solution I went to azure AD and I registered an app gave it basic permissions and tried once again still did not work. Any solutions or workflows how to achieve this would be helpful. At the end I am trying to build an Intranet chatbot that uses our SharePoint as knowledge source to answer user questions and I don’t want to use copilot studio.
What is the error message (if any)?
Received following query parameters: {"error":"invalid_resource","error_description":"AADSTS500011: The resource principal named https://https://....... was not found in the tenant named ........ This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You might have sent your authentication request to the wrong tenant. Trace ID: df18f30a-74b9-4e2d-88a9-31d73b5b0000 Correlation ID: 6cb3d22d-07e7-47d0-8eeb-87129ea3ce40 Timestamp: 2025-09-03 14:09:57Z","error_uri":"https://login.microsoftonline.com/error?code=500011","state":"eyJ0b2tlbiI6Im1pREdiZ1JmLU9jN2pxV3dDeUFuWHNzTFNaSjZhdTNjVzZ3TSIsImNpZCI6InRHcEhndHNUWGlCZkdLNkkiLCJjcmVhdGVkQXQiOjE3NTY5MDg1OTYzNjIsInVzZXJJZCI6ImYxZTIxNDMyLWRlMzktNDI2ZC1hODY0LWM1OGExY2YwMzRmNyIsImhvc3QiOiJqa21jb25zdWx0LmFwcC5uOG4uY2xvdWQvcmVzdCJ9"}
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
Information on your n8n setup
- n8n version: Trial
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main): own
- Running n8n via (Docker, npm, n8n cloud, desktop app): n8n cloud
- Operating system: Windows 11
