Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

Download Function Blocked By Browser

I have created a Powerapp where i have a button to download a file from SharePoint library. To achieve this, i am using PowerApp's Download function on Button's "On Select" property.
When i only call download function inside 'onselect' property of button it works perfectly and downloads my file instantly.
But, when i call a MS Flow and Download function together inside 'onselect' property of button, the browser blocks my file and i have to unblock it manually to download it.
Note: My flow call approximately takes 5-6 seconds to process, post then download function is being called.
Example: MyFlow.Run(); 
Anybody has any idea why my file is blocked by browser in second scenario.
Thanks in advance! 
Community Support
Community Support

Hi @sakshamgupta01 ,


I made a test on my side, but cannot reproduce the issue you mentioned. The download function is not blocked.

Blocking may be the protection mechanism of the browser, please check the browser security setting, try another browser to see if the issue is fixed.

If there is no relationship between the download link and the flow output, how about moving the Download in front of Flow.Run function?

Hope this helps.




Thanks for your response. 

My download function is dependent on flow's output as I am getting the URL from flow's output and then passing it to Download function. so can't put it before flow run.


Also, I checked the browser settings, it is same for both the scenarios. Even tried it on multiple browsers, but same behavior on all of them.





To reproduce the issue, please try to add a delay of 5 seconds in your flow and return the URL from it. Then consume that URL in PowerApps in download function. you'll be able to reproduce it then.




Hi @sakshamgupta01 ,

Could you please share the detailed flow steps and canvas app configuration. What is the 5-second delay for?

Please check my test, it still works fine on my side.





In my case, the flow takes approximately 5 seconds to upload the file to SP and return the URL. Actually,  I am calling a HTTP azure function from flow to upload the file. So, all that processing takes 5 seconds.


To troubleshoot the issue, I created a dummy flow and powerapp where I removed the azure call and simply added a 5 second delay in my flow, but that too is not working (which is working fine for you). I wonder if I am doing anything incorrect.

Screenshots attached.  




Helpful resources

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.


Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (3,616)