How to securely connect azure static web app with cosmos mongo db?

Sunny Chawla 0 Reputation points
2025-05-08T09:38:20.2666667+00:00

I need to securely connect Azure static web app with Azure cosmos mongo db. I have tried creating private endpoint also tried creating app service. But still struggling with connecting the web application code with azure cosmos mongo db.

This connection works perfectly in development environment.

Please provide detailed steps and help resolve the issue.

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,152 questions
{count} votes

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.