# 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:
  • App Name: oneclick-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
    Select the Microsoft Azure Active Directory as Identity Provider and input the Name. Click the consent: Azure Directory Overview Login with Microsoft account: Azure Directory Overview 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 inputted 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 If you use a Microsoft personal account, the message will be shown after clicking consent. Click the portal: Azure Directory Overview Copy the Tenant ID and paste it in Configure IdP page. Then click Try again: Azure Directory Overview Azure Directory Overview Accept the permissions: Azure Directory Overview Then, the application will be created: Azure Directory Overview Click create.

  2. Note Down Provisioning Key and Secret
    Note down your PROVISIONING_KEY and PROVISIONING_SECRET. We will need these values later when deploying the DAB. Obtain Provisioning Key

  3. 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.