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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
rludwig21
Regular Visitor

PaginatedReportEmbedForbidden: Embedding Paginated report in BI report

I have a Power BI Report and a Paginated Report on the same report. The BI Report table (on left) displays fine.

However, the paginated report shows the following error pictured and the Dev Console shows: {"error":{"code":"PaginatedReportEmbedForbidden","pbi.error":{"code":"PaginatedReportEmbedForbidden","parameters":{},"details":[],"exceptionCulprit":1}}}
PBIError.PNG


I can plug my report above into the Embedded Developer Sandbox and it works just fine... what am I missing here?


Capacity: Power BI Embedded - A1 SKU (Gen2) 
Instruction PDf used here for Embedding for Customers (app owns data)
https://github.com/PowerBiDevCamp/DOTNET5-AppOwnsData-Tutorial 
Ensured the Workspace has the AD Service Principal as Admin access, along with enabling the Tenate Setting under Developer for Allow service principals to use Power BI APIs

 

Also tried using the .Net Core 3.1 example here with same result: https://github.com/microsoft/PowerBI-Developer-Samples/tree/master/.NET%20Core/Embed%20for%20your%20... 

Any help is much apreciated here, thank you!

1 ACCEPTED SOLUTION
AmosHersch
Microsoft Employee
Microsoft Employee

Hi @rludwig21 ,

 

I believe the issue is related to the way you are generating the embed token. There are 2 endpoints for generating an embed token, and the one which you should be using for your case is the newer one which generates a token for multiple resources (because you have a paginated report inside a Power BI report).

Please see this example for how the generate token request should look like: Embed Token - Generate Token - REST API (Power BI Power BI REST APIs) | Microsoft Learn

 

Thanks,

Amos

 

View solution in original post

5 REPLIES 5
AmosHersch
Microsoft Employee
Microsoft Employee

Hi @rludwig21 ,

 

I believe the issue is related to the way you are generating the embed token. There are 2 endpoints for generating an embed token, and the one which you should be using for your case is the newer one which generates a token for multiple resources (because you have a paginated report inside a Power BI report).

Please see this example for how the generate token request should look like: Embed Token - Generate Token - REST API (Power BI Power BI REST APIs) | Microsoft Learn

 

Thanks,

Amos

 

Thank you Amos! The link above resolved my issue after adding the addition report guid.

The Tutorial I was using didn't have the additional method in the service.

Hola, 

 

me podría indicar donde agrego el guid para solucinar el problema?. 

 

Gracias. 

 

Un saludo.

v-jianboli-msft
Community Support
Community Support

Hi @rludwig21 ,

 

It seems that you are using A1 SKU?  Embedding Paginated Reports on Generation 1 required at least an A4 SKU and with Gen 2 you can embed paginated reports from A1 SKU onwards. Please check which Power BI embedded Generation are you using.

 

Besides, here are some considerations and limitations :

Considerations and limitations of Embedded paginated reports - Power BI | Microsoft Learn 

 

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you Jianbo,

 

We are using a Gen2 as mentioned above and I have read through the limitations but nothing appears to be out of place. I can actually embed a the paginated report by itself fine, just not inside a BI Report. Real Problem is parameters/filters cannot be passed via JavaScript to the paginated reports which is a requirement for my company. Hence why I'm using a Power BI Report with the pagninated report within the BI report as it can be used to do so only this way.

It works fine as shown here in the dev sandbox and parameters pass as shown below from the sandbox.

rludwig21_0-1668780839520.png


Just not sure why mine is getting blocked... we are paying for the A1 SKU (Gen2) assigned to the workspace:

rludwig21_1-1668781361026.png

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.