Is there a workaround to index SharePoint site pages in Azure AI Search?

Irene Gunning 30 Reputation points
2024-11-04T00:23:14.2066667+00:00

We are currently developing a chatbot using Azure Open AI, and we plan to use SharePoint as a data source. We have pages containing the data that we want the chatbot to reference. However, according to the documentation SharePoint Online indexer (preview) - Azure AI Search | Microsoft Learn, it states that indexing .aspx files is not supported and it only index documents in document libraries. Is there a workaround for this?

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.
1,339 questions
Microsoft 365 and Office | SharePoint | For business | Windows
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
4,081 questions
{count} votes

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 24,951 Reputation points Microsoft Employee Moderator
    2024-11-04T06:07:32.79+00:00

    @Irene Gunning Thanks for posting your question in Microsoft Q&A, apologize for any inconvenience caused on this.

    As called out in the indexer documentation limitations, yes you cannot load .aspx file in SharePoint to an index.

    One workaround to load .aspx to an indexer in SharePoint is by following the below steps:

    1. Use the SharePoint APIs/SDKs to get the ASPX data or the specific method available that you choose to crawl through the data.
    2. You can export the crawled data to blob storage and then you just need to use blob indexer for the content to be indexed accordingly (https://learn.microsoft.com/en-us/azure/search/search-howto-indexing-azure-blob-storage).

    Hope this helps, let me know if you have any further questions on this.


Your answer

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