When contacting https://mail.domain.com/autodiscover/autodiscover.xml received the 401: Unautherized error

I replaced the exchange 2007 self signed certificate with a commercial one and all services work fine.[ owa, Outlook Anywhere, active sync etc]. Modified all EWS services to use the new certificate as per the TechNet article http://support.microsoft.com/kb/940726 to fix the certificate warning error and Outlook 2007 works OK too.
Issue is when I use test-outlookwebservice cmdlet it gives the error  bellow.
Id      : 1013
Type    : Error
Message : When contacting https://access.siemens.com.au/autodiscover/autodiscover.xml received the  error The remote server returned an error: (401) Unauthorized.
If I change URIs back to server name it can contact the .xml file but get the certificate error. What is causing this?
Thanks , jayaj1
jayaj1Asked:
Who is Participating?
 
KaffiendConnect With a Mentor Commented:
See the following:
http://www.exchange-genie.com/2007/07/401-error-when-attempting-test-outlookwebservices/
http://support.microsoft.com/?id=896861

It will always fail, unless you disable loopback checking (which should only be done for testing and re-enabled afterward)
0
 
jayaj1Author Commented:
Thanks for your response. When I disabled loop back checking I was able to run the test-outlookwebservices command and enabled it afterwards.
0
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.

All Courses

From novice to tech pro — start learning today.