Alternative to "ExcludeSCPLookup" reg mod after migration to office 365

We've been doing this for all of our clients after we migrate them to office 365 but I wanted to see if there a way to accomplish this from the server. The problem is that when you migrate from on premise Exchange to Office 365, the Outlook client still looks for the internal Exchange server (SCP) and it won't work properly so to work around it we've been using the reg mod in the link here to correct the problem. An example would be this:


Windows Registry Editor Version 5.00


And while that works, whenever a new version of office comes up we need to adjust the version # (16.0) to match the new one. 

Besides for removing Exchange from the local server, is there any other method for accomplishing this? For example maybe a pointer on the server that redirects to office 365 or any anything similar? Looking for a more permanent solution.


Question Info

Last updated July 1, 2019 Views 1,561 Applies to:

Hi Pstoric,

May I collect some information to analyze the issue?

1. The local environment.

What is your on-premise Exchange version?

Is it an Exchange hybrid environment?

How do you migrate mailboxes?

2. Where does Autodiscover record point to, on-premise Exchange or Exchange Online?

3. I notice you’re using the registry key (ExcludeScpLookup=dword:1) to bypass SCP check. This needs to be done on each PC.

We have a PowerShell command which will achieve the same goal, please try it and check the result:

Set-ClientAccessServer -Identity “CAS Name” -AutoDiscoverServiceInternalUri $NULL

Note: Run this command from on-premise Exchange Server. This is an organization-wide change. All users will be affected, including on-premise mailbox users. We suggest running this command after all mailboxes are migrated.



Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.