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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
alanatnfa
Frequent Visitor

Embed Paginated Report Power BI Dataset - App Owns Data (Embed for Customer)

Hi all

 

I am using Power BI Embedded SKU A1, Gen 2.  I have created a workspace, Azure App, given the app all API permission to the PBI Service, addedd the service principal into a security group and givent that security group admin access tot he workspace that has the embedded capacity.  (Understand that the privelages right now are above required, but wanted to ensure that was not the problem)

 

I am using Postman to genearate access tokens, embed tokens and retrieve the embedded url.  I am then using the Power BI Playground to test out my report.

 

For a normal PBI report, I can get this working fine and even down to RLS, works great.

 

However for a Paginated report, I can get it working under 2 conditions, a report with no data (not too useful!) and a report with data entered directly into the report (also not that useful!).  These render correct in the playground.

 

However once I use a PBI Dataset (import or direct query), the report does not render and I receive the error

 

alanatnfa_0-1661829701422.png

I have tried many way to get this to work but to no avail and I am note sure what I am missing.  If I follow the MSFT instructions for the HTTP payload from the following location

 

https://docs.microsoft.com/en-us/rest/api/power-bi/embed-token/generate-token#example-of-generating-...

 

I have tested multiple ways of creating the payload and end up with the same error message each time.

 

Can someone please assist and advise on what I am missing?

 

Thanks

 

 

1 ACCEPTED SOLUTION
alanatnfa
Frequent Visitor

This is now resolved and working.  Had to open a MSFT support call to obtain the correct payload required.

 

Thanks

All

View solution in original post

5 REPLIES 5
alanatnfa
Frequent Visitor

This is now resolved and working.  Had to open a MSFT support call to obtain the correct payload required.

 

Thanks

All

Hi can you please share the solution to help others?

 

Thank you!

alanatnfa
Frequent Visitor

Hi @Anonymous 

 

Yes using service principal.  I have paginated reports working correctly when using a non-sson datasource, ODBC/MySQL and I can use the embed token in the playground and the report works correctly.  The problem is with a Power BI Dataset that requires SSON.  All of the above requirements are covered, only this one scenario does not work.

 

I have tested using the PBI Dataset and also by using the XMLA end point and embedding the authentication within the RDL file using the app:id@tenantid and the secret as the password.  The report renders fine in the report builder and in the PBI Service.  The report though does not render once I use the embed token method.  It may be the JSON payload and the documentation for this scenario is not great.  It mentions needing to pass an identiy blob, but does not explain what this blob is and where I should obtain it from.

 

Thanks for the help

Hi,

 

Do you mind sharing the payload you used for ODBC connected paginated report?

 

 

Anonymous
Not applicable

Hi @alanatnfa ,

Which verification method are you using:

vyangliumsft_0-1662016383236.png

Embed content in your Power BI embedded analytics application - Power BI | Microsoft Docs

 

Do you add the user to the workspace corresponding to the dataset and set the role to the Contributor.

Roles in workspaces in Power BI - Power BI | Microsoft Docs

 

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.

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.