Forum Discussion

gg_82's avatar
gg_82
Copper Contributor
Jan 20, 2021

Microsoft Edge CORS blocking external web calls on CRM

Hi. I am working on Dynamics 365 CRM.

We host external web application in CRM. When I try to access Web pages, it asks for authentication and everything is good.

But when i make XmlHttpRequest to call json functions in my Web project, i get this error:

 

"Access to XMLHttpRequest at 'http://{server}:{port}/{org}/{controller}/{function_name}' from origin 'http://{server}' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status."

 

I tried to add site in trusted sites n IE and import settings on EDGE  from Internet Explorer. Can you please help how do i fix the Issue?

I get the same issue on chrome as well. I did not get this issue with Internet Explorer.

 

Thanks.

1 Reply