Reputation: 1361
I'm new to Azure Data Factory. I'm trying to solve the following problem:
I am currently looking into a solution that does:
Is this a correct approach, and if it is, how should I set up the dynamic content of the ForEach activity?
Note:
I've tried this solution (link) but I get an error message saying
Reading or replacing offers is not supported for serverless accounts
which means that
CosmosDB Serverless is not currently supported as Sink for the Data flow in Azure Data Factory.
Upvotes: 2
Views: 1548
Reputation: 16401
If you use Lookup + ForEach actives, the Foreach Items should be:
@activity('Lookup1').output.value
Your solution may be hard to achieve that.
Since you have found that Data Flow doesn't support Cosmos DB Serverless, I think you may can ref this tutorial: Copy Data From Blob Storage To Cosmos DB Using Azure Data Factory
It uses copy active to copy data from a csv file in Blob Storage to Azure Cosmos DB directly.
Upvotes: 1