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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Access to XMLHttpRequest : CORS policy 'Access-Control-Allow-Origin' header blocked

 

Hello

 

I have a CORS problem.

When displaying a report or dashboard, some data is not loaded. For good reason, google Chrome blocks some of my requests to "https://wabi-north-europe-redirect.analysis.windows.net/".

 

The error: 

 

Access to XMLHttpRequest at 'https://wabi-north-europe-redirect.analysis.windows.net/explore/resourcePackageItem/f0bdb215-d26e-40fa-bef0-e2c4165f15080fOca7u5HuiyzvBgC6cELXNS3YUL.28bE.json'
from origin 'https://app.powerbi.com' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'https://msit.powerbi.com' that is not equal to the supplied origin.

 


I have an MVC application in ASP.NET. CORS policy is enabled in Access-Control-Allow-Origin = * in ASP.NET and IIS Express.

 

I tried to change the embedded domain from "app.powerbi.com" to "msit.powerbi.com" and I still have the problem.

 

Do you have any ideas to solve the problem?

 

EDIT: I noticed that the problem was only present when the report/dashboard had to load custom configurations (theme, images, etc...)

0 REPLIES 0

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.