Forum Discussion

rush2kasi's avatar
rush2kasi
New Member
3 years ago

Gov Cloud Reports are not rendering (failed to Embed) in Angular Component due to CROS issue

we successfully embedded a sample commercial cloud dashboard. Whereas gov cloud report failed to embed due to CROS Issue as shown in below figures. We have followed microsoft powerci-client-angular component as in  microsoft/powerbi-client-angular: Power BI Angular component. This library lets you embed Power BI report, dashboard, dashboard tile, report visual, or Q&A in your Angular application. (github.com)

 

 

looks like embed URL is internally calling below url 

 

 

What i observed is request header Referer:  https://app.powerbi.com/ is passing instead of 
 
I have tried to integrate to multiple applications all of them failed to Embed due to same CROS issue. Somehow my embed URL is having https://app.powerbigov.us has shown below.. some reason some internal Js calls going to https://app.powerbi.com this is causing  Referrer Policy:strict-origin-when-cross-origin
 
 
Appreciate your help on this. 

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    HI rush2kasi,

    AFAIK, the gov and national cloud should be different from common organization, and they may include some additional policy or security rules, so you may face some issues when you try to use embedded features with this type of environment.
    Since current we do not have correspond permissions to test/trace with this type of organization, I’d like to suggest you check the following page and find out the national/gov cloud channel for getting better support.

    Support | Microsoft Power BI

    Regards,

    Xiaoxin Sheng