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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
svenchio
Super User
Super User

Using key vault reference with on-prem connections

Hi everybody, according to article https://learn.microsoft.com/en-us/fabric/data-factory/azure-key-vault-reference-configure it seems like Key Vault references are not supported for on-prem data gateway connections ... assuming this was introduced between May 2025 and today (not sure when) 

 

svenchio_0-1773729639843.png

But here's the test I did:

#01. Create a gateway, as shown, is update to latest version available 

svenchio_1-1773729851043.png

 

#02. Added a Key Vault reference, checked the "Allow this Azure Key Vault reference to be utilized with either on-prem data gateways..."  as shown below.

svenchio_2-1773729907033.png

 

#03. Create an on-prem connection to my local SQL Server (confirmed that using User/Psw worked) and then, change the connection to use my azure key vault reference... but I'm getting the error  "Unable to update connection credentials. DMTS_KeyVaultNotFoundErrorCode"

svenchio_3-1773730064024.png

Needless to say that I'm the admin/owner of the key vault (via Azure's role Key Vault Administrator), gateway, azure key vault reference and connection  😅

 

It would be a GREAT DEAL OF HELP if any of you guys can reproduce the issue and let me know if you're getting the same result or is something specific on my environment. Thanks in advance. 

1 ACCEPTED SOLUTION
tayloramy
Super User
Super User

Hi @svenchio

 

I was able to reproduce this issue. 

The keyvault just doesn't work for the gateway connection. 

 

I hope Microsoft will fix this soon. 





If you found this helpful, consider giving some Kudos.
If I answered your question or solved your problem, mark this post as the solution!

Join the Fabric Discord!

Proud to be a Super User!





View solution in original post

3 REPLIES 3
tayloramy
Super User
Super User

Hi @svenchio

 

I was able to reproduce this issue. 

The keyvault just doesn't work for the gateway connection. 

 

I hope Microsoft will fix this soon. 





If you found this helpful, consider giving some Kudos.
If I answered your question or solved your problem, mark this post as the solution!

Join the Fabric Discord!

Proud to be a Super User!





To be honest, I was kind of hoping you got a different result and me doing something wrong  😅 as i wanted to create an on-prem connection and use the key vault ref.!  Thanks @tayloramy  I appreciate dearly you took the time to confirm! Kudos mate ... all the very best 😅 

 

 

Nope, no user error here unless you and I both did it. 

I do wonder if this works with other gateway versions, something for me to test out at some point I guess. 

 

I'm now also curious if this works for cloud connections that are using the gateway, or if that is also broken. 

 

Lots to explore here! 





If you found this helpful, consider giving some Kudos.
If I answered your question or solved your problem, mark this post as the solution!

Join the Fabric Discord!

Proud to be a Super User!





Helpful resources

Announcements
June Fabric Update Carousel

Fabric Monthly Update - June 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.