cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
mittalpatel130
Helper III
Helper III

Paginated Reports Embed : getting error "PowerBIEntityNotFound" on GenerateToken

Hello - 

 

I'm trying to embed Paginated reports in an application for customers (App owns data).

I've Premium P1 Capacity. Report is deployed in new Power BI Premium Workspace. 

I've created Azure AD Web App with ServicePrincipal.

I'm testing the embed API in Postman as below steps. 

1. Get Azure AD Bearer Token - https://login.microsoftonline.com/<<tenantid>>/oauth2/token

 2. Generate Token - https://api.powerbigov.us/v1.0/myorg/groups/<<workspaceid>>/reports/<<reportid>>/GenerateToken < --- I get below error message.

I made sure that I've correct Report ID and Workspace ID.

 

 

{
    "error": {
        "code": "PowerBIEntityNotFound",
        "pbi.error": {
            "code": "PowerBIEntityNotFound",
            "parameters": {},
            "details": [],
            "exceptionCulprit": 1
        }
    }
}

 

 

Am I missing anything here specifically for Paginated Reports? 

 

 Thank you

1 ACCEPTED SOLUTION

@ofer  - Thank you for the response. 

 

I found out that I was missing one step. Adding Azure AD App to Workspace with Admin Role. I fixed it and now it is working fine. 

View solution in original post

2 REPLIES 2
ofer
Power BI Team
Power BI Team

Are you following all the steps as listed with detaile dinstruction in here? : 

https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-sample-for-customers

 

Does the sample app work for you?

@ofer  - Thank you for the response. 

 

I found out that I was missing one step. Adding Azure AD App to Workspace with Admin Role. I fixed it and now it is working fine. 

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.