An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
The useful part of your reproduction is that the failure appears when multiple includeFolder filters are combined.
I would preserve that difference as the main diagnostic rather than changing the complete knowledge source configuration.
For example, consider a SharePoint site with two folders.
- Folder A contains three documents.
Folder B contains two documents.
Each folder can be indexed individually.
A knowledge source using both filters returns HTTP 500.
I would test three configurations using the same resource, API version and permissions.
Knowledge source with only Folder A.
Knowledge source with only Folder B.
Knowledge source with both folders.
Then I would compare the request payloads and capture the service response for each test.
If both individual configurations succeed but the combined configuration fails, that provides stronger evidence of a multi-filter handling issue than a generic connection problem.
I would also verify whether the filter array and folder paths match the schema for the exact API version being used.
For production, I would not assume that creating separate knowledge sources is equivalent to a single combined source without validating retrieval behavior.
A temporary separation could be evaluated, but the HTTP 500 should still be investigated using the minimal failing request.
If you can share a redacted payload containing the two includeFolder filters, it would help determine whether the issue is configuration-specific or a potential service defect.The useful part of your reproduction is that the failure appears when multiple includeFolder filters are combined.
I would preserve that difference as the main diagnostic rather than changing the complete knowledge source configuration.
For example, consider a SharePoint site with two folders.
Folder A contains three documents.
Folder B contains two documents.
Each folder can be indexed individually.
A knowledge source using both filters returns HTTP 500.
I would test three configurations using the same resource, API version and permissions.
Knowledge source with only Folder A.
Knowledge source with only Folder B.
Knowledge source with both folders.
Then I would compare the request payloads and capture the service response for each test.
If both individual configurations succeed but the combined configuration fails, that provides stronger evidence of a multi-filter handling issue than a generic connection problem.
I would also verify whether the filter array and folder paths match the schema for the exact API version being used.
For production, I would not assume that creating separate knowledge sources is equivalent to a single combined source without validating retrieval behavior.
A temporary separation could be evaluated, but the HTTP 500 should still be investigated using the minimal failing request.
If you can share a redacted payload containing the two includeFolder filters, it would help determine whether the issue is configuration-specific or a potential service defect.