Forum Discussion
Fabric - Setting a tenant on notebooks
- 1 year ago
If you need to access a Key Vault in a different tenant, you’ll need to ensure that:
1. The managed identity of your Fabric workspace has been granted access to the Key Vault in the target tenant.
2. The Key Vault’s access policies or RBAC settings allow access from your managed identity.
Use Fabric’s Secret Management
Azure Fabric provides built-in secret management capabilities. Instead of accessing the Key Vault directly from your notebook, consider storing the secret in Fabric’s secret management and accessing it from there:from notebookutils import mssparkutils
secret_value = mssparkutils.secrets.get("your-secret-name", "your-secret-scope")
print(secret_value)
Hi Soobramoney
Thank you for reaching out to the Microsoft Forum community.
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.