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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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
Anonymous
Not applicable

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 @Anonymous , 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.