locked
Test-OutlookWebServices in Exchange 2007 SP3 RU4 errors RRS feed

  • Question

  • Dear All,
    [PS] C:\Users\manju_adm\Desktop>Test-OutlookWebServices -Identity:m.gowda@contoso.com |fl
    Id      : 1003
    Type    : Information
    Message : About to test AutoDiscover with the e-mail address m.gowda@royalhaskoning.com.
    Id      : 1013
    Type    : Error
    Message : When contacting https://OWA.some-bridge.com/Autodiscover/Autodiscover.xml received the error The remote server returned an error: (401) Unaut
              horized.
    Id      : 1006
    Type    : Error
    Message : The Autodiscover service could not be contacted.
    Why???
    Manju
    Monday, September 5, 2011 2:45 PM

All replies

  • what about if you go from outlook, right click in task bar and open Email test connection, then fire a query for autodiscover, here you will see output for EWS, verify output here. Do you see XML output when open URL https://OWA.some-bridge.com/Autodiscover/Autodiscover.xml in Web Browser user machine.

    For your exact error try to follwo advise mentioned in below post and update me.

    http://www.exchange-genie.com/2007/07/401-error-when-attempting-test-outlookwebservices/


    Anil MCC 2011,ITIL V3,MCSA 2003,MCTS 2010, My Blog : http://messagingschool.wordpress.com
    Monday, September 5, 2011 3:12 PM
  • Hi Manju,

    Please set "DisableLoopbackCheck" registry key : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa

    If it doesn't work,

    Checked the DWS

    Edit Bindings
    Port 443 was set to an IP address changed it to All Unassigned.


    Best Regards!
    Tuesday, September 6, 2011 2:08 AM
  • Dear Anil,
    Here is what I got when I did the "test Connection" from the outlook client in LAN
    <?xml version="1.0" encoding="utf-8"?>
    <Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
      <Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a">
        <User>
          <DisplayName>BES_sa2</DisplayName>
          <LegacyDN>/o=Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=BES_sa2</LegacyDN>
          <DeploymentId>20c2048e-36c0-4721-8f5d-b0c41010c9aa</DeploymentId>
        </User>
        <Account>
          <AccountType>email</AccountType>
          <Action>settings</Action>
          <Protocol>
            <Type>EXCH</Type>
            <Server>Exchangemailboxname.net</Server>
            <ServerDN>/o=Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=ExchangeServ</ServerDN>
            <ServerVersion>72038053</ServerVersion>
            <MdbDN>/o=Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=Exchange-MBX/cn=Microsoft Private MDB</MdbDN>
            <PublicFolderServer>casser001.corporateroot.net</PublicFolderServer>
            <AD>Cenpr006.corporateroot.net</AD>
            <ASUrl>https://owa.rh-bridge.com/EWS/Exchange.asmx</ASUrl>
            <EwsUrl>https://owa.rh-bridge.com/EWS/Exchange.asmx</EwsUrl>
            <OOFUrl>https://owa.rh-bridge.com/EWS/Exchange.asmx</OOFUrl>
            <UMUrl>https://owa.rh-bridge.com/UnifiedMessaging/Service.asmx</UMUrl>
            <OABUrl>http://owa.rh-bridge.com/OAB/43218ef3-ed2a-41d4-946e-59f3f52aac50/</OABUrl>
          </Protocol>
          <Protocol>
            <Type>EXPR</Type>
            <Server>webmail.corporateroot.net</Server>
            <SSL>On</SSL>
            <AuthPackage>Ntlm</AuthPackage>
            <ASUrl>https://webmail.corporateroot.net/EWS/Exchange.asmx</ASUrl>
            <EwsUrl>https://webmail.corporateroot.net/EWS/Exchange.asmx</EwsUrl>
            <OOFUrl>https://webmail.corporateroot.net/EWS/Exchange.asmx</OOFUrl>
          </Protocol>
          <Protocol>
            <Type>WEB</Type>
            <Internal>
              <OWAUrl AuthenticationMethod="Basic, Ntlm, WindowsIntegrated">https://casser001.corporateroot.net/owa</OWAUrl>
              <OWAUrl AuthenticationMethod="Basic, Ntlm, WindowsIntegrated">https://casser002corporateroot.net/owa</OWAUrl>
              <Protocol>
                <Type>EXCH</Type>
                <ASUrl>https://owa.rh-bridge.com/EWS/Exchange.asmx</ASUrl>
              </Protocol>
            </Internal>
          </Protocol>
        </Account>
      </Response>
    </Autodiscover>


    Tuesday, September 6, 2011 9:29 AM