I have an App Services that gets user data (IP) for logs from who uses my app. I deployed the Azure front door and since then, my application is collecting the Azure Front Door IP instead of my clients' device IP.
How can I fix this without change my application?
Thank you!
Azure Front Door retains the client IP address as part of documented headers.
In particular, your application would need to inspect and parse either X-Azure-ClientIP
, X-Azure-SocketIP
, or X-Forwarded-For
headers depending on which best captures the source IP you're interested in.