Forum Discussion

abanafa's avatar
abanafa
New Member
4 years ago
Solved

Power bi embeded (MVC) cross origin Error

 

Hello
I'm trying to embed a power bi report using the Azure Active directly Authentication

I registered the application in Azure and used Service Principle object to authenticate

 

then i take the token and access api.powerbi.com using PowerBi packege and I was able to embed my report succefully on localhost using ASP.Net MVC

 

but when publish to test server.. i get the 500 Error cross origin Error
Referrer Policy: strict-origin-when-cross-origin

please can you help me fix this?

thanks

  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi abanafa ,

     

    As far as I know, I think you use app owns data to embed Power BI report by Service Principle.

    You may refer to this offical blog to learn more details about Considerations and limitations when you using Service Principal as authentication method.

    You can refer to this offical blog to learn more about how to Troubleshoot your embedded application

     

    Best Regards,
    Rico Zhou

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi abanafa ,

     

    As far as I know, I think you use app owns data to embed Power BI report by Service Principle.

    You may refer to this offical blog to learn more details about Considerations and limitations when you using Service Principal as authentication method.

    You can refer to this offical blog to learn more about how to Troubleshoot your embedded application

     

    Best Regards,
    Rico Zhou

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.