An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
Thanks for reaching out in Microsoft Q&A forum,
Your configuration appears to be aligned with the documented requirements for the SharePoint in Microsoft 365 indexer using the allSitePages container. The issue does not appear to be related to authentication, key field mapping, indexer configuration, or the skillset pipeline.
The behavior you are seeing does not match the documented behavior for allSitePages. According to the documentation, when indexing modern SharePoint pages, the page text should be extracted into the content field. In contrast, JSON-formatted field values are expected for SharePoint list items (allSiteLists).
In your case, the documents are correctly identified as content_type: "SitePage", but the content field contains the underlying SharePoint page item JSON (SP.Data.SitePagesItem) with properties such as controlType, pageSettingsSlice, and GUID values instead of readable page text. This suggests that the page classification is working correctly, but the content extraction stage is not producing the expected text output.
There does not appear to be any additional configuration setting, field mapping, or skillset change that can enable the text extraction behavior. The extraction process is handled internally by the SharePoint connector.
As additional validation, you can consider checking the following:
- Test with a simple modern SharePoint page containing only a text web part to confirm whether the behavior occurs across all page layouts or only specific page types.
- Verify whether metadata fields such as
metadata_spo_item_name,metadata_spo_item_weburi, andmetadata_spo_item_last_modifiedare populated for the affected page documents. - Review the indexer execution history for any warnings related to content extraction, even though the indexer run completes successfully.
If you need to continue building the RAG pipeline while this behavior is being investigated, a possible workaround is to preprocess the SharePoint page content and extract the readable text before passing it to SplitSkill and AzureOpenAIEmbeddingSkill. Another option is to use the SharePoint retrieval approach recommended for RAG scenarios, which retrieves textual content directly from SharePoint.
Based on the current information, this appears to be a mismatch between the expected allSitePages extraction behavior documented for the preview API and the content returned by the indexer, rather than a configuration issue on your side.
For reference, please see the official documentation:
- SharePoint in Microsoft 365 Indexer - Azure AI Search | Microsoft Learn
- Create a SharePoint (Remote) Knowledge Source - Azure AI Search | Microsoft Learn
Kindly let us know if the above helps or you need further assistance on this issue.
Please do not forget to
and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.