+ Post New Thread
Results 1 to 5 of 5
Enterprise Software Thread, Whats wrong with Auto Discover? in Technical; Hi, We are running Exchange 2013. Running Test-OutlookWebServices -debug displays the following. Thats wrong with my auto discover please? Thanks ...
  1. #1

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,376
    Thank Post
    906
    Thanked 1,811 Times in 1,559 Posts
    Blog Entries
    12
    Rep Power
    468

    Whats wrong with Auto Discover?

    Hi,

    We are running Exchange 2013. Running Test-OutlookWebServices -debug displays the following.

    Thats wrong with my auto discover please?

    Thanks

    Code:
    Source                              ServiceEndpoint                     Scenario                       Result  Latency
                                                                                                                      (MS)
    ------                              ---------------                     --------                       ------  -------
    FP-EX13-01.falinge.int              mail.school.com                Autodiscover: Outlook Provider Failure     104
    VERBOSE: [09:49:22.743 GMT] Test-OutlookWebServices : From Autodiscover (EwsUrl), the Exchange Web Services URL is
    'https://mail.school.com/EWS/Exchange.asmx'.
    VERBOSE: [09:49:22.743 GMT] Test-OutlookWebServices : Exchange Web Services connecting to
    'https://mail.school.com/EWS/Exchange.asmx'.
    VERBOSE: [09:49:22.743 GMT] Test-OutlookWebServices : Test account: extest_f3433a8bf0cd4@falinge.int Password: ******
    VERBOSE: [09:49:22.774 GMT] Test-OutlookWebServices : Exchange Web Services request:
    Content-Type: text/xml;charset=utf-8
    User-Agent: FP-EX13-01/Test-OutlookWebServices/extest_f3433a8bf0cd4@falinge.int
    Accept: text/xml
    Authorization: Negotiate
    TlRMTVNTUAADAAAAGAAYAKwAAAAYABgAxAAAAAAAAABYAAAAQABAAFgAAAAUABQAmAAAABAAEADcAAAAFYKI4gYC8CMAAAAPD2JWQh9Vxc3r2xpFJ0sWzWU
    AeAB0AGUAcwB0AF8AZgAzADQAMwAzAGEAOABiAGYAMABjAGQANABAAGYAYQBsAGkAbgBnAGUALgBpAG4AdABGAFAALQBFAFgAMQAzAC0AMAAxAKkT9tlV2c
    YfAAAAAAAAAAAAAAAAAAAAAL6nkBGIH5LiDvyKGaUxyReOb+XsubYA0NViH5C26r4wj1aMGHTfPI8=
    Host: mail.school.com
    Content-Length: 746
    Expect: 100-continue
    VERBOSE: [09:49:22.774 GMT] Test-OutlookWebServices : Exchange Web Services request:
    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"
    xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"
    xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
      <soap:Header>
        <t:RequestServerVersion Version="Exchange2007_SP1" />
      </soap:Header>
      <soap:Body>
        <m:ConvertId DestinationFormat="OwaId">
          <m:SourceIds>
            <t:AlternateId Format="EntryId"
    Id="AAAAAJrt68tcvoJHj4EZX4tVxJkHAJkQvNaLMepFoct50Pnbm4gAAAHZbQQAAF1I2v4S5IFMi6vJDIXLpOEAAAAI6ocAAA=="
    Mailbox="nobody@contoso.com" />
          </m:SourceIds>
        </m:ConvertId>
      </soap:Body>
    </soap:Envelope>
    VERBOSE: [09:49:22.774 GMT] Test-OutlookWebServices : Exchange Web Services response:
    Transfer-Encoding: chunked
    request-id: afacf72f-4019-40f5-b0d5-cb8748578a47
    X-CalculatedBETarget: fp-ex13-01.falinge.int
    X-DiagInfo: FP-EX13-01
    X-BEServer: FP-EX13-01
    Cache-Control: private
    Content-Type: text/xml; charset=utf-8
    Set-Cookie: exchangecookie=433c05b3af7d43dfa303d5296e165f67; expires=Wed, 27-Aug-2014 09:49:22 GMT; path=/;
    HttpOnly,X-BackEndCookie=S-1-5-21-1313426386-217239805-1660195632-10425=u56Lnp2ejJqBms6cnp7Pys3Syc7PndLLmsnL0p3Mx83Sxpn
    NypnImsucms/PgYHNyNDPx9DNz87M38/GxcrGxc3N; expires=Tue, 27-Aug-2013 09:59:22 GMT; path=/EWS; secure; HttpOnly
    Server: Microsoft-IIS/8.0
    X-AspNet-Version: 4.0.30319
    Persistent-Auth: true
    X-Powered-By: ASP.NET
    X-FEServer: FP-EX13-01
    Date: Tue, 27 Aug 2013 09:49:22 GMT
    VERBOSE: [09:49:22.774 GMT] Test-OutlookWebServices : Exchange Web Services response:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
      <s:Header>
        <h:ServerVersionInfo MajorVersion="15" MinorVersion="0" MajorBuildNumber="712" MinorBuildNumber="22" Version="V2_3"
     xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types"
    xmlns="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
      </s:Header>
      <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
        <m:ConvertIdResponse xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"
    xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
          <m:ResponseMessages>
            <m:ConvertIdResponseMessage ResponseClass="Success">
              <m:ResponseCode>NoError</m:ResponseCode>
              <m:AlternateId xsi:type="t:AlternateIdType" Format="OwaId"
    Id="RgAAAACa7evLXL6CR4%2BBGV%2BLVcSZBwCZELzWizHqRaHLedD525uIAAAB2W0EAABdSNr%2BEuSBTIuryQyFy6ThAAAACOqHAAAA"
    Mailbox="nobody@contoso.com" />
            </m:ConvertIdResponseMessage>
          </m:ResponseMessages>
        </m:ConvertIdResponse>
      </s:Body>
    </s:Envelope>
            <t:MergedFreeBusyIntervalInMinutes>30</t:MergedFreeBusyIntervalInMinutes>
            <t:RequestedView>Detailed</t:RequestedView>
          </t:FreeBusyViewOptions>
        </m:GetUserAvailabilityRequest>
      </soap:Body>
    </soap:Envelope>
    VERBOSE: [09:49:22.836 GMT] Test-OutlookWebServices : Availability Service response:
    Transfer-Encoding: chunked
    request-id: d9992894-3f7c-44b5-9b98-f6843633ab64
    X-CalculatedBETarget: fp-ex13-01.falinge.int
    X-DiagInfo: FP-EX13-01
    X-BEServer: FP-EX13-01
    Cache-Control: private
    Content-Type: text/xml; charset=utf-8
    Set-Cookie: exchangecookie=2b769e975c4a4de58139a00d48ec9e4e; expires=Wed, 27-Aug-2014 09:49:22 GMT; path=/;
    HttpOnly,X-BackEndCookie=S-1-5-21-1313426386-217239805-1660195632-10425=u56Lnp2ejJqBms6cnp7Pys3Syc7PndLLmsnL0p3Mx83Sxpn
    NypnImsucms/PgYHNyNDPx9DNz87M38/GxcrGxc3N; expires=Tue, 27-Aug-2013 09:59:22 GMT; path=/EWS; secure; HttpOnly
    Server: Microsoft-IIS/8.0
    X-AspNet-Version: 4.0.30319
    Persistent-Auth: true
    X-Powered-By: ASP.NET
    X-FEServer: FP-EX13-01
    Date: Tue, 27 Aug 2013 09:49:22 GMT
    VERBOSE: [09:49:22.836 GMT] Test-OutlookWebServices : Availability Service response:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
      <s:Header>
        <h:ServerVersionInfo MajorVersion="15" MinorVersion="0" MajorBuildNumber="712" MinorBuildNumber="22" Version="V2_3"
     xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types"
    xmlns="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
      </s:Header>
      <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
        <GetUserAvailabilityResponse xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
          <FreeBusyResponseArray>
            <FreeBusyResponse>
              <ResponseMessage ResponseClass="Success">
                <ResponseCode>NoError</ResponseCode>
              </ResponseMessage>
              <FreeBusyView>
                <FreeBusyViewType
    xmlns="http://schemas.microsoft.com/exchange/services/2006/types">Detailed</FreeBusyViewType>
              </FreeBusyView>
            </FreeBusyResponse>
          </FreeBusyResponseArray>
        </GetUserAvailabilityResponse>
      </s:Body>
    </s:Envelope>

  2. #2

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,376
    Thank Post
    906
    Thanked 1,811 Times in 1,559 Posts
    Blog Entries
    12
    Rep Power
    468
    Running "Test-OutlookWebServices | fl" retruns "The Autodiscover response did not return a URL for Offline Address Book"

    Running "Get-OfflineAddressBook | ft Identity,WebDistributionEnabled" shows my OAB is not web distributed, this i think is the issue, i am struggling to find something that will change these settings.

  3. #3

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,376
    Thank Post
    906
    Thanked 1,811 Times in 1,559 Posts
    Blog Entries
    12
    Rep Power
    468
    Sorted that by doing Set-OfflineAddressBook -identity "\Default Offline Address Book (Ex2013)" -GlobalWebDistributionEnabled $True

    But didnt fix the Autodiscover issue.

    running Get-OabVirtualDirectory | ft Name,BasicAuthentication shows basic auth is off, i think it should be on
    Last edited by FN-GM; 27th August 2013 at 12:57 PM.

  4. #4

    Domino's Avatar
    Join Date
    Oct 2006
    Location
    Bromley
    Posts
    4,126
    Thank Post
    217
    Thanked 1,353 Times in 826 Posts
    Blog Entries
    4
    Rep Power
    528
    if you go to https://cas-server-name/autodiscover/autodiscover.xml do you get an auth request followed by an XML return? (a 600 error here is normal)

    a get-autodiscovervirtualdirectory | FL should give you all the information on the autodiscover directories

  5. #5

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,376
    Thank Post
    906
    Thanked 1,811 Times in 1,559 Posts
    Blog Entries
    12
    Rep Power
    468
    Must needed some time after my other changes. Running "Test-OutlookWebServices | fl" returns The remote server returned an error: (404) Not Found for the offline address book.

    Autodiscover now passes the tests



SHARE:
+ Post New Thread

Similar Threads

  1. whats wrong with this script :(
    By PEO in forum Scripts
    Replies: 7
    Last Post: 16th June 2009, 01:40 PM
  2. My school infrastucture - whats wrong with this picture?
    By gman in forum Windows Server 2000/2003
    Replies: 16
    Last Post: 10th February 2009, 10:33 AM
  3. What's wrong with CS3 and what's Adobe doing?
    By beeswax in forum IT News
    Replies: 2
    Last Post: 17th August 2007, 12:32 AM
  4. What the devil's wrong with IE?
    By indiegirl in forum Windows
    Replies: 7
    Last Post: 13th April 2006, 03:54 PM
  5. Replies: 5
    Last Post: 7th February 2006, 04:02 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •