Connecting Azure stream analytics job output to Azure Cosmos db with private end point

Satyam Chauhan 192 Reputation points


In order to secure the cosmos DB we have enabled private access with Private end point. For this we created a private end-point with resource type Microsoft.AzureCosmosDB/databaseAccounts and Private DNS Zone for cosmos DB account.

We have also created an azure stream analytics job which is streaming data output to the cosmos DB, but after configuring the private access we are not able to stream that data.

Please provide a solution for streaming data securely to cosmos DB.

Azure Stream Analytics
Azure Stream Analytics
An Azure real-time analytics service designed for mission-critical workloads.
236 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
983 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ShaikMaheer-MSFT 30,346 Reputation points Microsoft Employee

    Hi @Satyam Chauhan ,

    Thank you for posting query in Microsoft Q&A Platform.

    You need to consider creating managed end point for your cosmosdb resource in your stream analytics cluster. Then approve the private end point connection from your input or output.

    Once approve the connection, jobs running can access the cosmosdb resource through private endpoint.

    Kindly check below official documentation which explains same with details steps.

    Hope this helps. Please let me know if any further queries.

    Please consider hitting Accept Answer button. Accepted answers help community as well.