Azure Data factory, Service principal, Data bricks.
how to create SP: : • 🔴 Live Demo | How to Create Service Princi...
configs = {"fs.azure.account.auth.type": "OAuth",
"fs.azure.account.oauth.provider.type": "org.apache.hadoop.fs.azurebfs.oauth2.ClientCredsTokenProvider",
"fs.azure.account.oauth2.client.id": "clientId",
"fs.azure.account.oauth2.client.secret": "appSecret",
"fs.azure.account.oauth2.client.endpoint": "https://login.microsoftonline.com/Ten..."}
dbutils.fs.mount(
source = "abfss://[email protected]/",
mount_point = "/mnt/path",
extra_configs = configs)