When the URL is not "outlook.office365.com", it must be included in the Basic configuration > ActiveSync server tab.

More...