question

dineshgp-5975 avatar image
0 Votes"
dineshgp-5975 asked AnuragSharma-MSFT commented

Enable Azure Synapse Link from COSMOS SQL API

Hello,

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-analyticsazure-cosmos-db
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @dineshgp-5975, this has been fixed. Could you please try to check once and let us know if you still see the same issue?

0 Votes 0 ·
AnuragSharma-MSFT avatar image
0 Votes"
AnuragSharma-MSFT answered AnuragSharma-MSFT commented

Hi @dineshgp-5975, 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:

119758-image.png

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'





image.png (97.0 KiB)
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I have tried that option as well but its not getting enabled from Features section as well.

1 Vote 1 ·

Thanks for replying back. This looks like a technical glitch. I am reaching out to product group to check on this. Again thanks for reporting on it.

2 Votes 2 ·

I'm facing the exact same issue

0 Votes 0 ·

As updated by @RodrigoSouza-0745, you can enable it through the Azure CLI for time being meanwhile the team fixes the portal issue.

Please let us know if you still face any issue there.

0 Votes 0 ·
RodrigoSouza-0745 avatar image
0 Votes"
RodrigoSouza-0745 answered

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>

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.