cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LimeLeaf
Helper II
Helper II

Source URL of HTTP call in Power Automate

Dear community,

where do I find the source URL an API call is send from out of power automate?
Our API endpoint provider wants to know from where we are calling his API. Because of this we need the "source" URL from where Power Automate executes it's calls against his API.

We are calling an REST API from Power Automate with a HTTP request:

LimeLeaf_0-1652184673447.png


Can anyone help? Where can we find this information? 

Kind regards,
LimeLeaf

1 ACCEPTED SOLUTION

Accepted Solutions
Expiscornovus
Super User
Super User

Hi @LimeLeaf,


I was checking the Headers on the receiving side of things not where it was sent from. Sorry that I made it a bit confusing. The ip address range could still be a valid approach. I was just looking for a nicer way of identifying the requests 😁

 

Btw for my test I was using a HTTP action from flow A to send a POST request to flow B. Flow B has a when a HTTP is received trigger action (to simulate the API of the API endpoint provider). In the headers of that trigger action I can see these details.

 

Hopefully that clarifies things.

View solution in original post

6 REPLIES 6
Expiscornovus
Super User
Super User

Hi @LimeLeaf,

 

I do not know if it helps, but Microsoft has published a list of outbound ip addresses:

https://docs.microsoft.com/en-us/connectors/common/outbound-ip-addresses#power-platform

 

LimeLeaf
Helper II
Helper II

Thanks for the quick reply!

I also found this link (https://docs.microsoft.com/en-us/connectors/common/outbound-ip-addresses#power-platform), but I was not sure if those are the right IPs. I was somehow expecting some URLs containing our Tenant Name and some kind of explanation how the URL is created with our individual Tenant instead of IPs.

But if this is the solution we are already fine. 🙂 
 

Expiscornovus
Super User
Super User

Hi @LimeLeaf,

 

I think the url depends on the region and the host executing the requests. But you can probably still check other stuff in the Headers. Maybe the user-agent and the host properties?

 

Below is an example incoming request in my dev tenant (UK region).

 

useragent_headers.png

LimeLeaf
Helper II
Helper II

Hi @Expiscornovus,

thanks for reply. 

I checked the input and output JSON but there is no information about the source where the HTTP call in the cloud is started from. 

As you mentioned I also think that there is somehow a combination of tenant, region etc. that somehow defines the "source" url.  But what is the correct format, how can I test it...

Or are these IP addresses mentioned earlier the right answer to my question!?... 🙂

*confused*

Expiscornovus
Super User
Super User

Hi @LimeLeaf,


I was checking the Headers on the receiving side of things not where it was sent from. Sorry that I made it a bit confusing. The ip address range could still be a valid approach. I was just looking for a nicer way of identifying the requests 😁

 

Btw for my test I was using a HTTP action from flow A to send a POST request to flow B. Flow B has a when a HTTP is received trigger action (to simulate the API of the API endpoint provider). In the headers of that trigger action I can see these details.

 

Hopefully that clarifies things.

LimeLeaf
Helper II
Helper II

Hi @Expiscornovus,

uhh ya I don't get this. Thanks for the explanation :).

I will try this and hope that it will satisfy the needs of our API provider. Otherwise I will forward the MS outbound table to him as mentioned here earlier.

Thanks for your help! 


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.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

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.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (5,786)