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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

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