Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply

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 using OAuth"   
 
When i did the research it says use Service principal or use a guest user..
Any suggestions please
 
 
 
2 ACCEPTED SOLUTIONS

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.


Thanks,
Bhavin
Problem solved? Hit “Accept as Solution” and high-five me with a Kudos! Others will thank you later!

View solution in original post

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.


Thanks,
Bhavin
Problem solved? Hit “Accept as Solution” and high-five me with a Kudos! Others will thank you later!

View solution in original post

5 REPLIES 5

Thanks for the reply, We have RLS in reports, we are using OAuth, will the Service principal works..

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.


Thanks,
Bhavin
Problem solved? Hit “Accept as Solution” and high-five me with a Kudos! Others will thank you later!

You can use Guest Users Azure AD B2B from Tenant B in Tenant A so OAuth passes user identity and RLS works correctly.

Can you please explain this step... Thanks,

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.


Thanks,
Bhavin
Problem solved? Hit “Accept as Solution” and high-five me with a Kudos! Others will thank you later!
BhavinVyas3003
Super User
Super User

Yes, it's possible — but OAuth won't work across tenants. Use either:

  1. Service Principal: Register a service principal in Tenant A and grant it access to Databricks. Use it in Power BI in Tenant B.
  2. Guest User: Invite a user from Tenant B as a guest in Tenant A, assign Databricks access, and use that account in Power BI.

Best Practice: Use a Service Principal for scalable and secure access.

 


Thanks,
Bhavin
Problem solved? Hit “Accept as Solution” and high-five me with a Kudos! Others will thank you later!

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors