Prerequisites¶
Alation Cloud Service Applies to Alation Cloud Service instances of Alation
Customer Managed Applies to customer-managed instances of Alation
Before installing and configuring the Azure Data Factory OCF connector, ensure that you configure the network connectivity, set up the service account, and your Azure account for authentication.
To obtain the access token necessary for accessing the Azure API, ensure the following properties are set up for authentication:
Client ID
Client Secret
Grant Type
Resource Group Name
Subscription ID
Scope
Tenant ID
Create a Service Account¶
Create a service account for Azure Data Factory that can be used by Alation to authenticate the server. The service account helps in registering an OAuth client and obtaining the client credentials containing a client ID and a client secret key. This used to authenticate with Azure data factory Rest API.
Register an Application with Microsoft Entra ID¶
You need to register an application to get a client ID and secret. Then, add a scope and assign a contributor role for the application.
Obtain Client ID¶
Log on to the Azure portal as an administrator.
Go to Microsoft Entra ID > App registration > New Registration.
Enter name for an application.
Register the application.
Note
From the Overview section, copy and keep the client ID for future use.
Obtain Client Secret¶
Open the application that you created in the previous steps.
On the left pane, open the Manage section.
Navigate to Certificates & secrets > New client secret.
Enter a description and an expiry date.
Note
Copy and keep the client secret for future use.
Add Scope to the Registered Application¶
Open the application that you created in the previous steps.
On the left pane, open the Manage section.
Select Expose an API and click Add Scope.
Follow the on-screen instructions and select who can consent as Admin & User.
Set the scope to Files and Read.
Assign a Contributor Role to the Registered Client¶
In Azure portal, navigate to Azure Data Factory.
On the left pane, navigate to Access Control (IAM) > Role Assignment > Add.
Select a role for Contributor and click Next.
On the Add role assignment screen, click on Add member.
Search for and Select the Azure application that you created during app registration.
Permissions for Metadata Extraction¶
The minimum permission required for metadata extraction (MDE) is to have a read access to the files.