Quick and Effective Migration Between CosmosDB Collections Using ADF

This document aims to explain the process of using ADF (Azure data Factory) to make a copy of a Cosmos DB (Instance A)  collection into a new collection in another Cosmos DB Instance effectively and cost effectively.

For example, here is our  Instance A in the Data Explorer:

Here is Instance B:

We are looking to move this instance:

Instance A : Prod-cosmos-bosapi, Bos(database)>>collection.0(ContainerName)

to this one:

Instance B: Qa-cosmos-bosapi>>Bos(database)>>collection.0(ContainerName)

Please note: The Instance B is something we have yet to create.

Pre Steps: Creating the Instance B collection

These are steps that must