Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi,
We are using PowerBI Desktop to develop reports with PowerBI Embedded for embedding the reports into our platform.
Is there a way I can pass the OAuth 2.0 Bearer Token from my front end to my PowerBI report?
Thanks.
Best regards,
Emily
@amitchandak Thank you for reply. As we are not using Azure AD, I don't think the proposed solution in the article is helpful in our case.
To be more specific, the bearer token is my current login user token in our system / platform, and my PowerBI report is embedded in my front end. Our PowerBI report does not know the user information to be able to login and get the token from my authentication server, I would like to pass my user bearer token from my front end to PowerBI, so that PowerBI will add this bearer token to the header and call my RESTFul API endpoint.
For example, if the UserID in our system / platform is 123, then this user would be able to see the data only for themselves and they won't be able to see other people's data. What we want to achieve is to pass UserID=123 from our front end environment to PowerBI, so that PoweBI would be able to get the data only for UserID=123 when calling the RESTFul API endpoint and thus no need to concern about any Row Level Security settings in PowerBI.
Hi @Anonymous
I'm afraid it will needs Azure AD to embed contents for customer.
https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-sample-for-customers
If your users have power bi pro account, you could embed reports in your internal portal or websites, then set role level security for users.
This would let users only see their own data.
https://community.powerbi.com/t5/Community-Blog/Dynamic-Row-Level-Security-Dynamic-RLS/ba-p/787399
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.