Skip to content

Commit bde5b57

Browse files
authored
Update 3.access_adls_using_service_principal.py
1 parent e8d91a2 commit bde5b57

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

3.access_adls_using_service_principal.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
1-
# Databricks notebook source
2-
# MAGIC %md
3-
# MAGIC ### Access Azure Data Lake using Service Principal
4-
# MAGIC #### Steps to follow
5-
# MAGIC 1. Register Azure AD Application / Service Principal
6-
# MAGIC 2. Generate a secret/ password for the Application
7-
# MAGIC 3. Set Spark Config with App/ Client Id, Directory/ Tenant Id & Secret
8-
# MAGIC 4. Assign Role 'Storage Blob Data Contributor' to the Data Lake.
9-
10-
# COMMAND ----------
11-
1+
# COMMAND -------
122
client_id = ""
133
tenant_id = ""
144
client_secret = ""

0 commit comments

Comments
 (0)