Hey @hogono_comm the problematic URL indicates that the permissions issue is related to the Sharepoint REST API (and not Graph API), so let's focus on that.
- can you verify that your application has following permission:
Sharepoint
- Sites.Read.All
- Also, you will need to Grant admin consent, using the
Grant Admin Consent
link from the permissions screen. - Make sure you follow steps for setting up Sharepoint permissions Elastic SharePoint Online connector reference | Enterprise Search documentation [8.15] | Elastic
Let me know if this helps. There are several steps involved in the setup, and in my experience, it’s easy to accidentally miss one.