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

Satyam Chauhan 171 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.
220 questions
Azure Private Link
Azure Private Link
An Azure service that provides private connectivity from a virtual network to Azure platform as a service, customer-owned, or Microsoft partner services.
274 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
910 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ShaikMaheer-MSFT 28,096 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.