We are trying to embed a powerbi report in our website, but the call to https://app.powerbi.com being blocked by one of the security headers we have. Which is (Cross-Origin-Embedder-Policy)
I was wondering if there's a way to solve this issue without removing this policy
Thanks
Solved! Go to Solution.
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.
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.
Ran into the same issue. Should PowerBI not be including the Access-Control-Allow-Origin header to allow it to be embedded via CORS or similalry via a CORP policy?
We are embedding PowerBI into a react app and followed this document: https://docs.microsoft.com/en-us/javascript/api/overview/powerbi/powerbi-client-react