Forum Discussion

AdarshChekodu's avatar
AdarshChekodu
Advocate IV
10 months ago
Solved

Issue with Workspace Identity Authentication in Fabric Data Pipeline Connector

Hi everyone, I’m encountering a problem when trying to use Workspace Identity for authentication with the Fabric Data Pipeline Connector. Background: When using the Developer’s OAuth 2.0 authent...
  • tayloramy's avatar
    10 months ago

    Hi AdarshChekodu,

     


    Unauthorized / The caller is not authenticated usually means the token the pipeline is running with isn’t recognized for the target action or object. With Workspace Identity that’s almost always one of: the identity isn’t enabled, it doesn’t have permissions on the target item(s), or the activity/connection isn’t actually set to use Workspace Identity.

    Troubleshooting steps

    1. Confirm Workspace Identity is enabled on the workspace.
      Workspace settings > Identity > turn on Workspace identity. See: Workspace identity.
    2. Use Workspace Identity in the activity/connection.
      In the pipeline activity that calls the other pipeline (e.g., Invoke pipeline or HTTP), select Workspace identity as the authentication method.
    3. Give the workspace identity permissions on the target pipeline and any referenced items.
      Even in the same workspace, the identity must be able to execute the child pipeline (and anything it uses: notebooks, lakehouses, warehouses, connections). Add it as Contributor (or at least a role that can run pipelines) on those items. Docs: Authenticate with workspace identity.
    4. Tenant/admin settings sanity check.
      Make sure your Fabric admin has allowed service principals/managed identities as needed and that Fabric APIs are enabled for them if you also trigger via REST. Reference (APIs context): Pipeline REST API capabilities.
    5. Re-test the Invoke pipeline activity.
      There have been reports of failures when invoking pipelines using Workspace Identity; if you’re on that path and everything above is correct, you might be hitting a current limitation/bug. Community threads: Invoke pipeline using Workspace Identity fails.

     

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