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.
TimSr. System AdminAsked:
Who is Participating?

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

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

Hemil AquinoNetwork EngineerCommented:
You need two A records

A host mail
A host Autodiscover

Did you have those in place?
About microsoft exchange connectivity, he looks for any name that you have configured in your host like
https://domainname.com:443/autodiscover/autodiscover.xml
https://mail.domainname.com:443/autodiscover/autodiscover.xml --Bu this is the one that needs to pick up followed by the autodicover record.

I hope this help,
0

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
Tom CieslikIT EngineerCommented:
I don't know who is your registrant but in Network Solutions thee is opion to forward CNAME to other host

 
 Capture.JPG
0
Jose Gabriel Ortega CastroCEOCommented:
The autodiscover process goes in 4 stages
First: Domain.com/autodiscover/autodiscover.xml
if it's not found
Second: autodiscover.domain.com/autodiscover/autodiscover.xml
if not found
third: would try HTTP (generally for o365)
if it's not found
Fourth:  SRV DNS.

Check internals and externals DNS, it's a DNS issue.
Here's a script: use it with the option -Get
https://gallery.technet.microsoft.com/office/Script-to-configure-the-5a58558b
You will get all the internal entry points

Use it with the option set to set all the internals and externals (-set -urlpath "https://mail.yourdomain.com")

In public DNS you need to have a "A" record to the public ip of your Exchange Server (or firewall if exists), need to open port 443 in the firewall and do the forwarding to the server internally).
And create a CNAME to autodiscover.domain.com
0
Powerful Yet Easy-to-Use Network Monitoring

Identify excessive bandwidth utilization or unexpected application traffic with SolarWinds Bandwidth Analyzer Pack.

RoninCommented:
autodiscover.domain.com can be either A or CNAME.
The important part is to make sure that in addition to the traditional mail.domain.com, or whatever name you want to use, on SSL certificate, it should also include autodiscover.domain.com
In short you must have two FQDNs on the cert deployed on Exchange:
mail.domain.com
autodiscover.domain.com
1
Tom CieslikIT EngineerCommented:
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
0
RoninCommented:
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.
0
TimSr. System AdminAuthor Commented:
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?
0
Tom CieslikIT EngineerCommented:
This is an example

v=spf1 ip4:10.10.10.10 a:emailserver.comain.com mx:domain.com ptr ~all
0
TimSr. System AdminAuthor Commented:
And what should I use as the host? Mail or Autodiscover?
0
RoninCommented:
If you asking for the SPF record - usually hostname of the server is being used. Not autodiscover.
0
Jessica KCommented:
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
0
RoninCommented:
All the requested information provided
0
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
Exchange

From novice to tech pro — start learning today.