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

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
Anonymous
Not applicable

Update a secret in Azure Key Vault with a notebook

Is there a way to update a secret value in Azure Keyvault from within a notebook. 

Retrieving it works fine with: mssparkutils.credentials.getSecret
But changing it with: 
mssparkutils.credentials.putSecret() 
 is not working. 

 

Any ideas on this? 

5 REPLIES 5
Anonymous
Not applicable

Hi @Anonymous ,

Thanks for using Fabric Community.
Can you confirm whether you have enough permission to update? Are you following the below syntax?

vgchennamsft_0-1718878615514.png


Docs to refer - Introduction to Microsoft Spark utilities - Azure Synapse Analytics | Microsoft Learn

If you still facing the issue, can you please share the screenshot of your issue and steps you are following.

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

Anonymous
Not applicable

Hello @Anonymous ,

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 .
Thanks

Anonymous
Not applicable

Hi @Anonymous ,

We haven’t heard from you on the last response and was just checking back to see if your query was answered.
Otherwise, will respond back with the more details and we will try to help .

Thanks

Anonymous
Not applicable

jonasscheerders_0-1719414134403.png

Caused by: com.microsoft.azure.synapse.tokenlibrary.TokenServiceClientResponseStatusException: Token Service returned 'Server Error' (500), with message: {"result":"SystemError","errorId":"InternalServerError","errorMessage":"Unexpected character encountered while parsing value: R. Path '', line 0, position 0.. TraceId : e3602cf2-90c3-4f7e-8f4b-4db9993556c8 | client-request-id : 2371058b-86db-493e-8eb1-52ff64a40746. Error Component : TokenService"} ... 21 more
see, error above. 

Anonymous
Not applicable

Sorry for the late reply but I still need to check this. 
I'll come back to this! 
Thanks for the follow-up

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 2025 Fabric update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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