Forum Discussion
Setup up autoDiscover In On-Perm DNS to integrate with O365
Hello
I'm am moving all mailboxes to O365 using cutover method .
but my main concern is the way that On-perm outlook clients will connect to O365.
I am aware that outlook uses autodiscover , SRV Record and CNAme record to perform auto discover to O365 . currently On Perm Exchange XML files are located at Mail.MyDomain.com and there is DNS entry record on my internal DNS which points to a local IP address .
would it be enough to change the Local IP address for DNS entry mail.MyDomain.com to O365 IP address instead? and if the answer is yes , do I need to add SRV and CNAMe to my internal DNS as well as External DNS to point to O365? and if I do that do I need to crate autodiscover.xml file O365 manually?
Do I need to redirect mail.Mydomain.com to autodiscover.MyDomain.com ?
Your Help is much appreciated
hntaurus Yes, you should do that as well to avoid your clients connecting to the old namespace after migration. In fact, you don't need this anymore and after your cutover, you can decommission Exchange as well.
13 Replies
What you would need to do when your mailboxes are in Exchange Online is to change the serviceBindingInformation parameter of the service connection point in either ADSI Edit or AD Sites and Services. The link below shows how to do that.
The SCP can be set to
https://autodiscover.outlook.com/autodiscover/autodiscover.xml and this should take care of autodiscover for any Outlook clients inside your network.
- hntaurusCopper Contributor
Thanks a lot for your prompt reply
Do I need to create SRV and CNAME for that auto discover on my Internal DNS as well?
hntaurus please use Exchange Management Shell to change it, not ADSIEDIT 😉
Get-ClientAccessServer | Set-ClientAccessServer -AutoDiscoverServiceInternalUri https://autodiscover.outlook.com
Disable-OutlookAnywhere –Server <ServerName>
You only have to change/add the CNAME record in your external DNS after migration.