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

Satyam Chauhan 492 Reputation points
2022-12-29T17:59:33.797+00:00

Hi,

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 privatelink.documents.azure.com 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.
330 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,441 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ShaikMaheer-MSFT 37,896 Reputation points Microsoft Employee
    2023-01-02T07:27:52.757+00:00

    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.
    https://learn.microsoft.com/en-us/azure/stream-analytics/private-endpoints

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


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