Returning client's IP in response RRS feed

  • Question

  • Hi

    any way I could pick up the IP of the client the request originated from and return it?


    Friday, September 13, 2019 8:19 PM


All replies

  • You could see the X-Forwarded-For attribute in output which is a common method for identifying the originating IP address of a client connecting to a web server through an HTTP proxy .

    Snapshot of logic app running in eastasia and my IP address is

    Also If the intention is to restrict calling a logic app only from specific clients. For example, you can manage your endpoint through Azure API Management, you can restrict the logic app to only accept the request when the request comes from the API Management instance IP address.

    This setting can be configured within the logic app settings:

    1. In the Azure portal, open the logic app you want to add IP address restrictions
    2. Click the Access control configuration menu item under Settings
    3. Specify the list of IP address ranges to be accepted by the trigger

    Let me know if that helps or if you have any other questions.

    Monday, September 16, 2019 3:48 AM
  • Any updates on this ?
    • Marked as answer by AzureNick Tuesday, September 17, 2019 5:49 AM
    Tuesday, September 17, 2019 2:29 AM
  • Thanks very much, I got it to work now!
    Tuesday, September 17, 2019 5:50 AM