Link to home
Start Free TrialLog in
Avatar of Tim
TimFlag for United States of America

asked on

Autodiscover issues with Exchange 2010

We have an exchange 2010 server that we recently migrated to and it seems to be working correctly. I can get to my OWA page from outside the network and when I try https://mail.domainname.com/autodiscover/autodiscover.xml it takes me to my OWA login page however it changes the url to include owa in the path e.g. https://mail.domainname.com/owa/autodiscover/autodiscover.xml. When I try to configure Outlook 2016 to connect to our Exchange server it fails and when I run Microsoft Remote Connectivity analyzer it also says that autodiscover fails. One of the tests removes mail from the URL and just uses https://domainname.com:443/autodiscover/autodiscover.xml but that is never going to work since our domain name points to a third party ecommerce site we have set up and is not on our domain.

How can I resolve this. I went to my doamin registrar and looked at how the autodiscover records were set and I have a a CNAME record pointing to our mail server e.g. mail.domainname.com so I don't see how it is pointing to our ecommerce website and not our mail website.
ASKER CERTIFIED SOLUTION
Avatar of Hemil Aquino
Hemil Aquino
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Tom Cieslik
Tom Cieslik
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Don't create CNAME, remove it.
Just create A record pointed to your emailserver.yourdomain.com and autodiscover.yourdomain.com and use this address in TXT record.
Also you must have certificate for autodiscover.yourdomain.com to be able set outlook anywhere and activesynch.

On your server you must activate autodiscover on your email server

Get-ClientAccessServer | Set-ClientAccessServer –AutoDiscoverServiceInternalUri https://autodiscover.company.com/autodiscover/autodiscover.xml

Open in new window


and add autodiscover.yourdomain.com on port 443 in Bindings in you IIS and bind it to your certificate
Internally there's no need to create autodiscover.domain.com as the clients use SCP, therefore Set-ClienAccessServer can point directly to the name of the server as appears in the certificate.
As well, there's no need to add autodiscover in IIS.
Avatar of Tim

ASKER

I am confused about the TXT record. When I look online about this there are many examples however I don't know which one I should use. BTW our registrar is Network Solutions. When looking at how to create an SPF record there are many mechanisms I can use. Which one is better? Should I use multiples. And when it is asking for the host name am I using Autodiscover or Mail or both?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Tim

ASKER

And what should I use as the host? Mail or Autodiscover?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jessica K
Jessica K

Hey Tim,

This AutoDiscover issue needs very clean and clear steps to be resolved. So, be careful while performing the steps related to this. There is a following informative article from Microsoft, which has helped my clients in the similar issue, go through it to resolve your problem:
https://blogs.technet.microsoft.com/exchdxb/2012/05/10/troublshooting-autodiscover-exchange-20072010/

Feel free to ask for further queries.

Best Regards,
Jessica
All the requested information provided