I want to embed Power BI non-group workspace report in my application i.e., the reports that I have created or are shared with me and are not published to any workspace. I gone through the articles for embedding the report but didn't find any matching my scenario.
For embedding report, we need Embedded Token, for this I'm making a POST request to Power BI Rest API with the URL
https://api.powerbi.com/v1.0/myorg/reports/{reportId}/GenerateToken
Using the above request, I'm getting the response code 403 and error {"error":{"code":"InvalidRequest","message":"Embedding isn't supported for non-group workspace"}}
.
Is there any way to generate embed token for reports or dashboards that are not in any workspace.