cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Bill51106
Helper III
Helper III

Unable to overcome 302 redirects

Hello my friends, I come today with a confusing one.

 

Daily I get emailed with a link to a report I need to download to start my Flow. I use HTTP to get the URL but I cannot figure out what it is doing. Any help?

Capture.PNG

4 REPLIES 4
eric-cheng
Solution Sage
Solution Sage

Hi @Bill51106 ,

Little difficult as the URLs are hidden but it looks like:

1. You access URL 1 to view the report

2. You are redirected to URL 2 to be authenticated 

3. Upon successful authentication, you are redirected back to URL 1 which is the ReturnUrl paramter from URL 2

Bill51106
Helper III
Helper III

@eric-cheng 

 

Thanks for looking, I forgot to mention. Anyone can click the first URL and it will take them to the file, no entering of credentials.

Hi @Bill51106 

 

It could be because there is single sign on (sso) enabled or the user has logged into another service already and already has a token.  It needs to check the validity of the token.

 

If you open the browser in private mode on a non network connected computer and try opening the URL, what happens?

Bill51106
Helper III
Helper III

@eric-cheng Anyone can click the link and it will download.

 

The server kicks out two different Excel reports.

1) One is an Excel file attached in an email.

2) This one sends the link and is meant to be shared with many people, skips all authentication.

 

Since the 2nd report redirects, I can't catch it in the Flow and the company refuses to move this report to an email.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (6,509)