CRM365: The mailbox location could not be determined Error

The error “The mailbox could not be determined” error usually means that the auto discover isn’t doing its job correctly.

This means that the user will have to turn off this feature and input the Exchange URL in manually.

HOWEVER….

By design, MS have disabled the auto discover fields on the Email Server Profile form. this apparently is stop any unsupported exchange set ups..

Below is the JavaScript i run within the Internet Explorer Developer Tool to enable these fields.


frames[0].Xrm.Page.getControl("useautodiscover").setVisible(true);
frames[0].Xrm.Page.getControl("incomingserverlocation").setVisible(true);
frames[0].Xrm.Page.getControl("outgoingserverlocation").setVisible(true);
frames[0].Xrm.Page.getControl("useautodiscover").setDisabled(false);
frames[0].Xrm.Page.getControl("incomingserverlocation").setDisabled(false);
frames[0].Xrm.Page.getControl("outgoingserverlocation").setDisabled(false);

Once run it will allow you to set autodiscover to no and set the correct URL (which in my case was for an office 365 instance)

https://outlook.office365.com/EWS/Exchange.asmx

Tags

Leave a Reply

Your email address will not be published.