Closed sagnikm95 closed 5 years ago
@sagnikm95 Have you tried the same config in Microsoft's demo site
It's most likely that the user doesn't have access to the PowerBI resource. Re-verify that the user and password that you used to generate the AAD token has sufficient privileges to access the report you're trying to embedded.
Thanks for getting back. I tried embedding the same in the demo site , but ended up getting the same error. The user which I used to generate the token is the owner of the report. Randomly few time the report is getting rendered. But most times I am faced with the access issue. I gave the AAD App all read permissions for the PowerBI App, is there any specific xustomization I need to do there ? Also the AUD for the decrypted AAD token is the AAD client ID itself, should that matter ?
For me this library worked perfectly to render the reports
@sagnikm95 I think as this is not concerned with the library implementation it cannot be considered a bug of the library. I would love to help you out please reach out to me by mail.
Please take a look this video on how AAD token/ Embed token can be generated.
@tratohecho3 Glad it helped you 👍
Thanks @akshay5995 , reached out to you regarding the same,
Describe the bug I am trying to use aad token to embed the report, but when the page renders I get error saying You need to request Author for access, the user corresponding to the token has owner access on the record