Disabling Local Autodiscover During Office 365 Move

A common problem when migrating to Office 365 from an in-house Exchange server is configuring local clients to not point at that local Exchange server.

When you initially install Exchange, a couple of things happen from an autodiscover standpoint…

  • A directory named “AutoDiscover” is configured in IIS on the server.
  • An AD object called the service connection point (SCP) is created, which contains the authoritative sources for autodiscover information.

We need to clear out this SCP object in order to allow the clients to point out to Office 365 to obtain their configuration information. This can be done by using the Set-ClientAccessServer cmdlet. Execute the following command in the Exchange Server Management Shell (warning – don’t do this if you’re using the Microsoft Online Migrations Tool!):

Set-ClientAccessServer -Identity “SERVERNAME” -AutoDiscoverServiceInternalUri $NULL

If you’re running multiple Exchange servers, you may have to do this for each server in the directory.