Share via

How to index a folder from Sharepoint using AI Search API?

2025-07-22T21:08:42.7133333+00:00

Hi! I am trying to index the content of a sharepoint folder (not all the sharepoint library), I am using this documentation as guide: https://learn.microsoft.com/en-us/azure/search/search-howto-index-sharepoint-online . Is folder filtering still not avaible? or does exist any work around to do it?

Thanks in advance.

Azure AI Search
Azure AI Search

An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2025-07-31T05:12:03.4833333+00:00

    Hi @Nicolás Camilo Olivares Álvarez

    Thank you for posting your question on the Microsoft Q&A forum. 

    It looks like you are trying to index only the contents of a specific folder within a SharePoint Online document library using Azure AI Search, and you are looking if folder-level filtering is supported or if there's any workaround available. 

    Currently, Azure AI Search can index content at the document library level in SharePoint Online, but it doesn’t support filtering to a specific folder directly. This is mentioned in the official documentation

    As a workaround, you can try using an Azure Function or Logic App to pull content only from the folder you want and then push it to the search index. 

    Microsoft often updates its features, so it’s a good idea to check the documentation from time to time for any changes. 

    Feel free to post back if you have more questions or need help with the workaround.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.