Mount Two Different Azure Subscription ADLS in ADB

Krushnakanth Lenka 1 Reputation point
2022-05-05T05:59:07.277+00:00

Is it possible to mount ADLS Gen 2 datalake in databricks which is in different azure subscription.

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,059 questions
{count} votes

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA-MSFT 84,936 Reputation points Microsoft Employee
    2022-05-09T05:44:18.617+00:00

    Hello @Krushnakanth Lenka ,

    Thanks for the question and using MS Q&A platform.

    Unfortunately, you cannot mount different Azure Subscription ADLS storage accounts in Azure Databricks.

    Workaround: You can use authenticate with the access key to access the ADLS storage accounts from different subscription as shown below:

    The way you set credentials for authentication depends on whether you plan to use the DataFrame or Dataset API, or the RDD API.

    200048-image.png

    For more details, refer to Get started with Azure Data Lake Storage Gen2.

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
    1 person found this answer helpful.