web resource urls are still the internal url when accessing the app from external using app proxy

TPlink 61 Reputation points
2020-07-11T04:05:45.513+00:00

Hi,
I have a internal application, which the url is: https://myserver/myapp. as you can see this app is under the root domain. and https://myserver is another application. (in my production env, I cant change this structure for some historical reason)

Now, I create a azure app proxy, and for example, the external url is https://publicdomain/, internal url is https://myserver.

but when I try to access the external url https://publicdomain/myapp, all the static resource(css, js,image) are still under https://myserver/myapp/, obviously browser can not load these files since there are internal.

even I set the https://myserver/covid19/ as internal url, and when access the internal url https://publicdomain/mypp has the same issue.

can someone help me to check how can I fix this issue?

Thanks

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

Accepted answer
  1. Krish G 2,331 Reputation points
    2020-07-13T06:52:01.067+00:00

    Hello @TPlink-3643 , Can you follow this and this. Note the third option. There are multiple options for enabling inline link translation. These options include using the Intune Managed Browser, My Apps extension, or using the link translation setting on your application. To learn more about each of these options and how to enable them, see Redirect hardcoded links for apps published with Azure AD Application Proxy.
    If you do not have hardcoded link, but all are relative, check if you backend application is passing the forwarded headers from the request to the backend. Though I am not sure about your application, but for an asp.net core app, the guide is here.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.