Set HomePage for Azure AD Application Proxy applications

azureadlogo

I want to address the situation when you would like to publish a web service, but the endpoint isn’t at the top level of the web site or the endpoint you publish uses sources from other subsites at the same, but different level as your endpoint.

So if you try to publish the endpoint, the users will land on the right page, but because images or other form of sources are in neighbor site it isn’t available to the endpoint. If the endpoint is missing images, the graphical rendering might be giving a useless endpoint.

What Microsoft responded with, is the ability to set a subsite as the HomePage for the published application, making the Application Proxy able to read from the top level web site and down to all sub sites, while it is only displaying the subsite set to the HomePage for this Application.

Even if it’s been out for a year, there is still no Web GUI to control this simple behavior, so here are the up to date Powershell commands.

Remember to install the latest version of the AzureAD PowerShell module: Install-Module AzureAD

Also, here is a nice diagram to explain the flow when enabling kerberos delegation:

NetworkDiagram

 

Source for diagram.

Leave a Comment