Is it possible to mount ADLS Gen 2 datalake in databricks which is in different azure subscription.
Is it possible to mount ADLS Gen 2 datalake in databricks which is in different azure subscription.
Thank you for posting query in Micrsoft Q&A Platform. It should be possible. Do you faced any issue on this? If yes, Kindly share error message details along with the sample code. Thank you.
Hello @KrushnakanthLenka-2258,
Following up to see if the below suggestion was helpful. And, if you have any further query do let us know.
Please don't forget to click on
or upvote
button whenever the information provided helps you.
Hello @KrushnakanthLenka-2258,
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.

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
or upvote
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
Hello @KrushnakanthLenka-2258,
Just checking in to see if the above answer helped. If this answers your query, do click Accept Answer and Up-Vote for the same. And, if you have any further query do let us know.
9 people are following this question.