Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
abanafa
New Member

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

1 ACCEPTED SOLUTION
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.

View solution in original post

1 REPLY 1
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.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors