web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate HTTP Fl...
Power Automate
Suggested Answer

Power Automate HTTP Flow — 403 / Authentication Error When Uploading to Private Azure Blob Storage

(0) ShareShare
ReportReport
Posted on by 8

We have Azure private storage account and through power automate HTTP flow we want to upload to this storage account.

Connector we are using in HTTP flow is blob v2, authentication method: service principal

In http flow we are getting "Authentication error". After research I got to know power automate cannot directly reach Azure storage account.

So, I would like to understand will Azure virtual Network Data gateway work for this ???, I think on-prem data gateway is not supported.

In Vnet data gateway we need to create 2 virtual networks so what is another simple solution for example: Azure virtual machine which will take uploaded files from power automate and and azure VM will push to Storage account(but how to make connectivity between Azure VM with only private IP and power automate). or another solution like if any other connector is supported in power automate http to upload to storage?

Note: We do not create any public service

Questions

  1. Is VNet Data Gateway the correct and recommended solution for this scenario?
  2. Is there a simpler alternate solution that avoids creating 2 VNets?
  3. Can the HTTP with Microsoft Entra ID connector with on-premises data gateway reach a private Blob Storage endpoint?
  4. If Vnet data gateway is recommended or proper approach then can i create 2 vnets: 1(central india) and 2nd in south india.

Please share possible suggestions, appreciate your help

I have the same question (0)
  • Suggested answer
    11manish Profile Picture
    2,933 on at
    Your understanding is mostly correct. The issue is not with the Service Principal authentication itself, but with network connectivity.​​​​​​​
    • Yes, VNet Data Gateway is the recommended Power Platform solution for accessing a Private Endpoint Storage Account.
    • No, you generally do not need two VNets. One VNet with appropriate subnets is usually enough.
    • No, HTTP with Microsoft Entra ID plus On-premises Data Gateway cannot access a private Blob endpoint.
    • Yes, you can deploy VNets in Central India and South India, but it adds complexity and is unnecessary unless you have specific networking requirements.
  • CU15061710-0 Profile Picture
    8 on at
     
    As you mentioned "
    • Yes, you can deploy VNets in Central India and South India, but it adds complexity and is unnecessary unless you have specific networking requirements."
     
    Could you please confirm what complexity does it add and if it is unnecessary what is another solution for my use case?
     
     
  • CU15061710-0 Profile Picture
    8 on at
    When I am trying with one vnet it's giving error "A second virtual network ID and subnet name must be provided when the selected Power Platform region requires 2
    delegated subnets"
  • Suggested answer
    Sunil Kumar Pashikanti Profile Picture
    2,135 Moderator on at
     
    Root Cause (Why you see 403)
    Even with Service Principal (Entra ID) and the Blob V2 connector, Power Automate runs outside your VNet (multi-tenant SaaS). It cannot reach a storage account with public access disabled / private endpoint only.

    Important:
    The 403 “Authentication error” is misleading, it’s actually a network-level block (PublicAccessNotAllowed), not an identity issue.
     
    1. Is VNet Data Gateway the correct and recommended solution for this scenario?
    Partially, but not for your case. It works only with supported connectors.
    Generic HTTP / Blob scenarios are not supported directly. So, it won’t solve your current flow design.

    2. Is there a simpler alternate solution that avoids creating 2 VNets?
    No, VNet Data Gateway is deployed into a subnet of your existing VNet. No separate gateway VNet is required.
    Cross-region VNets add unnecessary complexity and latency.
     
    3. Can the HTTP with Microsoft Entra ID connector with on-premises data gateway reach a private Blob Storage endpoint?
    Technically yes, but strongly discouraged. Requires installing gateway on an Azure VM
    Adds:
         unnecessary infra
         maintenance overhead
         single point of failure
    This is an anti-pattern for cloud-native design
     
    (The "HTTP with Microsoft Entra ID" connector (formerly known as the HTTP with Azure AD connector) does support the on-premises data gateway. By installing that gateway on an Azure VM hosted inside the same Virtual Network (or a peered one) as the Private Endpoint, the gateway can resolve the private IP and route the traffic.)

    4. If Vnet data gateway is recommended or proper approach then can i create 2 vnets: 1(central india) and 2nd in south india.
    Yes, you can place them in different regions (Central India / South India).
    But:
    Adds latency
    Adds complexity
    Requires peering
    Best practice:
    Keep them in same region if used


    Simpler, Recommended Alternatives
    Option A: Logic Apps (Standard)
    Fastest, low/no code
    Flow:
    Power Automate → Logic App → Private Blob
     
    • Logic App supports VNet integration
    • Native Blob connector works with private endpoint
    • Secure with Entra ID

    Option B: Azure Function (Best balance)
    Flow:
    Power Automate → Azure Function → Private Blob
     
    • Function runs inside VNet
    • Uses Managed Identity for Blob access
    • Fully serverless, scalable, secure

    Why not Azure VM?
    To make it work, you’d need:
         Public exposure (App Gateway / proxy)
    This introduces:
    • security risk
    • patching & maintenance
    • unnecessary complexity
    Serverless options already solve this better
     
    Final Recommendation
    Use Azure Function or Logic Apps Standard as a proxy
    Why:
    Keeps storage fully private
    Avoids VNet Gateway complexity
    No VM management
    Clean, scalable architecture
     
    ✅ If this answer helped resolve your issue, please mark it as Accepted so it can help others with the same problem.
    👍 Feel free to Like the post if you found it useful.

    Sunil Kumar Pashikanti, Moderator
    Blog: 
    https://sunilpashikanti.com/posts/
     
  • CU15061710-0 Profile Picture
    8 on at
     
    You're mentioning that Vnet data gateway i.e creating 2 vnets and delegating subnets to power automate this method won't work for storage account connector but below document mentions it works for azure private resources:
     
    Could you please confirm if that connector is not supported then can other connector be used, because i have already told client that either on-prem data gateway or vnet data gateway will work. 
    Please suggest
  • CU15061710-0 Profile Picture
    8 on at
     
    Could you please confirm how to do using Azure function App or Azure logic app. Do you mean I've to make connectivity between Function App or logic app with Power automate because all Azure resources will be private. 
     
    Additionally, please suggest on on-premises gateway because client has approved for on-prem gateway so is it possible to reach Azure private storage using on-prem gateway and http connector

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 419

#2
Vish WR Profile Picture

Vish WR 314

#3
David_MA Profile Picture

David_MA 260 Super User 2026 Season 1

Last 30 days Overall leaderboard