diego-d5000 / PowerBI-Angular2

Angular (Angular 2, Angular io) components based on "PowerBI-Angular" and "PowerBI-Javascript" to use PowerBI Embedded Features
10 stars 10 forks source link

403 Error - https://wabi-us-north-central-redirect.analysis.windows.net/metadata/cluster #7

Open anotherkhan opened 6 years ago

anotherkhan commented 6 years ago

Embedded report content is unable to display, I am receiving 403 forbidden error on GET (https://wabi-us-north-central-redirect.analysis.windows.net/metadata/cluster)

I have used the same embedded token on PBI playground and it works fine. https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html

any help would appreciated!

Thanks.

DuckMouse commented 5 years ago

Did you have any luck with this issue? I have tried using ngx-powerbi, but I still get the same issue.

JTCozart commented 5 years ago

I had the same issue. I had to specify the token type as embed <powerbi-component embedUrl="https://app.powerbi.com/reportEmbed?reportId={reportid}&groupId={groupid}" accessToken="{AccessToken}" type="report" id="{reportid}" tokenType="Embed"> </powerbi-component>