Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!View all the Fabric Data Days sessions on demand. View schedule
I am encountering a "PowerBINotAuthorizedException" error when attempting to embed a paginated report within my React.js application for my organization.
When I embed a standard report, it's working as expected and the report will show. I purchased a premium PPU license for my user, assigned it to my user and also created a new workspace in Power BI with the correct PPU license setting, admin access for the service principal I am using (which is also a member of the Entra ID group that has been allowed access to the Power BI APIs) and admin access for my user as well. I then downloaded the sample Power BI paginated reports from GitHub provided by Microsoft (see https://learn.microsoft.com/en-us/power-bi/paginated-reports/paginated-reports-samples) and imported those into my new workspace. I can view the imported paginated reports in app.powerbi.com but when I try and embed the same reports using the powerbi-client JS SDK, I see the Power BI logo briefly loading, before I receive the message "It looks like you don't have access to this report". In the console I can see that the underlying error is "PowerBINotAuthorizedException".
Thank you in advance for your support!
PS I have seen https://community.fabric.microsoft.com/t5/Developer/PowerBINotAuthorizedException-When-Embedding-Pag... but the solutions provided there did not fix my issue.
Solved! Go to Solution.
I actually found, that things start working, when I get the report's embedUrl from the REST API (using "https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports/{reportId}") where I was using the "default" embedUrl before (using https://app.powerbi.com/reportEmbed?reportId={reportId}&groupId={groupId}.
I actually found, that things start working, when I get the report's embedUrl from the REST API (using "https://api.powerbi.com/v1.0/myorg/groups/{groupId}/reports/{reportId}") where I was using the "default" embedUrl before (using https://app.powerbi.com/reportEmbed?reportId={reportId}&groupId={groupId}.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |