Azure Cosmos DB

Version 23.4.8843


Azure Cosmos DB


You can use the Azure Cosmos DB connector from the CData Sync application to capture data from Azure Cosmos DB and move it to any supported destination. To do so, you need to add the connector, authenticate to the connector, and complete your connection.

Establish a Connection

To allow Sync to use data from Azure Cosmos DB, you first must establish a connection to Azure Cosmos DB. Follow these steps to connect Azure Cosmos DB to your Sync account:

  1. Open the Connections page of the Sync dashboard.

  2. Click Add Connection to open the Select Connectors page.

  3. Click the Sources tab and locate the Azure Cosmos DB row.

  4. Click the Configure Connection icon at the end of that row. If you do not see the Configure Connection icon, you need to add the connector according to the instructions in Connections.

  5. Enter connection settings on the Settings tab:

    • Connection Name - Enter a connection name of your choice.

    • Auth Scheme - Select the authentication scheme. The default setting is AccountKey. For this setting, specify the following values:

      • Account Key - Enter the master key token or resource token that is required to connect to the Azure Cosmos DB REST API.

      • Token Type - Select the type of token (master or resource) that you are using in the Account Key field. The default token type is master.

    • Schema - Enter the schema (the Azure Cosmos DB database) with which you want to work.

  6. Click Create & Test to create the connection.

  7. Define advanced connection settings on the Advanced tab. (In most cases, though, you should not need these settings.)

More Information

For more information about interactions between CData Sync and Azure Cosmos DB, see Azure Cosmos DB Connector for CData Sync.