To move data from Google Cloud Realtime Database to Azure Cosmos DB automatically, use a ready-made scenario — no manual exports.
You can launch this Google Cloud Realtime Database + Azure Cosmos DB integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.