Forum Discussion

dreww7777's avatar
dreww7777
New Member
2 years ago

Need Help - React Power BI embed redirecting to Power BI

Hello,

I am working on embedding a power bi item to a web application built in react. The end goal is for the users to request access to the view the report and display it on my application directly without creating a power bi account.

 

My web app uses MSAL to authenticate the users before viewing the report and I'm using the powerbi-client-react pacakge to embed the power bi item. Also the AAD access token is being fetched on the embeded report component itself and passed on to the embed config along with the report ID.

 

The issue I'm facing is that report is protected and requires permission from the author to view it. So when i embed the power bi item on my app it displays a request access cta and then once the users click the link it redirects to powerbi to request access and shows the item on power bi directly. Additonally, the user is prompted to create a powerbi account first to request access on the power bi redirect.

 

Is this possible for the end users to request access through my web app and view the report directly and not use the power bi redirect. Also is this acheviable for embedding the power bi item for users without a power bi account

 

Thanks.

1 Reply