Microsoft Edge CORS blocking external web calls on CRM

%3CLINGO-SUB%20id%3D%22lingo-sub-2079349%22%20slang%3D%22en-US%22%3EMicrosoft%20Edge%20CORS%20blocking%20external%20web%20calls%20on%20CRM%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2079349%22%20slang%3D%22en-US%22%3E%3CP%20class%3D%22%22%3EHi.%20I%20am%20working%20on%20Dynamics%20365%20CRM.%3C%2FP%3E%3CP%3EWe%20host%20external%20web%20application%20in%20CRM.%20When%20I%20try%20to%20access%20Web%20pages%2C%20it%20asks%20for%20authentication%20and%20everything%20is%20good.%3C%2FP%3E%3CP%3EBut%20when%20i%20make%20XmlHttpRequest%20to%20call%20json%20functions%20in%20my%20Web%20project%2C%20i%20get%20this%20error%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%22Access%20to%20XMLHttpRequest%20at%20'http%3A%2F%2F%7Bserver%7D%3A%7Bport%7D%2F%7Borg%7D%2F%7Bcontroller%7D%2F%7Bfunction_name%7D'%20from%20origin%20'http%3A%2F%2F%7Bserver%7D'%20has%20been%20blocked%20by%20CORS%20policy%3A%20Response%20to%20preflight%20request%20doesn't%20pass%20access%20control%20check%3A%20It%20does%20not%20have%20HTTP%20ok%20status.%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20tried%20to%20add%20site%20in%20trusted%20sites%20n%20IE%20and%20import%20settings%20on%20EDGE%26nbsp%3B%20from%20Internet%20Explorer.%20Can%20you%20please%20help%20how%20do%20i%20fix%20the%20Issue%3F%3C%2FP%3E%3CP%3EI%20get%20the%20same%20issue%20on%20chrome%20as%20well.%20I%20did%20not%20get%20this%20issue%20with%20Internet%20Explorer.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2079976%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Edge%20CORS%20blocking%20external%20web%20calls%20on%20CRM%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2079976%22%20slang%3D%22en-US%22%3EHi%2C%3CBR%20%2F%3Equoting%20from%20the%20pinned%20post%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%22if%20you%20find%20a%20bug%2C%20first%20please%20report%20it%20through%20the%20in-browser%20feedback%20tool.%20(%E2%80%A6%20menu%20%26gt%3B%20Help%20and%20feedback%20%26gt%3B%20Send%20feedback).%20If%20you%20need%20personalized%20help%20with%20troubleshooting%20an%20issue%2C%20especially%20if%20it%20relates%20to%20your%20specific%20device%20or%20account%2C%20please%20contact%20our%20Insider%20Customer%20Support%20team.%20This%20is%20a%20small%2C%20specially%20trained%20team%20to%20solely%20support%20our%20Insider%20community%2C%20so%20they%20can%20provide%20the%201%3A1%20assistance%20that%20you%20or%20your%20Enterprise%20environment%20might%20need.%22%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fdiscussions%2Fa-few-updates-from-the-microsoft-edge-team%2Fm-p%2F1977784%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fdiscussions%2Fa-few-updates-from-the-microsoft-edge-team%2Fm-p%2F1977784%3C%2FA%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

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
Hi,
quoting from the pinned post:

"if you find a bug, first please report it through the in-browser feedback tool. (… menu > Help and feedback > Send feedback). If you need personalized help with troubleshooting an issue, especially if it relates to your specific device or account, please contact our Insider Customer Support team. This is a small, specially trained team to solely support our Insider community, so they can provide the 1:1 assistance that you or your Enterprise environment might need."

https://www.microsoftedgeinsider.com/en-us/support

https://techcommunity.microsoft.com/t5/discussions/a-few-updates-from-the-microsoft-edge-team/m-p/19...