Medium severitydata source
Power BI Refresh Error:
DF-Cosmos-ResourceNotFound
What does this error mean?
The ADF Mapping Data Flow Cosmos DB connector could not find the target database or container. The database name or container name specified in the data flow source or sink does not exist in the Cosmos DB account.
Common causes
- 1The database or container name in the data flow source/sink settings is misspelled or uses incorrect casing (Cosmos DB names are case-sensitive)
- 2The container was deleted or renamed in the Azure portal after the data flow was built
- 3The data flow targets a different Cosmos DB account via the linked service, and the expected database/container does not exist in that account
How to fix it
- 1In the Azure portal, go to your Cosmos DB account → Data Explorer and confirm the exact database and container names.
- 2Open the data flow in ADF Studio and compare the database and container names in the source or sink settings against what appears in Data Explorer — correct any spelling or casing differences.
- 3If the container was intentionally deleted, recreate it with the correct partition key before re-running the data flow.
- 4Test connection the linked service to confirm the account itself is still accessible.
Frequently asked questions
Official documentation: https://learn.microsoft.com/en-us/azure/data-factory/data-flow-troubleshoot-guide