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.