When contacting received the 401: Unautherized error

Posted on 2009-02-11
Last Modified: 2012-05-06
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 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 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
Question by:jayaj1
    LVL 14

    Accepted Solution

    See the following:

    It will always fail, unless you disable loopback checking (which should only be done for testing and re-enabled afterward)

    Author Closing Comment

    Thanks for your response. When I disabled loop back checking I was able to run the test-outlookwebservices command and enabled it afterwards.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Back in July, I blogged about how Microsoft's new server pricing model, combined with the end of the Small Business Server package, would result in significant cost increases for many small businesses (see SBS End of Life: Microsoft Punishes Small B…
    I have put this article together as i needed to get all the information that might be available already into one general document that could be referenced once without searching the Internet for the different pieces. I have had a few issues where…
    Viewers will learn the different options available in the Backstage view in Excel 2013.
    The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now