Enable Azure Synapse Link from COSMOS SQL API

dineshgp 6 Reputation points


I'm new to COSMOS DB and trying out few things. When I tried to enable the Azure Synapse link from COSMOS SQL API, it is saying the Enabling Azure Synapse Link for this account failed. The content media type 'text/plain' is not supported. Only 'application/json' is supported.
I followed the instructions from the MS documentation to create the COSMOS DB.

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,442 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,466 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Anurag Sharma 17,576 Reputation points

    Hi @dineshgp , welcome to Microsoft Q&A forum.

    You need to go to Features under setting and enable Azure Synapse link from there first as shown in below screenshot:


    After enabling it, you can try creating database/container and enable Azure Synapse link and it should work fine without any error.

    Please let me know if this helps or else we can discuss further.


    If answer helps, please mark it 'Accept Answer'

  2. Rodrigo Souza 81 Reputation points

    We are working on this problem. But you can use CLI to get it done:

    az cosmosdb update --enable-analytical-storage true --name <database-account-name> --resource-group <resource-group-name>

    0 comments No comments