Users Connect to Local Exchange Server Instead of Office 365

office-365-logo_gallery-100266091-large

Issue:

During a migration to Office 365, a user’s computer connects to the local Exchange Server when configuring an Outlook profile instead of connecting to the Office 365 server.

Cause:

The AutoDiscover Service is running in the local Exchange environment, causing the clients to connect locally.

Fix:

To repair this issue, perform the following:

  1. Log into your local Exchange Server as an Administrator
  2. Open the Exchange Management Shell as administrator
  3. Enter the command Get-ClientAccessServer and press enter. Make note of the returned value
  4. Enter the command Set-ClientAccessServer -Identity “VALUE” -AutoDiscoverServiceInternalUri $NULL (Replace VALUE with the CAS server noted in step 3)
  5. Open the Services Console and locate the Microsoft Exchange Transport Service and restart the service
  6. Open the DNS Management Console and be sure that there are no CName Records for Autodiscover.DomainName.com , or point the record to AutoDiscover.Outlook.com