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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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