@Sofia Welcome to Microsoft Q&A thanks for posting your question.
I found a similar ask on SO forum which might be useful for you
Regards
Geetha
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
How can I index a specific collection from a Cosmos DB data source using Azure Cognitive search?
I have setup resource from Azure AI Search and CosmosDB instance contains two collections when I create an index in Azure AI Search connected to the cosmodDB ,it successfully indexes and returns data from first collection, but when i create another index to second collection it returns null. not sure what is missing in my configuration.
@Sofia Welcome to Microsoft Q&A thanks for posting your question.
I found a similar ask on SO forum which might be useful for you
Regards
Geetha
To index a specific collection from a Cosmos DB data source using Azure Cognitive Search, you need to create a data source, index, and indexer. Here are the steps:
If you're having trouble indexing a second collection, make sure you have created a separate data source, index, and indexer for that collection. Also, check that the connection string and permissions are correct for the second collection.
References: