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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
indrajit
Regular Visitor

Unable to embed paginated reports

I am trying to embed to embed PowerBi reports by Apps owns data concept (embed for your customers) using Service Principal and am also using service principal profiles for multitenancy. I did not see any issues and was successfully able to embed non-paginated pbix reports. However, I am facing issues trying to embed paginated rdl reports. Even a sample Microsoft paginated rdl report is not working. I have configured Gen2 A1 SKU and assigned to the target workspace. To get the Power BI Report Embed URL and Embed token, I am using Get Report in Group and Reports GenerateToken In Group Power BI Rest Api calls. I am not sending datasetId as a parameter in the calls. I am able to generate embed token but the Power BI React component (powerbi-client-react) is unable to embed paginated reports (even the sample Microsoft paginated report). Bootstrapping also is not being used while embedding with Power BI React component. The error seen is in the modelsAndExploration call that the react component makes for which a 401 Unauthorized status code is returned with PowerBINotAuthorizedException. The same call works fine for non-paginated reports. Attaching the screenshots for the same (some IDs, token etc have been blurred but all params are non-empty in the actual request). I would appreciate any help on this.


first.jpegsecond.jpeg

The error response json is -
{
      "error": {
       "code": "PowerBINotAuthorizedException",
        "pbi.error": {
                 "code": "PowerBINotAuthorizedException",
                 "parameters": {},
                 "details": [],
                 "exceptionCulprit": 1
         }
     }
}

1 REPLY 1
Anonymous
Not applicable

Hi  @indrajit 

I found a similar case , you can refer to  it and hope it can help you !

Solved: Unauthorized 401 error while embedding power PBI r... - Microsoft Fabric Community

 

Best Regards,
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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