Configure Remote IIS Administration for Microsoft Azure App Service

NOTE: since the update to Windows Server 2016 and IIS 10 this capability is no longer supported and it likely never will be again. In the short-term, you need to be looking for an alternative and learn to live without this one….IMO. Consider Web Apps for Containers.

I wrote an article about configuring remote IIS administration here, but what I recently found out is that you can also add a Azure App Services like Web Apps, Mobile Apps, API Apps and Logic Apps to your IIS management console. This is super cool, because it makes the configuration of Failed Request Tracing, URL Rewrite, etc… much easier.

Here is the article where I first discovered the capability, but I wanted to share my own experience.

Add an App Service to the IIS management console by selecting the Connect to a Site… menu item from within the IIS management console, as illustrated in Figure 1.


Figure 1, Add an Azure App Service (Web App) for remote management

Once clicked, enter the details of your App Service into the window, as shown in Figure 2. In this example, I have a Web App named STANDARD and use the KUDU website URL for the administration. I discuss KUDU in more detail here.

Once the information for your App Service is entered, click the Next button to enter the credentials, as shown in Figure 3.


Figure 2, configure an Azure App Service for remote management


Figure 3, Azure App Service publishing credentials for remote IIS management

The user name and password credentials required here are contained within your publish profile. You can get this information by selecting on the web app you want to remote manage, as illustrated in Figure 4a.


Figure 4a, download publish profile from the Azure AUX portal

In the new Azure portal, you can get the Publish Profile as shown in Figure 4b.


Figure 4b, download publish profile from the new/current Azure portal

Use the userName and userPWD found within your publish profile file, similar to that shown in Figure 5.


Figure 5, publishing profile example for an Azure App Service

Enter the credentials, and click on the next button.


Figure 6, adding credentials to IIS management console for remote Azure Web App management

Give the connection a name, and select the Finish button.


Figure 7, name the remote administration Azure App Service connection

After selecting the Finish button I received a message that there were some new and dependent features available, as illustrated in Figure 8. I added all of them.


Figure 8, new feature window when configuring Azure App Service for remote management

Once added and connected, as shown in Figure 9, you can navigate through the configuration and make changed to the configuration as needed. I like this feature a lot and will recommend it to any customer I work with.


Figure 9, Remote management of an Azure App Service, ex: Web App, Mobile App, API App, Logic App in IIS