How to use Microsoft integrations on cloud

I am currently trying to test-drive n8n. My organization heavily relies on Microsoft SharePoint, so having proper integrations is crucial. However when I try to connect I get the following error message:

{"error":"invalid_client","error_description":"AADSTS65oo57: Invalid resource. The client has requested access to a resource which is not listed in the requested permissions in the client's application registration. Client app ID: aad843ca-42a7-4219-a3f9-91bcf621d795(n8n). Resource value from request: https://___.sharepoint.com. Resource app ID: ooooooo3-oooo-off1-ceoo-oooooooooooo. List of valid resources from app registration: ooooooo3-oooo-oooo-cooo-oooooooooooo. Trace ID: 9f3d2fa5-f7f6-41_89-8431-7b4o4c8d2aoo Correlation ID: o5a712f1-29b9-43d4-b1c2-1fd7f5caf1b3 Timestamp: 2o25-o5-17 1o:58:28Z","state":"___"}

I am also not an Azure expert, but to me this seems like a misconfiguration on N8Ns part? Ideally I would also use my own app id, but that seems to be impossible on the cloud version, so I might have to switch to self-hosted?

did u edit this part? https://https://___.sharepoint.com/.sharepoint.com,

The error message indicates that Azure Active Directory Entra couldn’t find the specified resource in the tenant. So am wondering if the app you’re authenticating to must be registered and/or consented in the tenant you’re using.

Sorry I posted the wrong error message, that was an earlier mistake that I had already resolved. I updated the original post. I had to do some shenanigans to get it to pass N8Ns filters though, but the general error should still be visible.

i’ve not used sharepoint yet in n8n, am not quite sure, but looks like permission issue in azure, so many a policy or something :confused:

Yeah but it looks like the misconfiguration is on the N8N app which I cannot control