cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Establishing a Connection between ADLS Gen2, Databricks and ADF In Microsoft Azure

Pratikmsbsvm
Contributor

Hello,

May, Someone please help me with establishing connection between ADLS Gen2, Databricks and ADF, full steps if possibble. Do I need to route through key-vault, this is i am first time doing in production,.

May somebody please share detailed step for implementing in Production.

ADF - Orchastrator

ADLS Gen2 - Storage

Databricks - Processsing data, transformation using pyspark.

Thanks a lot

1 REPLY 1

juan_maedo
New Contributor III

Hi!

I asume that ADF is just the trigger and it's from Databricks the direct access to ADLS to process the data.

ADLS Access:

You create an External Location in your Databricks workspace that acts as a bridge to ADLS. This is done through Catalog Explorer.

To set it up:

  • Create a Storage Credential using a Managed Identity (or Service Principal) that has permissions to your ADLS

  • Create an External Location that links this credential to your specific ADLS path

  • You can assign granular permissions at the workspace or catalog level

That's it. Now Databricks can read and write to that ADLS path directly.

juan_maedo_1-1764861010907.png

 

Reference: https://learn.microsoft.com/en-us/azure/databricks/connect/unity-catalog/cloud-storage/external-loca...

Calling Databricks Job

To trigger a Databricks job from ADF, you need:

  • Job ID - the ID of your Databricks job

  • Linked Service - an ADF connection to your Databricks workspace (using a Service Principal)

That's the minimum. Everything else is optional, likes warehouse/cluster id if dont need serverless, parameters jobs, etc.

Reference: https://learn.microsoft.com/en-us/azure/data-factory/transform-data-databricks-job

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now