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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.