Skip to main content
Community site session details

Community site session details

Session Id : R7QorqmPzkE0sNMHzT0pks
Power Automate - Building Flows
Unanswered

Unable to get Location from a 302 HTTP result

Like (0) ShareShare
ReportReport
Posted on 13 Sep 2019 00:26:30 by Microsoft Employee

I have a flow which uses an HTTP module, and it receives a 302 message when I use a GET.  I followed the instructions on how to store the Location into a variable afterwards (https://powerusers.microsoft.com/t5/Building-Flows/Interacting-with-302-response-to-HTTP-GET-action-in-flow/m-p/359842#M40144), but when I attempt it the Location variable isn't showing up as a dynamic content: only "Status Code" and "Body" are displayed.

 

Furthermore, the Location returned by the HTTP module starts with "https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/authorize?" (with numerous parameters listed).  Do I need to setup the Flow with permissions (possibly my own)?

  • sbeyer1227 Profile Picture
    Microsoft Employee on 30 Sep 2019 at 21:57:39
    Re: Unable to get Location from a 302 HTTP result

    I still haven't found a solution to this.  Is there a way to have the GET command sent with the credentials embedded, or set the Flow to use my credentials for all subsequent actions?

  • sbeyer1227 Profile Picture
    Microsoft Employee on 19 Sep 2019 at 19:47:09
    Re: Unable to get Location from a 302 HTTP result

    The location it's referring to is another URL (not a physical GPS location).  It's getting redirectied, and I believe it's due to an authentication issue.  I think I need to set my credentials somewhere in the Flow (since I can get the information requested when I directly call the API in a browser), but I'm unsure how to do that.

  • v-litu-msft Profile Picture
    on 13 Sep 2019 at 08:13:03
    Re: Unable to get Location from a 302 HTTP result

    Hi @sbeyer1227,

     

    If when the flow needs the location of the user, it will send a confirmation notification to user.

    Do you use the MS Flow mobile? If so, you might the Flow App could access your location.

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2