Forum Discussion

YashikaAgrawal's avatar
YashikaAgrawal
Post Patron
1 year ago
Solved

Power BI with Databricks

Guys, In power bi, we are in process to migrate from Tenant A to tenant B, is it possible "we migrating Power BI reports to Tenant B, but the Databricks data source remains in Tenant A. we are us...
  • BhavinVyas3003's avatar
    BhavinVyas3003
    1 year ago

    Service Principal may not support user-based RLS because it uses app-only authentication.
    You can use Guest Users Azure AD B2B from Tenant B in Tenant A so OAuth passes user identity and RLS works correctly.

  • BhavinVyas3003's avatar
    BhavinVyas3003
    1 year ago

    In Tenant A's Azure AD, invite users from Tenant B as guest users.

    Assign these guest users the necessary permissions in Databricks (workspace, cluster, SQL warehouse).

    In Power BI (Tenant B), connect to Databricks using OAuth and authenticate with the guest user's credentials.

    Publish and test the report. RLS should work as the guest user's identity is passed through OAuth.