Unable to connect Outlook 2016 to Exchange 2010

My client has installed Office 2016 on a computer to test this version, before rolling out to all staff.  When we try to create the Outlook profile, autodiscover just runs continuously.  

We have had to do some reconfiguration of the Exchange 2010 environment, including installing a new third party certificate as the older Outlook versions didn't require this.  I have run numerous commands, checked lots of settings but to no avail.  Running test-outlookwebservices tells me that a valid autodiscover server connection point was found, then displays a 1013 error "There is an error in XML document".

If a run https://servername/owa from the client, after displaying a certificate warning it then displays "XML Document Invalid (REJECTED)" message.

I have researched both these errors but nothing helpful has come to light.

Can anyone point me in the right direction please?

Thanks

Glen
Glen_TTLAsked:
Who is Participating?
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.

Glen_TTLAuthor Commented:
@ Amit

I have configured an SRV record as follows:

Service: _autodiscover
Protocol: _tcp
Port: 443
Host: FQDN of email server

Unfortunately, this has not made any difference
0
Amit KumarCommented:
first of all if you want to test autodiscover so please test it with full FQDN url.

like https://mail.domain.com/autodiscover/autodiscover.xml

I did not find but I think outlook 2016 does not support RPC over HTTP(s) as protocol has been changed to MAPI over HTTPs.

Still you can do one thing what is CU and SP level of your Exchange. Exchange 2010 SP3 CU 11 can help you in this case.
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Glen_TTLAuthor Commented:
Hello Amit

Thanks for your response.  The Exchange Server is patched to the latest level.  My client's server is almost identical to my own (SBS 2011) so I have been comparing various settings.  On my server, if I open a browser and go to https://localhost/autodiscover/autodiscover.xml I get the following:

  <?xml version="1.0" encoding="utf-8" ?>
- <Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
- <Response>
- <Error Time="16:19:54.5168691" Id="2986353861">
  <ErrorCode>600</ErrorCode>
  <Message>Invalid Request</Message>
  <DebugData />
  </Error>
  </Response>
  </Autodiscover>

However, if I run the same command on my client's server I get:

XML Document Invalid (REJECTED)- 13/10/2015 16:15:44

Something definitely not right there!

Thanks

Glen
0
Amit KumarCommented:
May be issue with browser, sometimes user set some settings for customized applications.

However if it is working for you so there should not be an issue.
0
Glen_TTLAuthor Commented:
Hello Amit

I think you misunderstood my last response.  The "correct" autodiscover.xml is from my own server, not my client's (where this problem exists).  The XML Document Invalid message is what I get when I open the autodiscover.xml file on my client's server.

Glen
0
Amit KumarCommented:
Can you please check IIS if any application pool is stopped and also check VD configuration.

How about OWA, is it working or not?

Also check event viewer if there are any errors/warning.
0
Glen_TTLAuthor Commented:
Hello Amit

No, OWA is not working - I get the same XML Document Invalid message.  

If I look at resetting virtual directories in the EMC, the entry for OWA is missing.  If I try to remove the OWA virtual directory using Remove-OwaVirtualDirectory it errors, saying it cannot be found, yet if I try to create it using New-OwaVirtualDirectory it errors, saying that it already exists.

Thanks

Glen
0
Amit KumarCommented:
It means AD has entry of OWA directory.

There are two options either log a case in MS or recover this CAS server using server recovery method. Let me know if you need article for this.
0
Glen_TTLAuthor Commented:
Hello Amit

Yes, if you could send me a link to the relevant article, that would be great.

Thank you

Glen
0
Amit KumarCommented:
Please find this article.
0
Glen_TTLAuthor Commented:
Thanks Amit

I have managed to get the OWA virtual directory back, but the original problem remains.  I'll consider the article you sent me the link for, in relation to reinstalling the CAS server.

Thanks

Glen
0
Glen_TTLAuthor Commented:
The problem is resolved - the issue was in fact nothing to do directly with autodiscover and OWA.  My client runs a website as part of their business which uses port 443 so any autodiscover requests were being grabbed by the website, hence the XML Document Invalid message.

It's good to know I wasn't going completely mad, and that the Exchange configuration was correct.  So, our next challenge will be to get the website that has to use port 443 and OWA working on the same network.

This question can now be closed, but thanks Amit for your responses.
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
Glen_TTLAuthor Commented:
Unknown to me a the time, a website that the server has to run as part of my client's business, also uses port 443 so that was taking precedence over autodiscover and OWA.
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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.