Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply

Mounting the storage account in a notebook using azure key vault

I want to mount an ADLS Gen2 account

in a notebook .

poojitha_yeluru_0-1714461819604.png

getting below error

poojitha_yeluru_1-1714461866880.png

 

11 REPLIES 11
Anonymous
Not applicable

Hi @ ,

Thanks for using Fabric Community.
Here are few options to connect to ADLS gen2 in Fabric -
Databricks and Fabric — writing to OneLake and ADLS Gen2 | by Aitor Murguzur | Medium
Solved: read Azure Data Lake from notebook fabric - Microsoft Fabric Community

Additional Docs to refer -
Create an Azure Data Lake Storage Gen2 shortcut - Microsoft Fabric | Microsoft Learn

Hope this is helpful. Please let me know incase of further queries.

I was going through the spark utilities in fabric documentation there I went to the Mount via shared access signature token or account key
when I execute below code 

poojitha_yeluru_0-1714463840245.png

It is giving me error, I know we can create connection to adls from settings through manage connection and gateways and also through shortcuts, but when I execute above code why it is not working . 

Anonymous
Not applicable

Hi @ ,

Thanks for sharing the doc, let me go through it once and provide some insights over it.

Anonymous
Not applicable

Hi @poojitha_yeluru ,

Apologies for the delay in reply from our side.
It looks like you don't appropriate access inorder to get the secrets from key vault.
Can you please confirm whether you have access to it or not?

 

vgchennamsft_0-1714729482675.png

 

 

Hi @Anonymous 
I had attached the level of acces to my key vault . If these roles are not sufficient, please let me know I will add them.

 

poojitha_yeluru_0-1714876321118.png

 

Anonymous
Not applicable

Hi @poojitha_yeluru ,

Please refer this doc - Reading and Writing Secrets in Azure Key Vault Using Microsoft Fabric Notebooks (iterationinsights.c...

Hope this is helpful. Please let me know incase of further queries.

Hi @Anonymous , I had gone through the above link I had choose the 

Anonymous
Not applicable

Hi @poojitha_yeluru ,

At this time, we are reaching out to the internal team to get some help on this .
We will update you once we hear back from them.

Anonymous
Not applicable

Hi @poojitha_yeluru ,

It would be good to see what code you actually executing and the error, but it seems extremely likely that the two different accounts is the reason. The user that is executing in Fabric, would need to be the same user with access to the keyvault.

Please share the complete code in private message.

Anonymous
Not applicable

Hello @poojitha_yeluru ,

We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet .
In case if you have any resolution please do share that same with the community as it can be helpful to others .
Otherwise, will respond back with the more details and we will try to help .

Anonymous
Not applicable

Hi @poojitha_yeluru ,

As discussed internally, the reason for your issue is because of using two different accounts in Azure and Fabric. 


I hope you got some insight on your query. Please continue using Fabric Community on your further queries.

Helpful resources

Announcements
August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.