cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jmcgrath
Frequent Visitor

Azure AD B2C with Power BI embed

Will Azure AD B2C work to authenticate users for Power BI embedded.  Will I be able to get the proepr token?

8 REPLIES 8
otravers
Continued Contributor
Continued Contributor

Necro posting here because this page ranks high in search engines. AAD B2C is not supported by Power BI Embedded and support for this is not planned:

Allow Azure AD B2C users to access PowerBI dashboards – Customer Feedback for ACE Community Tooling

u02cm62
Resolver I
Resolver I

Is there any update to this that's more recent?  Is Azure B2C supported?  I can't seem to find any info on this especially newer posts as this stuff changes so fast.

Anonymous
Not applicable

Hi, 

I am trying to use same authentication process B2C for authenticating the users using single master account.

Can you please let me know how to get the username from Azure B2C and to apply the RLS i will need the user names before hand then only i would able to apply rules on it hwo to get that. 

 

Thanks,

Pankaj

Eric_Zhang
Microsoft
Microsoft


@Jmcgrath wrote:

Will Azure AD B2C work to authenticate users for Power BI embedded.  Will I be able to get the proepr token?


As per the online FAQ documentation, it seems possible.


Can I use Azure AD B2C features in my existing, employee-based Azure AD tenant?

Azure AD and Azure AD B2C are separate product offerings and cannot coexist in the same tenant. An Azure AD tenant represents an organization. An Azure AD B2C tenant represents a collection of identities to be used with relying party applications. With custom policies (in public preview), Azure AD B2C can federate to Azure AD allowing authentication of employees in an organization.

 

My understanding is that Azure AD B2C can cowork with AAD( not Power BI specific, but also work with other AAD based Microsoft online services.). As to further questions, I'd suggest you post in the dedicated Azure AD B2C MSDN forum or Get help on Stack Overflow by using the azure-ad-b2c tag.

I am thinking that I will need to use AD B2C to authenitcate clients into app then AD in authenicate into organization as AD will allow access to our power bi, B2C is a collection of identities to be used with relying party applications and not into organization .  Consequently AD B2C doesnt deal with power bi permissions and users will need to be identities within AD w/ power bi permissions.  I will look into integration between the two.  Thanks for the help.

My application will pass into Azure AD ths single master account with power bi access then I can use the username from Azure B2C for RLS using GenerateToken

Can you please share how you implemented this with a code sample? 

Greg_Deckler
Super User
Super User

Great question, adding myself to the thread in case anyone answers.


@ me in replies or I'll lose your thread!!!
Check out my External Tool for Power BI Desktop! Microsoft Hates Greg's Quick Measures
YouTube Channel! Microsoft Hates Greg
Check out my latest book!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.