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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
I am encountering a "PowerBINotAuthorizedException" error when attempting to embed a paginated report within my React.js application.
Environment:
Power BI Service Workspace (access granted to service principal)
Paginated report created in Power BI Report Builder and published to Power BI Service
Azure AD Service Principal with the following app permissions:
App.Read.All
Dataset.Read.All
Dataset.ReadWrite.All
Report.Read.All
Report.ReadWrite.All
Issue:
The paginated report displays successfully within my Power BI Service workspace. However, embedding the same report in my React.js application results in the "PowerBINotAuthorizedException" error.
Troubleshooting Steps Taken:
Verified service principal permissions within Azure AD.
Double-checked workspace access for the service principal in Power BI Service.
Reviewed code for generating the embed token using the service principal access token.
Question:
Despite the seemingly sufficient permissions, why am I encountering this authorization error when embedding the report? What additional steps can I take to troubleshoot and resolve the "PowerBINotAuthorizedException"?
Additional Information:
(Include any relevant code snippets, error messages, or specific configurations if applicable)
Request for Assistance:
I would greatly appreciate any guidance or insights from the Microsoft community to resolve this embedding issue. Thank you for your time and assistance.
Solved! Go to Solution.
Hi @techwing ,
You can check the link below, which contains troubleshooting information similar to the error message:
Troubleshoot Power BI embedded analytics application - Power BI | Microsoft Learn
According to the error message, the reason may be โWrong/unauthorized group ID.
You can try adding the userโs โRefresh User Permissions.
Users - Refresh User Permissions - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @techwing ,
You can check the link below, which contains troubleshooting information similar to the error message:
Troubleshoot Power BI embedded analytics application - Power BI | Microsoft Learn
According to the error message, the reason may be โWrong/unauthorized group ID.
You can try adding the userโs โRefresh User Permissions.
Users - Refresh User Permissions - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This appears the accepted solution, but I'd like to better understand what exactly solved it. I have the same issue, but the proposed solution does not work. I can view the paginated report online in app.powerbi.com but when I embed it, I get "PowerBINotAuthorizedException". I can embed standard reports in the same workspace without issues. I am using one of the sample paginated reports from github (with an embedded dataset). I have upgraded my license to PPU and also updated the Workspace's license settings accordingly.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |