How to transfer data from a Subscription in one tenant to a container in another tenant

Spuran Yarram 0 Reputation points Microsoft Employee
2025-02-26T18:44:48.5033333+00:00

Team,
We have a scenario to migrate data from a container in one tenant to another tenant.
The DataFramework option we explored does not work in the new tenant. Are there any other options to get this ?

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,906 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Mallaiah Sangi 1,145 Reputation points Microsoft External Staff Moderator
    2025-02-27T19:06:33.94+00:00

    Hi @Spuran Yarram

    Copying data between Cosmos DB containers in different tenants can be support, but bit complex.

    Step 1: Set Up Access

    Source Tenant: Ensure you have read access to the source Cosmos DB container.

    Destination Tenant: Ensure you have write access to the destination Cosmos DB container.

    Step 2: Export Data from Source Container.

    Step 3: Import Data to Destination Container.

    Step 4: Verify Data Transfer

    Alternative: Using Azure Data Factory

    Create a Data Factory: In the Azure portal, create a new Data Factory.

    Create Linked Services: Set up linked services for both the source and destination Cosmos DB accounts.

    Create a Pipeline: Create a pipeline with a copy activity to transfer data from the source to the destination container.

    Please refer the documentation link, it might be helpful to you

    copying data from a cosoms container in one tenant to cosmos contianer in another tenant - Search

    Hope this helps. Do let us know if you any further queries.

     

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.