Reputation: 89
I have a PowerApp that allows users to upload a .csv-file. I want to automatically upload this .csv-file to an Azure Blob Storage Container inside a Storage Account. However, the Storage Account is set up to only allow traffic from selected vNets and IP address ranges. The vNet it allows traffic from is also protected by a Network Security Group (NSG).
I tried to establish a connection using the PowerApps built-in "Azure Blob Storage connection". But as expected, access is denied.
This request is not authorized to perform this operation.
I already configured an NSG rule to allow inbound traffic from the "PowerPlatformInfra"-Service Tag. In the networking options of my storage account, I wanted to whitelist PowerApps IP ranges, however I am struggling to find the correct IP ranges, as I can't add Service Tags here.
I also considered using Azure Functions with vNet integration as a workaround (create a flow to upload the csv file to the blob storage). However, as these csv-files can be quite large, I dont want to transmit it's content via the HTTP-body. I would like to directly pass the csv as an input to the function. I am not sure if this is even possible.
Does anyone have an idea how to write a csv-file from a canvas power app to the firewall protected storage account?
I am clueless. Thank you so much for your time in advance!
Upvotes: 0
Views: 656
Reputation: 1741
as you said I wanted to whitelist PowerApps IP ranges, however I am struggling to find the correct IP ranges
*You can use the Azure IP Ranges and Service Tags - Public Cloud service to locate the appropriate IP ranges for PowerApps. For Azure services, including PowerApps, this service gives a list of IP address ranges and service tags. You can set up your Azure Private Link settings and NSG rules using this information.
Upvotes: 0