Reputation: 3
I'm trying to figure out if it is possible to get the IP address from where the Azure Function was triggered, when called by a webhook/httptrigger.
I've only looked at PowerShell, since that's what I know, but so far I've found nothing when debugging.
/Per
Upvotes: 0
Views: 1198
Reputation: 14334
For v2 Function we use HttpRequest
, so when we use HTTP trigger function, we could use
req.HttpContext.Connection.RemoteIpAddress
Then you will be able to see the client remote ip.
Upvotes: 2