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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.