Create a Web App and Enable Azure AD Authentication | Intranet11597200

Intranet11597200

Question

SIMULATION -

You need to create a web app named Intranet11597200 and enable users to authenticate to the web app by using Azure Active Directory (Azure AD).

To complete this task, sign in to the Azure portal.

Explanations

See the explanation below.

1. In the Azure portal, type App services in the search box and select App services from the search results.

2. Click the Create app service button to create a new app service.

3. In the Resource Group section, click the Create new link to create a new resource group.

4. Give the resource group a name such as Intranet11597200RG and click OK.

5. In the Instance Details section, enter Intranet11597200 in the Name field.

6. In the Runtime stack field, select any runtime stack such as .NET Core 3.1.

7. Click the Review + create button.

8. Click the Create button to create the web app.

9. Click the Go to resource button to open the properties of the new web app.

10.In the Settings section, click on Authentication / Authorization.

11.Click the App Service Authentication slider to set it to On.

12.In the Action to take when request is not authentication box, select Log in with Azure Active Directory.

13.Click Save to save the changes.

To create a web app named Intranet11597200 and enable users to authenticate to the web app by using Azure Active Directory (Azure AD), follow the below steps:

  1. Sign in to the Azure portal: Go to the Azure portal (https://portal.azure.com/) and sign in with your Azure account credentials.

  2. Create a new web app: In the Azure portal, click on the “+ Create a resource” button and search for “Web App”. Click on “Web App” and then click on the “Create” button.

  3. Fill in the web app details: In the “Web App” section, fill in the details for your web app such as name, subscription, resource group, operating system, and other required details.

  4. Configure authentication: After creating the web app, you need to configure authentication using Azure AD. To do this, navigate to your newly created web app and click on “Authentication / Authorization” under the “Settings” section.

  5. Enable authentication: On the “Authentication / Authorization” screen, switch the “App Service Authentication” toggle to “On”. This will allow you to configure authentication using Azure AD.

  6. Configure Azure AD authentication: In the “Authentication / Authorization” screen, click on the “Azure Active Directory” tab. Here, you need to configure Azure AD authentication. To do this, select “Express” as the authentication provider and click on “OK”.

  7. Configure Azure AD: After configuring Azure AD authentication, you need to configure Azure AD. Click on the “Manage Azure AD” button to go to the Azure AD portal.

  8. Create a new Azure AD app: In the Azure AD portal, click on “App registrations” under the “Manage” section. Click on the “+ New registration” button to create a new Azure AD app.

  9. Configure the Azure AD app: In the “Register an application” section, fill in the details for your Azure AD app such as name, supported account types, and redirect URI.

  10. Grant permissions: After configuring the Azure AD app, you need to grant permissions to the app. Click on the “API permissions” tab and click on the “Add a permission” button. Select the required permissions and click on “Add permissions”.

  11. Configure the web app: After configuring the Azure AD app and granting permissions, you need to configure the web app to use Azure AD for authentication. Go back to the Azure portal and navigate to your web app. Click on “Authentication / Authorization” under the “Settings” section.

  12. Configure Azure AD authentication: In the “Authentication / Authorization” screen, click on the “Azure Active Directory” tab. Here, you need to configure Azure AD authentication. Select “Advanced” as the authentication provider and fill in the details for your Azure AD app.

  13. Save the configuration: After configuring Azure AD authentication, click on the “Save” button to save the configuration.

Once you have completed these steps, your web app named Intranet11597200 should be configured to enable users to authenticate to the web app by using Azure Active Directory (Azure AD).