How to connect to a azure private storage account from a public azure static web app

Abhishek Singh 381 Reputation points
2023-01-15T11:04:00.8666667+00:00

I have a azure storage account with restricted access to VNet and there is a requirement to connect to it from a public facing azure static web app.

Is there any way to achieve this, I have already tried private endpoint for the static web app but that does not help as it makes my public app private and also my app is behind a front door and it does not support private endpoint for static web app.

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,793 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
799 questions
{count} votes

Accepted answer
  1. Carlos Solís Salazar 17,186 Reputation points MVP
    2023-01-15T12:25:10.9433333+00:00

    Thank you for asking this question on the Microsoft Q&A Platform.

    A way to achieve your requirement, you must add an extra resource (Application Gateway)

    First, you connect your storage account to your static web app via a private link, then you connect the Web App to the Application Gateway.

    The Application Gateway will be your internet-facing IP.

    Let me know how it goes!

    Hope this helps!


    Accept Answer and Upvote, if any of the above helped, this thread can help others in the community looking for remediation for similar issues.

    NOTE: To answer you as quickly as possible, please mention me in your reply.


0 additional answers

Sort by: Most helpful