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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.