question

KrushnakanthLenka-2258 avatar image
0 Votes"
KrushnakanthLenka-2258 asked PRADEEPCHEEKATLA-MSFT commented

Mount Two Different Azure Subscription ADLS in ADB

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

azure-databricks
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @KrushnakanthLenka-2258 ,

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.

0 Votes 0 ·

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 130616-image.png or upvote 130671-image.png button whenever the information provided helps you.

0 Votes 0 ·

1 Answer

PRADEEPCHEEKATLA-MSFT avatar image
1 Vote"
PRADEEPCHEEKATLA-MSFT answered PRADEEPCHEEKATLA-MSFT commented

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.

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


image.png (100.7 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

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.

0 Votes 0 ·