D365: Enable Cross Origin Requests in Internet Explorer

Recently, we had a requirement to load data from external domain in a web resource on a Phone Call form.

While testing the functionality in IE 11, it was not working.

a0

Debugging the code using Developer Tools, we got the below “Access is denied” error in Console window:

a

To fix this issue, we changed the setting in IE to enable cross origin request. Below are the steps to enable it:

Go to Tools –> Internet Option.

Go to Security Tab –> Select Internet –> Click on Custom Level.. button

b

Scroll down to Miscellaneous section –> Select Enable for Access data sources across domains –> Select Enable for Display mixed content.

c

c1

Once done, click on OK button and click Yes on the Warning pop up.

d

Then click on OK on Internet Options window.

e

Close the IE window and open it again to test. This time the data was loaded in web resource on the Phone call form.

f

Hope it helps !!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s