Setup Drupal Azure Synchronization

Setup Drupal Azure Synchronization


1. Setup Drupal

  • In the Configuration tab, click on the Azure AD Sync link.
  • Click on the Let’s configure the module button.
  •  drupal azure sync lets config module
  • In STEP 1, You can select how you would like to perform the Sync. For Drupal to Azure Sync, click on the first (left) GIF.
  •  drupal azure sync select method

    2. Setup Azure AD

  • Sign in to the Azure portal.
  • Click on the Azure Active Directory from the Azure services.
  • drupal azure sync select azure application
  • From the left navigation panel, click on the App registrations service, and then click on the New registration button.
  • drupal azure sync new registaration
  • On the Register an application page, please enter the information based on the instructions mentioned below :
    • Name: Display name of the application.
    • Supported account types: Select one of the listed options as per your choice. You can also refer to Help me choose an option if needed.
    • Click on the Register button.
    • drupal azure sync enter app name

    3. Add API Permissions to your Azure AD Application

  • Go to API Permissions from the left navigation panel and click on the Add a permission button.
  • drupal azure sync API permission
  • Select Microsoft Graph under the Microsoft APIs tab and select Application Permissions.
  • In the Select Permission search bar, search for the user.
  • drupal azure sync application permission
  • Under User, select User.ReadWrite.All permission, click on the Add permissions button.
  • drupal azure sync add permission
  • Click on Grant admin consent for Default Directory and click on the Yes button to grant admin consent confirmation.
  • drupal azure sync grant admin consent

    4. Integrating Drupal with Azure AD

  • In STEP 2, you will have to configure the below-mentioned values from the Azure AD into Drupal.
    • Tenant ID:
      • From the Overview section of the Azure AD Application, copy the Directory (Tenant) ID value.
      •  drupal azure sync copy tenant id
      • Now, paste the copied Tenant ID into Drupal’s Tenant ID text field.
    • Application (Client) ID:
      • From the Overview section of the Azure AD Application, copy the Application (client) ID value.
      •  drupal azure sync copy client id
      • Paste the copied Client ID in the Drupal’s Application (Client) ID text field.
    • Client Secret:
      • From the left navigation panel, click on the Certificates & secrets menu and click on the New client secret button.
      • Add a description for the secret and select the expiry of the secret.
      • Click on the Add button.
      •  drupal azure sync certificates and secrets
      • Copy the Secret Value.
      •  drupal azure sync copy secret value
      • Paste the copied Secret value in Drupal’s Client Secret text field
    • Tenant Name/Primary Domain:
      • In the same window, hover on your profile (top right corner) and note down the Domain mentioned in the pop-up box.
      •  drupal azure sync copy domain
      • Paste the noted Domain value in Drupal’s Tenant Name/Primary Domain text field.
    • Test UPN/ID:
      • Navigate to the Azure AD and select the Users menu from the left navigation panel.
      • Copy your user’s User Principal Name to test out the integration of Drupal and Azure AD.
      • Paste the copied User Principal Name in Drupal’s Test UPN/ID text field.
      •  drupal azure sync save configuration
      • Once done with all the Configurations, click on the Save and Test Configuration button.
      • If the Test Configuration is successful, you will receive a success message like:
      •  drupal azure sync success msg
      • If you want, you can click on the link in the success message to check the attributes received from Azure AD.
      • Alternatively, if there is an error in the integration of Azure AD with Drupal, then you can check the cause of the error by following the link in the error message or scrolling down to the Test Configuration Result section.
      •  drupal azure sync error msg
      • Once successful integration, click on the Next button.

    5. Provisioning / Synchronization

  • In STEP 3, you can choose the method to provision the user.
  • Manual/On-demand Provisioning:
    • This method allows you to automatically create a new user in Azure AD.
    • Click on the Configure button of the Manual/On-Demand Provisioning section.
    •  drupal azure sync select manual provisioning
    • Under the Manual Provisioning Configuration section, check the checkbox of Create User and click on the Save button.
    •  drupal azure sync create user
    • Once saved, you can find the Sync Users section.
    • In the search field, you can enter the username of Drupal’s user and then click on the Sync button.
    •  drupal azure sync create user sync
    • If the provisioning is successful, you will receive the following status message:
    •  drupal azure sync success msg
    • Alternatively, if there is an error in provisioning the user account to Azure AD, you can check the cause of the error by following the link in the error message.
    •  drupal azure sync error msg
  • Automatic Provisioning:
    • This method allows you to automatically create a new user in Azure AD once the account is created in Drupal.
    • Click on the Configure button of the Automatic Provisioning section.
    •  drupal azure sync automatic provisioning
    • Under the Automatic Provisioning Configuration section, check the checkbox of Create User and click on the Save button.
    •  drupal azure sync automatic provisioning sync
    • Now, you can try to create a new user on the Drupal site and check the logs by navigating to Reports -> Recent log messages and using the user_provisioning filter.

    6. Support / Contact US

  • If you have any questions or queries related to the Drupal Azure Sync module, you can reach out to us by clicking on the support icon present in the bottom right corner.
  •  drupal azure sync contact us  drupal azure sync send us query
Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com