frithjof_v's avatar
frithjof_v
Community Champion
6 months ago
Status:
New

Interactively run notebook as Service Principal, Workspace Identity or Managed Identity

Please make it possible to interactively run a Notebook as a Workspace Identity, Service Principal or Managed Identity.

 

Purpose:

  • This would allow us to connect to resources that our personal user account doesn't have access to.
  • This would allow us to interactively test notebooks using the Workspace Identity, Service Principal or Managed Identity before we include the notebook in a pipeline. This way, we could test: the identity's access to data sources and the notebook code's functional compatibility with running as SPN/WI/MI (because not all notebook functionality like semantic link is compatible with SPN, we'd like to be able to test this interactively before including the notebook in a pipeline).

2 Comments

  • TSanger's avatar
    TSanger
    Regular Visitor

    I just attempted using workspace identity and it fails with:  ManagedIdentityCredential authentication unavailable, no response from the IMDS endpoint.
    It appears to be close enough to be frustrating.
    My Status on POC using Workspace Identity from a Fabric Notebook. * ItemStatusWorkspace Identity exists * Workspace Identity active * Graph permissions assigned * Admin consent granted * DefaultAzureCredential() works * ManagedIdentityCredential() works

Recent ideas