Implementing Active Directory authentication
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 Azure App Service.
Deploying the Web App
In the first part of this demonstration, we are going to deploy a sample Web App. We are going to be using a sample application and will deploy this to Azure using a PowerShell script.
To do this, perform the following steps:
- First, we need to log into our 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's name:
$gitrepo=”https://github.com/Azure-Samples/app-service-web-dotnet-get-started.git” $webappname=”PacktWebApp...