is there a way to set an "X-Forwarded-Host" on Azure App Proxy?

Brendan Bladdick 11 Reputation points

When I set up my application through the app proxy url, it keeps trying to send back the internal machine name rather than the app proxy url. If not then does Azure Application Gateway have this?

I reached out to twitter support and they said no. The thing is, Esri software requires this -

So they referenced an article,, that says to try using a Reply URL however when I asked for documentation on how to use this to achieve what the X-Forwarded-Host, they said they don't have any docs on how to achieve this solution.

My question is, will it be required to set a "reply URL" or a "Redirect URI" within Azure App Proxy to achieve what the X-Forwarded-Host Header is supposed to do? If so do you have a guide on how to do this?

Thank you,


Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,392 questions
0 comments No comments
{count} vote

4 answers

Sort by: Most helpful
  1. Brendan Bladdick 11 Reputation points

    What is the workaround then when applications require X-Forwarded-Host on their proxy?

    1 person found this answer helpful.
    0 comments No comments

  2. Siva-kumar-selvaraj 15,546 Reputation points

    Hello Brendan,

    Thanks for reaching out and sincere apologies for the delay on this. We are constantly trying to reduce our answer time and in coming days you will see a significant improvement here. So we appreciate you posting your future queries here.

    Unfortunately, X-Forwarded-Host does not supported by Azure AD Application Proxy.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

  3. Kaderli Manuel 6 Reputation points

    I second Brendans question:
    How can you set X-Forwarded-Host in Azure App Gateway when it is required by my application?

    0 comments No comments

  4. Daniel Fricke 0 Reputation points

    Brendan, you could upvote this feature request regarding supporting X-Forwarded-Host header:

    0 comments No comments