Change autodiscover Exchange 2007 for hybrid migration to office 365


We are trying to  migrate our internal Exchage 2007 server to Office 365. We are implementing hybrid migraton so different profile connections are running into AD network (some users are using internal Exchange mailboxes and some others using Office 365 mailboxes).

.- Internal domain:
-. Office 365 domain:

Internal and external domain are the same so problem is setting up profile client connections to Office 365 server. Autodiscover always finds internal Exchange Server and the only way that works is changing DNS ip's to the clients computers (change internal DNS to External one) while setting up new profile in Outlook 2013.

How we could change autodiscover setup to solve this problem?

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.

Satyendra SharmaMicrosoft UC Technical ArchitectCommented:
From what i see is that you will have to deploy a Exchange 2013 CAS on prem to be able to properly configure hybrid with o365, i have never done this but recommending this just based on my reading.
clickamikAuthor Commented:
Hi Satyendra:

We know how to implement Hybrid migration on Exchange Server 2007. Maybe I didn't explain clear enough.

Basically, we need to change Autodiscover configuration in Exchange 2007. Autodiscover routes Internal Outlook clients connects to internal Exchange server but we need Autodiscover route to external Office 365 server.

Internal domain name (Exchange 2007) and external domain name (Office 365) is the same domain name and we want setup Autodiscover to be routed only to external domain (office 365).

Thanks for your answer!!!!!
Satyendra SharmaMicrosoft UC Technical ArchitectCommented:
Oh i see... If this is the case and all autodiscover only needs to go to external then you can just update the current host A record to resolve to the o365 service IP address.
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.

Vasil Michev (MVP)Commented:
You can use the registry keys mentioned in this article to 'instruct' Outlook to bypass the local AutoDiscover lookups. O365 only needs the HTTP redirect method, so you can block all others on the PCs in question.
clickamikAuthor Commented:
Hello Vasil:

I've tried to bypass the local Autodiscover Lookups but when trying to create new mail profile automatically create connection to internal exchange 2007 server.

I'm using Outlook 2013.

Vasil Michev (MVP)Commented:
You've missed some endpoint. Run the Autodiscover test locally: hold the CTRL key, right-click on Outlook's icon in the tray, select Test Email Autoconfiguration, enter credentials, clear the two GuessSmart checkboxes and run the test. Post the sanitized result here.

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
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.