Before you begin
An Azure subscription is required.
- Create your Azure Data Lake Storage account. For more details about how to do this, see Azure documentation: Create an Azure Data Lake Storage account.
- Create an Azure Active Directory application on your Azure portal. For more details about how to do this, see the "Create an Azure Active Directory application" section in Azure documentation: Use portal to create an Azure Active Directory application.
Obtain the application ID and the authentication key from the portal.
- On the list of the registered applications, click the application you created and registered in the previous step to display its information blade.
- In the Essentials area, copy its application ID.
- Click All settings to display the Settings blade and click Required permissions on that blade.
- On the Required permissions blade, click Windows Azure Active Directory to display the Enable Access blade.
- Select the permissions to be granted to your application and click Save to close the Enable Access blade. You may need the consent of the administrator of your Azure portal to eventually validate the grant.
- Still on the Required permissions blade of your application, click Add and on the Add API access blade, click Select an API.
- Click Azure Data Lake and then click Select to validate your selection and automatically open the Enable Access blade of this API.
- Select the permission to be granted and click Select to close the Enable Access blade.
- On the Add API access blade, click Done to return to the Setting blade of your application.
- Click Keys to open the Keys blade.
- In the Password area, enter the description of you key, define its duration of validity and then click Save to display the value of your key.
- Copy the key value and keep it somewhere you think safe because you are not able to retrieve the key anymore once you leave this blade.
- Back to the list of the Azure Data Lake Storage services, select the Data Lake Storage you created at the beginning of the procedure and then click Data Explorer.
- On the blade that is opened, click Access to open the Access blade.
- Click Add and on the Select User or Group blade, search for your application, select it and click the Select button to open the Select Permission blade.
Select the permission to be assigned to your application and click OK.
In this example, select all the permissions.
Obtain the Azure OAUTH 2.0 token endpoint by proceeding as follows:
- Click Azure Active Directory and on the blade that is displayed, click App registrations.
- On the App registrations blade, click Endpoints and on the Endpoints blade, copy the value of the OAUTH 2.0 TOKEN ENDPOINT field.