# Error on connecting sharepoint connector

**URL:** <https://discuss.elastic.co/t/error-on-connecting-sharepoint-connector/378137>\
**Category:** Elastic Search\
**Tags:** connectors\
**Created:** [May 14, 2025, 12:35pm UTC](https://discuss.elastic.co/t/error-on-connecting-sharepoint-connector/378137 "2025-05-14T12:35:48Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Tortoise](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tortoise/32/147587_2.png) [@Tortoise](https://discuss.elastic.co/u/Tortoise)\
**Post date:** [June 17, 2025, 8:28am UTC](https://discuss.elastic.co/t/error-on-connecting-sharepoint-connector/378137/2 "2025-06-17T08:28:11Z")

</div>

Hello @Phia1

Similar issue-fix was reported in below blog incase if it is helpful ?

> [@Elastic native connector - SharePoint](https://discuss.elastic.co/t/elastic-native-connector-sharepoint/368316/2):
>
> 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 document…](https://www.elastic.co/guide/en/enterprise-search/8.15/connectors-sharepoint-online.html#connectors-sharepoint-online-client-oauth-app-permissions)

Thanks!!

---

_[View the full topic](https://discuss.elastic.co/t/error-on-connecting-sharepoint-connector/378137)._
