Get Secret from Azure Key Vault using Fabric Workspace Identity
Users can access key vault secrets using notebookutils.credentials.getSecret. This is based purely on the user's access (or object owner's access, if the notebook is being run in a pipeline). In larger organizations, managing access at the individual level is not scalable. It would be preferable to associate key vault privileges with a service principal so that connections keep running if a particular user leaves the business.
The workspace identity is an obvious candidate to be given key vault permissions. While this is technically possible - we can add key vault privileges to a workspace identity's associated entra ID app service principal - the service principal's credentials are not used by the notebookutils.credentials.getSecret method. (At least based on my current understanding - this seems to be a known limitation if you read related posts in the Fabric user forums as of August 2025).
Please make it possible to access key vault secrets using workspace identities.
3 Comments
- gpetritesFrequent VisitorIt is crazy how many places in Fabric the workspace identity can NOT be used. For a service intended to support enterprises, this dependency on user identities is unacceptable.
- sean_cochran
Resolver I
For anyone who liked this idea - there is now a workaround. Notebook connections can be used in a pipeline to force an SP's credentials to be used when making a key vault call. Not perfect, but it's something. - PeterDaniels
Advocate III
This would simplify AKV access so much. please, please, please
Recent ideas
Enforcing Fabric Items naming standard policy
A standardized naming framework through centralized management for Fabric items similar to one in SQL Server Policy Based Management that enforces naming standards and naming conventions compliance d...ayamas56 minutes agoRegular VisitorNew99Views0likes1CommentLet Workspace Admins manage Fabric Policies
For example, allow a Workspace Admin to grant other identities the Contributor role, while also granting them higher privileges in certain areas, e.g. List Workspace role permissions (without resha...frithjof_v58 minutes agoCommunity ChampionNew30Views0likes1CommentRun OnDemand Fabric Data Pipeline with Runtime Parameters using REST API
Currently, Microsoft Fabric Data Pipelines can be triggered on demand, but there is no native capability to pass runtime parameter values when initiating a pipeline execution through REST APIs. This ...singhs82 hours agoNew MemberNew40Views2likes2CommentsAPI support for bulk migration from PBIR-Legacy to PBIR
Provide a supported API or automated method to bulk-convert Power BI reports from PBIR-Legacy to PBIR. The conversion should preserve existing report IDs, workspaces, semantic-model connections, and...v-dugumarrir12 hours agoMicrosoft EmployeeNew14Views8likes0Comments