Forum Discussion

willparker1's avatar
willparker1
New Member
1 year ago
Solved

Azure Key Vault References

Hi

 

Anyone tried using the new Azure Key Vault references feature?

 

I think it was part of the Q1 2025 feature drop but looks only partially implemented to me.

 

We now have a new tab under "Manage Connections and Gateways" called "Azure Key Vault references". Under there we can successfully create entrries to reference Azure Key Vault resources created within our tenant.

 

How do we reference them? There appears to be no documentation on this that I can find.

 

If we have a Cloud Connection to Azure Blob Storage - Happy Days. A neat little Key Vault icon next to the authentication credentials field.... just click on that and enter your key vault reference.

 

Any other connections? I can't see any way of connecting. No nice little icons, and no way of entering teh key vault reference for a connection.

 

Can anyone advise how this new feature is supposewd to be used?

 

  • Hi onerbreno 

    If your Fabric notebook isn't fetching secrets with mssparkutils.credentials.getSecret(), here are a few troubleshooting stesps to look out for:

    • Make sure your Fabric workspace's managed identity has both the Key Vault Reader and Key Vault Secrets User roles assigned in Azure Key Vault's "Access Control (IAM)".
    • Verify the Key Vault name and secret name in your code — they are case-sensitive. Even minor typos can cause silent failures.
    • Check that the secret is active — not disabled or expired.
    • If your Key Vault uses private endpoints or has public access fully disabled, Fabric won’t be able to reach it. Fabric currently doesn’t support connecting to Key Vaults through private endpoints.
    • This code will only work inside a Fabric notebook — it won’t function in an external IDE or local script.
    • To confirm which identity your notebook is using to call the Key Vault, run:
              from notebookutils import mssparkutils
              print(mssparkutils.credentials.getIdentityName()
      Let me know if you need help checking any of these or interpreting what you find!

    Note:For refrence check the below link for supported connectors and authentication types.
    Azure Key Vault Reference overview (Preview) - Microsoft Fabric | Microsoft Learn

    FYI 

    If the above information is helpful, please give us Kudos and mark the response as Accepted as solution.
    Best Regards,
    Community Support Team _ C Srikanth.

19 Replies