Azure Application Proxy URL redirect or different internal/external URL

Iron Contributor

Hi,

 

Another Application Proxy question \o/ yay i hear you cry.

 

Today i'm wondering if we can provide the following functionality through Application Proxy..

redirecting, or using a separate internal and external URL.

 

For example, say you are publishing a webapp/page/site whatever on a multi purpose web host, or you just want to publish a certain vdir as the root, so someone would visit https://somewebapp-tenancy.msappproxy.net/ and in the backend they may be sent to, on the web server http://internalwebapp.internal/somevdir/

 

is this possible? the option to edit the external URL is greyed out and just copies what is put in the internalURL, resulting in needing to visit https://somewebapp-tenancy.msappproxy.net/somevdir/

 

an alternate to this would be to allow redirects at the proxy, so hitting https://somewebapp-tenancy.msappproxy.net/ would then throw you over to https://somewebapp-tenancy.msappproxy.net/somevdir/ with no user intervention or need for them to recall which vdir they require (or losing their bookmar and all emails with provided links in)?

 

or... is this sort of internal path mapping/routing fudge more of a no-no now and its a step towards trying to remove convoluted sillyness/fudges to overcome bad practice on the web server?

 

Regards

Pete

4 Replies
just an FYI for anyone interested.
it seems that this is currently not an available feature for either AADAP or Application Gateway.
HTTP to HTTP redirect, or URL rewrites are noted as in development for Application Gateway, I've not spotted any development on the AADAP front with regard to this features.

so, it seems that the minimum topology likely to be required to replace ISA/TMG in a like for like within Azure services is:

AADAP (client facing front end, authentication)
Azure Load balancer
IIS ARR (load balancing, redirects, rewrites)

once AAG supports redirects and re-writes we can then at least get shot of the IIS ARR machines and make it:

AADAP
AAG

@Peter Holland old thread but still relevant. Maybe you have any updates on this? Have the same issue here where i need to redirect to http://reportserver/reports instead of just http://reportserver  i thought that there is now a solution available for this but can't find anymore the relevant article

 

EDIT:
FOUND IT! :) We can set a custom home page url via "branding" in azure blade "app registrations" Custom home page for published apps - Azure AD Application Proxy | Microsoft Docs

@jjuelke I ended up doing a base redirect on the reporting services server. last time i looked at the custom home page it only seemed to do anything if using the myapps link, not using an old bookmark or typing the root address into the browser. 

may well have been changed/improved since then as that was a couple of years ago

yes, only works when using myapps.microsoft.com but ok for me, otherwise we would set up a azure application gateway or a base redirect local on server as you