Exchange2007 Migration to Office 365

I performed a Cutover Migration from an OnPremise Exchange 2007 to Office 365 Successfully, but I cannot get the Outlook Clients inside the Domain where the old Exchange 2007 Server resides, it tries to go find the internal Exchange Server each time and I even used the Microsoft Setup Repair Tool and it will do the initial setup of the Profile but then it will not connect again after that. I added in the DNS Server a Zone and added the CNAME: autodiscover and pointed it to and I can ping it but I still cannot get the Outlook to communicate to Office365, anyone's input is appreciated as I am in the middle of the conversion.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jose Gabriel Ortega CastroEE Solution Guide - CEO Faru Bonon ITCommented:
Yeah, you missed a step in your 2007 infrastructure.

just run this:

Set-ClientAccessService -Identity $env:computername -AutoDiscoverServiceInternalUri

Open in new window

Some people set it to $Null
I personally tell him where it is directly

Here are the Microsoft references:
Base Cutover migration:

Here you move to the tab "Run a Cutover migration" (in 3rd line) and then go to "complete post-migration tasks. (you are in the step1), they set it to null.
dtssupportAuthor Commented:
Where do you run this script at and on, tried a computer workstation and it errors out?
Jose Gabriel Ortega CastroEE Solution Guide - CEO Faru Bonon ITCommented:
Of course, you need to run the script in the Exchange Server 2007,  (Exchange management shell in the start menu, run it in as an administrator)
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

dtssupportAuthor Commented:
Script doesn't work on Exchange 2007, does not like the Term 'Set-ClientAccessService"
Jose Gabriel Ortega CastroEE Solution Guide - CEO Faru Bonon ITCommented:
Do the corrections for your domain.
Set-AutodiscoverVirtualDirectory -Identity "Autodiscover (default web site)" -ExternalURL -InternalURL

Open in new window


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Adam BrownSr Solutions ArchitectCommented:
To clarify, the answers given are scripts that are designed to change the Active Directory SCP for your on-prem Exchange server. If you have the users migrated, you can do this easily. explains what the SCP is and how to change it through AD Sites and Services, if you want to do it that way. The SCP is the first check done for domain-joined computers, so you have to make sure it's set to point to
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.