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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
PranayPanchal
Regular Visitor

Power BI works with Azure AD B2C?

We have an Angular web application that uses C# WebAPI. We want to use Power BI dashboards and paginated reports in our application. We use Azure AD B2C for authentication. Does Power BI support Azure AD B2C Authentication? How can it be made to work for a multi-tenant database that uses RLS policy using session_contexts to access tenant specific data?

If there are any examples it would be good to see these.

2 REPLIES 2
v-rzhou-msft
Community Support
Community Support

Hi @PranayPanchal ,

 

As far as I know, Azure AD B2C may cowork with AAD( not Power BI specific, but also work with other AAD based Microsoft online services.). 

 

I suggest you to try to pass ths single master account into Azure AD with power bi access by your application.
Then you can try to use the username from Azure B2C for RLS with GenerateToken.

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Hi @v-rzhou-msft , thank you for your response.
I don't understand "Then you can try to use the username from Azure B2C for RLS with GenerateToken." this bit. Please can you elaborate. Please note that when the data for the dashboard is requested, the session_contexts must be set correctly to indicate the current tenant so that the data for the tenant in question is fetched. I am not sure how you are suggesting we do this.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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