Configuring Microsoft Azure Data Lake Store account in webMethods.io Integration Workflow
Tags: integration, tutorial, azure, cloud
Published: 2021-04-13 13:19:57

---
title: Configuring Microsoft Azure Data Lake Store account in webMethods.io Integration Workflow
published: true
date: 2021-03-10 13:32:11 UTC
tags: #integration, #tutorial, #azure, #cloud
canonical_url: https://tech.forums.softwareag.com/t/configuring-microsoft-azure-data-lake-store-account-in-webmethods-io-integration-workflow/239570
---

## Summary:

This article describes the step-by-step process of registering **Microsoft Azure Data Lake Store Gen 2** with Azure Active Directory & generating the Access token, configuring the account in **[webMethods.io](http://webMethods.io) Integration**.

## Pre-requisites:

- The user needs to have a working **Microsoft Azure Active Directory** and a **Microsoft Azure Data Lake License** to access the **API**.
- Working **[webMethods.io](http://webMethods.io) Integration** cloud tenant.

## Contents:

Section 1: Create and Configure the App in **Microsoft Azure Active Directory**  
Section 2: Generate the **Access\_token** and **Refresh\_token** using the REST Client  
Section 3: Configuring the **Microsoft Azure Data Lake Store Gen 2** account in **[webMethods.io](http://webMethods.io) Integration**

### Section 1. Create and Configure the App in **Microsoft Azure Active Directory**

1. Login to the [Azure Portal](https://portal.azure.com/) (use your **Microsoft credentials** )
2. Once you have logged in navigate to **“Azure Active Directory”** and click on **“App registrations"**.
[![Microsoft Azure Data Lake Store](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/raw/master/Microsoft%20Azure%20Data%20Lake%20Store/images/1.png)](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/blob/master/Microsoft%20Azure%20Data%20Lake%20Store/images/1.png)
3. Click on **“New registration”**.
[![Microsoft Azure Data Lake Store](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/raw/master/Microsoft%20Azure%20Data%20Lake%20Store/images/2.png)](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/blob/master/Microsoft%20Azure%20Data%20Lake%20Store/images/2.png)
4. Fill in the necessary information for the App, like **Name** , **Redirect URI**  
**Supported account types –** Users can choose from the options based on their requirement. For more information about the supported scopes, click on “Help me choose…” and click on **Register**
In the URL field, enter the URL using which you need to obtain the OAuth authentication token in response to the request from the URL: ([Enterprise Integration & IoT Platform | Software AG](https://www.softwareag.com/en_corporate.html)). Users can use any accessible URL like [http://www.google.com](http://www.google.com/)
[![Microsoft Azure Data Lake Store](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/raw/master/Microsoft%20Azure%20Data%20Lake%20Store/images/3.png)](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/blob/master/Microsoft%20Azure%20Data%20Lake%20Store/images/3.png)
5. It will take a few seconds to create the application for you. Please note down the **Application ID** as you will require it when connecting to **Azure Data Lake Store** using **OAuth**.
[![Microsoft Azure Data Lake Store](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/raw/master/Microsoft%20Azure%20Data%20Lake%20Store/images/4.png)](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/blob/master/Microsoft%20Azure%20Data%20Lake%20Store/images/4.png)
6. Click on **API permissions** , it will show the available permissions. Users can add more permissions based on requirement by clicking on **“Add a permission”** button.
[![Microsoft Azure Data Lake Store](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/raw/master/Microsoft%20Azure%20Data%20Lake%20Store/images/5.png)](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/blob/master/Microsoft%20Azure%20Data%20Lake%20Store/images/5.png)
7. Select the **“Microsoft Azure Data Lake” API** from the API listing menu and click on it.  
**NOTE:** In case the user wants to use Microsoft Paid offerings, the user needs to obtain a license to use the desired APIs for the tenant.
[![Microsoft Azure Data Lake Store](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/raw/master/Microsoft%20Azure%20Data%20Lake%20Store/images/6.png)](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/blob/master/Microsoft%20Azure%20Data%20Lake%20Store/images/6.png)
8. Select all available permissions in the wizard, Delegated as well as Application permission and then click on **“Add permissions“** button.
[![Microsoft Azure Data Lake Store](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/raw/master/Microsoft%20Azure%20Data%20Lake%20Store/images/7.png)](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/blob/master/Microsoft%20Azure%20Data%20Lake%20Store/images/7.png)
9. After selecting all the necessary permissions, the user needs to click on the **“Grant admin consent”** button. Click on **“Yes”** to grant **admin consent**.
[![Microsoft Azure Data Lake Store](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/raw/master/Microsoft%20Azure%20Data%20Lake%20Store/images/8.png)](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/blob/master/Microsoft%20Azure%20Data%20Lake%20Store/images/8.png)

### Section 2. Generate the **Access\_token** and **Refresh\_token** using the REST Client

1. Users can also generate the **“client\_secret”** via the below-mentioned process.

- Click on **Certificates and Secrets** and then click on **New Client Secret**.

- Choose the desired time duration for your secret key, click on the **Add** button.

- Your Client secret will be generated. Store it for use during Access Token generation.
[![Microsoft Azure Data Lake Store](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/raw/master/Microsoft%20Azure%20Data%20Lake%20Store/images/9.png)](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/blob/master/Microsoft%20Azure%20Data%20Lake%20Store/images/9.png)
[![Microsoft Azure Data Lake Store](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/raw/master/Microsoft%20Azure%20Data%20Lake%20Store/images/10.png)](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/blob/master/Microsoft%20Azure%20Data%20Lake%20Store/images/10.png)
1. Now we have done all the necessary settings, that we require to generate the Access\_token. We will use the **“Postman” client** to generate the **Access\_token**. Set up a POST call request with the base URL as below.  
[https://login.microsoftonline.com/](https://login.microsoftonline.com/)(tenant id)/oauth2/token
2. Generate **authorization code** using the below URL by providing the required data  
[https://login.microsoftonline.com/](https://login.microsoftonline.com/)(tenant id)/oauth2/authorize?response\_type=code&prompt=login&redirect\_uri=(redirect uri)&client\_id=(client id)
[![Microsoft Azure Data Lake Store](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/raw/master/Microsoft%20Azure%20Data%20Lake%20Store/images/11.png)](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/blob/master/Microsoft%20Azure%20Data%20Lake%20Store/images/11.png)
1. After generating authorization code , Add all the parameters mentioned below to generate access token in postman

- **Client ID:** Enter the Application ID from the registered app in Azure Portal.
- **Code:** authorization\_code
- **Client Secret:** Enter the Client Secret generated
- **Code:** Enter the authorization code generated from step 12
- **Redirect\_uri:** Enter the Redirect URL from the registered app in Azure Portal.
1. Now, we have generated the **Access\_token** and **Refresh\_token** successfully. We will configure the Microsoft connection in **[webMethods.io](http://webMethods.io) Integration**.
[![Microsoft Azure Data Lake Store](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/raw/master/Microsoft%20Azure%20Data%20Lake%20Store/images/12.png)](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/blob/master/Microsoft%20Azure%20Data%20Lake%20Store/images/12.png)  
[![Microsoft Azure Data Lake Store](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/raw/master/Microsoft%20Azure%20Data%20Lake%20Store/images/13.png)](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/blob/master/Microsoft%20Azure%20Data%20Lake%20Store/images/13.png)

### Section 3. Configuring the **Microsoft Azure Data Lake Store Gen 2** account in **[webMethods.io](http://webMethods.io) Integration**

1. Login to **[webMethods.io](http://webMethods.io) Integration** tenant
2. Create new project or choose an existing project if required
3. Click on FlowServices tab and add new Flow Service
[![Microsoft Azure Data Lake Store](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/raw/master/Microsoft%20Azure%20Data%20Lake%20Store/images/14.png)](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/blob/master/Microsoft%20Azure%20Data%20Lake%20Store/images/14.png)
1. Name the flow service and choose the **Microsoft Data Lake Store V2 connector**.
[![Microsoft Azure Data Lake Store](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/raw/master/Microsoft%20Azure%20Data%20Lake%20Store/images/15.png)](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/blob/master/Microsoft%20Azure%20Data%20Lake%20Store/images/15.png)
1. Click on **“Add custom operation”** and then the “+” icon in the following tab. Users can choose the **predefined operations** and then Configure the **account** if required.
[![Microsoft Azure Data Lake Store](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/raw/master/Microsoft%20Azure%20Data%20Lake%20Store/images/16.png)](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/blob/master/Microsoft%20Azure%20Data%20Lake%20Store/images/16.png)  
[![Microsoft Azure Data Lake Store](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/raw/master/Microsoft%20Azure%20Data%20Lake%20Store/images/17.png)](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/blob/master/Microsoft%20Azure%20Data%20Lake%20Store/images/17.png)
1. Enter all the **required** details and Click on **“Add”** to save the Account successfully.
[![Microsoft Azure Data Lake Store](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/raw/master/Microsoft%20Azure%20Data%20Lake%20Store/images/18.png)](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/blob/master/Microsoft%20Azure%20Data%20Lake%20Store/images/18.png)  
[![Microsoft Azure Data Lake Store](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/raw/master/Microsoft%20Azure%20Data%20Lake%20Store/images/19.png)](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/blob/master/Microsoft%20Azure%20Data%20Lake%20Store/images/19.png)
1. After configuring the account , **“Name”** the custom operation , Select the functional area and click on **“Next”**
[![Microsoft Azure Data Lake Store](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/raw/master/Microsoft%20Azure%20Data%20Lake%20Store/images/20.png)](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/blob/master/Microsoft%20Azure%20Data%20Lake%20Store/images/20.png)
1. Select the **operation** and click on **“Next”**
[![Microsoft Azure Data Lake Store](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/raw/master/Microsoft%20Azure%20Data%20Lake%20Store/images/21.png)](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/blob/master/Microsoft%20Azure%20Data%20Lake%20Store/images/21.png)
1. Select the **Business Object** (Since the selected operation is of type **simple** , Business object not required here) and click on **“Next”**
[![Microsoft Azure Data Lake Store](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/raw/master/Microsoft%20Azure%20Data%20Lake%20Store/images/22.png)](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/blob/master/Microsoft%20Azure%20Data%20Lake%20Store/images/22.png)
1. Select the **Fields** (Since the selected operation is of type **simple** , Fields not required here) and click **“Next”** , Click on **“Done”** for the confirmation.
[![Microsoft Azure Data Lake Store](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/raw/master/Microsoft%20Azure%20Data%20Lake%20Store/images/23.png)](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/blob/master/Microsoft%20Azure%20Data%20Lake%20Store/images/23.png)  
[![Microsoft Azure Data Lake Store](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/raw/master/Microsoft%20Azure%20Data%20Lake%20Store/images/24.png)](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/blob/master/Microsoft%20Azure%20Data%20Lake%20Store/images/24.png)
1. After creating custom operation and adding account , Save the flow service and click on run to run the flow service
[![Microsoft Azure Data Lake Store](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/raw/master/Microsoft%20Azure%20Data%20Lake%20Store/images/25.png)](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/blob/master/Microsoft%20Azure%20Data%20Lake%20Store/images/25.png)  
[![Microsoft Azure Data Lake Store](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/raw/master/Microsoft%20Azure%20Data%20Lake%20Store/images/26.png)](https://github.com/webMethods-Connectors/Connectors-SaaS-accounts-configuration/blob/master/Microsoft%20Azure%20Data%20Lake%20Store/images/26.png)

[Read full topic](https://tech.forums.softwareag.com/t/configuring-microsoft-azure-data-lake-store-account-in-webmethods-io-integration-workflow/239570)