question

KimlinPen-9153 avatar image
0 Votes"
KimlinPen-9153 asked sikumars edited

Azure AD Proxy redirects to web application mainpage

Hi,

Our administrators have setup an Azure AD Application Proxy with a external URL that can access our on-premise webserver.
For example, we have setup the URL to https://<sitename>.<company>.com/

  1. In IIS, we have a "HTTP redirect" setup on the "Default Website" to a site https://<sitename>.<company>.com/<webapp>/

  2. A user will bookmark a site as https://<sitename>.<company>.com/<webapp>/xyz/abc

When a user initially launches their browser to their bookmarked site, the user is directed to the site in bullet #1. Upon clicking the bookmark again, the user will be able to access their site directly that was saved in bullet #2. Was this a normal behaviour of Azure Proxy or Azure SSO?




azure-ad-application-proxy
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

sikumars avatar image
0 Votes"
sikumars answered sikumars edited

Hello @KimlinPen-9153,

Thanks for reaching out.

Ideally, it should point it to respective relative internal links when you access https://<sitename>.<company>.com/<webapp>/xyz/abc from externally through Azure AD proxy. The behavior must be same as when you compare with internal access.

I believe "HTTP redirect" could be a reason for user redirect to "Default Website" though they access https://<sitename>.<company>.com/<webapp>/xyz/abc very first time but this would require further debugging and data collection to find out actual cause, you could use HTTP trace debug tool like fiddler to who does redirect.

Another possibility I could think of, For example, if you publish the path https://yourapp/app but the application calls images in https://yourapp/media, they won't be rendered. Make sure that you publish the application using the highest level path you need to include all relevant content. In this example, it would be http://yourapp/.

In addition to that, its worth to read this article and see if that scenario match for your environment. Thanks !

Application page does not display correctly for an Application Proxy application

Redirect hard-coded links for apps published with Azure AD Application Proxy


Hope this helps.


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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.