Forum Discussion
How to embed powerbi report when having "Cross-Origin-Embedder-Policy"
- 4 years ago
Hi Alex2000 ,
According to your description, this is the browser part of the configuration.
For more details, you can read related document.
Cross-Origin Embedder Policy - Report URI Documentation (report-uri.com)
Cross-Origin-Embedder-Policy - HTTP | MDN (mozilla.org)
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
In the event that anyone else experiences this and has the same issue - be sure that you are using an "Embed Token" with the PowerBI embed() function, not an access token - even though the field name is accessToken. The CORS error I was receiving was ultimately caused by using the wrong token.