Key Vault backed CosmosDB Linked Service in Synapse Workspace not showing under Data section

Kholofelo 66 Reputation points
2022-02-18T08:38:59.197+00:00

The CosmosDB Linked Service will normally show under the data section of Synapse Workspace.

We have our Synapse Workspace linked to GitHub, to avoid having secrets in GitHub we are using KeyVault for the connection string (as recommended by Microsoft). For this, we have created a KeyVault Linked Service in Synapse.
175802-image.png

We have then created a linked Service for CosmosDB that uses the KeyVault to get the connection string. The LinkedService is created properly and we can even use it in a dataflow without issues.
175812-image.png

The issue, however, is that the CosmosDB linked service does not show under the Data Section of Synapse Workspace (I have checked and it does show if we don't use the key-vault approach)
175777-image.png

How can we resolve this and have the keyvault backed CosmosDB linked service show in the data section? It helps when we need to do queries to have it listed there.

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,287 questions
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,919 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,636 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Kholofelo 66 Reputation points
    2022-03-10T15:56:07.963+00:00

    I got some feedback from the Synapse Product team and it turns out this is a known issue and there is yet to be an ETA to have it fixed.

    See below an extract from the feedback:

    Currently the synapse studio doesn’t show the connected cosmos DB if the connection string is from Azure Key Vault. We have plans to introduce a message/warning to users stating ‘ Cosmos DB won’t be seen under ‘Data’ section if Azure Key vault is chosen.

    So for anyone who is wondering, currently if you want the CosmosDB link to show under 'Data' do not use a Key Vault backed Linked Service.

    1 person found this answer helpful.

  2. AnnuKumari-MSFT 32,906 Reputation points Microsoft Employee
    2022-02-21T08:14:16.997+00:00

    Hi @Kholofelo ,
    Thankyou for using Microsoft Q&A platform and posting your query.
    My understanding is that you have created a keyVault that is storing the secret pairs for Cosmos DB data source and a linked service that is using the keyvault. However, you want to understand why linked service is not visible in Linked tab under Data menu inside the Synapse Workspace. Please correct me if my understanding is wrong.

    Linked Tab under data menu inside Azure Synapse Workspace are meant to have two things: 1. Storage account 2. Integration dataset. You can only view linked services inside External connections under manage tab .

    Below are the images you can refer to:
    1. Linked tab under data menu can only hold storage account details and Dataset details
    176314-image.png

    2. Linked services are present under manage tab
    176259-image.png

    Please checkout the following video for more details:
    https://youtu.be/DZneFEqH-H4?list=PLMWaZteqtEaIZxPCw_0AO1GsqESq3hZc6&t=234

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you.
      Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators

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.