[BUG] [Azure AI Search - Indexers failing when connected to CosmosDB with Hierarchical Partition Keys] #34298
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
data-plane
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Search
Service Attention
Workflow: This issue is responsible by Azure service team.
API Spec link
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/search/data-plane/Azure.Search/preview/2025-05-01-preview/examples/SearchServiceCreateIndexer.json
API Spec version
2025-05-01-preview
Describe the bug
I have an Azure Search Service configured with CosmosDB as the data source. My CosmosDB collections use hierarchical partition keys.
DataSources, Indexes, and Indexers were correctly created and everything was working fine until April 11th, 2025.
After that date, without any configuration change in either the Search service or CosmosDB, all Indexer executions started failing.
The error shown is:
This subpartitioned container has more than 1 partition key path please use "PartitionKeyPaths"
Previously, the Indexer worked without requiring explicit configuration for multiple partition key paths.
Expected behavior
The Indexer should continue working without manual specification of
PartitionKeyPaths
, just as it worked before April 11th, 2025.Actual behavior
Indexer executions fail systematically with the error:
This subpartitioned container has more than 1 partition key path please use "PartitionKeyPaths"
No changes were made to my CosmosDB collections or Search service configurations before or after the issue started happening.
Reproduction Steps
Environment
No response
The text was updated successfully, but these errors were encountered: