# Create the deployment with Microsoft Azure Active Directory (AD) by One Click Integration

# Preview

As we mentioned in Secure a Web App Using Azure AD, we need to register an OIDC application in Azure AD management portal and get the tenant id, client id and client secret for this application. What's more, we offer a more convenient way to integrate Azure AD with Datawiza Cloud Management Console (DCMC) which can create a new application on your behalf in your Azure tenant. In this tutorial, we will create a deployment with One Click Integration With Azure AD.

# Create Application on DCMC

  1. Get Started Azure Directory Overview
  2. Create Deployment Azure Directory Overview
  3. Create Provisioning Key Azure Directory Overview
  4. Add Application Configure your application with the following values:
  • Platform: Web
  • App Name: one-click-app
  • Public Domain: http://localhost:9772
  • Listen Port: 9772
  • Upstream Servers: http://host.docker.internal:3001
  • Default Action: Allow Azure Directory Overview
  1. Configure IdP Input the Name. Select the OIDC as the Protocol and Microsoft Azure Active Directory as Identity Provider. Keep the Automatic Generator option enable, then click the Create: Azure Directory Overview

Note that the one-click function will create a new application on your behalf in your Azure tenant if you log in to the DCMC with an Azure AD account.

  • If you log in to the DCMC with any other social account or email, you need to log in to Azure AD after click Create.
  • Meanwhile, we provide the optional configuration called Tenant ID. If you want to create the Azure AD application in a specified tenant, you can enter the tenant ID here.

Accept the permissions: Azure Directory Overview Note that the consent needs admin privilege: Azure Directory Overview Then, the application will be created in Azure AD management portal and needed IdP values will be generated automatically. You can click the Azure portal to check the application in Azure AD management portal. Azure Directory Overview Azure Directory Overview Azure Directory Overview NOTE: if you are using a Microsoft personal account, the message will be shown after clicking Create. Click the portal: Azure Directory Overview Copy the Tenant ID and paste it in Configure IdP page. Then click Create: Azure Directory Overview Azure Directory Overview Accept the permissions: Azure Directory Overview Then, the application will be created in Azure AD management portal and needed IdP values will be generated automatically. You can click the Azure portal to check the application in Azure AD management portal. Azure Directory Overview

  1. Note Down Provisioning Key and Secret Note down your PROVISIONING_KEY and PROVISIONING_SECRET. We will need these values later when deploying the Datawiza Access Broker (DAB).

  2. Deploy DAB With Your Application After you successfully complete the configuration on DCMC, you can refer to the Secure a Web App Using Azure AD to deploy DAB With Your Application and for more configurations.