microsoft / powerbi-client-react

Power BI for React which provides components and services to enabling developers to easily embed Power BI reports into their applications.
MIT License
308 stars 98 forks source link

Power bi reports not rendering due to third party cookies getting blocked because of new Chrome update #112

Closed Klaus-8 closed 5 months ago

Klaus-8 commented 7 months ago

Due to a recent Chrome update all the third party cookies are getting blocked which is preventing the network request to trigger responsible for fetching power bi report details which is resulting in report not getting rendered. Please refer below screenshots for more details.

Console warning : image

Issues tab details : image

Cookies Warning message in network tab : image

Warning message in Application tab of console : image

Any help will much appreciated.

v-MadhavC commented 6 months ago

Hi, we tried reproducing the issue and we observed that we are getting the same warning message but since it is just a warning, we were still able to embed the report and the report rendered correctly. Here is the snapshot for your reference: image Could you tell us whether you are facing this issue specifically with Chrome? And also, are you able to embed the report in Microsoft Edge?

Klaus-8 commented 5 months ago

Hi Madhav

Thanks for your reply. At first we thought the reports are not rendering due to the cookie warnings but the real reason in our case was due to the invalid AAD token generated which was passed in the Power BI embed react component. We have fixed that issue and now the report are rendering correctly.