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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Capturing HTTP Redirec...
Power Automate
Unanswered

Capturing HTTP Redirect for File Download

(0) ShareShare
ReportReport
Posted on by 133

I get the sense this may not be possible, but here it goes ...

 

I am building a flow that is triggered by an email, and it's supposed to capture the URL string and download the referenced file. When I use an URL to a specific filename, it works great.  Unfortunately, the system (ERP system using Fusion Reports) that generates the URL and sends the email sends me a URL like this:

https://servername.com/ECP_20.07_A/aspx1/QuickLink?MessageID=12345

 That URL then redirects the browser to another URL that looks something like this:

https://servername.com/ECP_20.07_A/aspx1/Home?DashboardID=12345&ReportID=12345&ReportName=ReportName&QuickKey=12345abcdeMessageID=12345&

The browser then automatically downloads the report file successfully to my PC.  Not knowing about Fusion Reports, I am assuming the report file is being created on the fly by the backend server, so there is no direct file to reference in the URL.

 

So, I guess my question is ... can Power Automate handle this scenario in any way so that the file can be downloaded to a SharePoint location and I can manipulate it further in the flow?

 

 

Categories:
I have the same question (0)
  • robgar Profile Picture
    133 on at

    I have managed to capture the redirect by using a 2nd HTTP Get after the 1st one fails (run after).  I now have a successful URL connection to the page that generates the file.  Problem is ... the file that gets downloaded is actually the HTML page not the XLS file I am trying to download.

    Screenshot 2020-10-09 131130.png

     

     

     

     

     

     

     

     

     

     

     

    So now, I am trying to figure out how to "wait" and capture the file that this new URL generates.  As noted above, the URL does NOT link to a file but rather a report page that generates the file and pushes it to the browser to download.  I just don't; know how to capture that file when "it's ready".

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard