By configuring the authentication and authorization feature of the web app, Windows-integrated authentication is enabled. In this demonstration, we are going to enable this for a web app. First, we will deploy a web app to an Azure App Service.
Deploying the web app
In this first part of the demonstration, we are going to deploy a sample web app. We are using a sample application and will deploy this in Azure using a PowerShell script. Therefore, we have to perform the following steps:
- First, we need to log in to the Azure account, as follows:
Connect-AzAccount
- If necessary, select the right subscription, as follows:
Select-AzSubscription -SubscriptionId "********-****-****-****-***********"
- Specify the URL for the GitHub sample application and specify the web app name:
$gitrepo="https://github.com/Azure-Samples/app-service-web-dotnet-get-started.git"
$webappname="PacktWebApp"
- Create a web app:
New-AzWebApp...