Connectivity Test Failed - User availability couldn't be confirmed RRS feed

  • Question

  • Our Out of Office functionality and Availability Services in Exchange 2007 with Outlook 2007 clients is not working.

    When I run the Exchange Web Services synchronization, notification, availability, and Automatic Replies (OOF) test on testexchangeconnectivity.com I receive the following error: 

    Under "Appointments are being created and deleted in the user's calendar to confirm the user's availability"

    Getting user availability and confirming results against expected values.

    ExRCA wasn't able to retrieve and confirm user availability.

    Additional Details

    The call to GetUserAvailability returned no conflicts when conflicts were expected.
    Last EWS request:
    <Trace Tag="EwsRequest" Tid="89" Time="2012-01-23 12:58:02Z" Version="15.00.0224.000">
     <?xml version="1.0" encoding="utf-8"?>
     <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/">
     <t:RequestServerVersion Version="Exchange2007_SP1" />
     <t:TimeZoneDefinition Id="Pacific Standard Time" />

    Last EWS response:
    <Trace Tag="EwsResponse" Tid="89" Time="2012-01-23 12:58:04Z" Version="15.00.0224.000">
     <?xml version="1.0" encoding="utf-8"?>
     <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
     <t:ServerVersionInfo MajorVersion="8" MinorVersion="3" MajorBuildNumber="213" MinorBuildNumber="0" Version="Exchange2007_SP1" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" />
     <GetUserAvailabilityResponse xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
     <ResponseMessage ResponseClass="Error">
     <MessageText>Mailbox logon failed., inner exception: Cannot open mailbox /o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=hr.</MessageText>
     <ExceptionType xmlns="http://schemas.microsoft.com/exchange/services/2006/errors">Microsoft.Exchange.InfoWorker.Common.Availability.MailboxLogonFailedException</ExceptionType>
     <ExceptionCode xmlns="http://schemas.microsoft.com/exchange/services/2006/errors">5008</ExceptionCode>
     <FreeBusyViewType xmlns="http://schemas.microsoft.com/exchange/services/2006/types">None</FreeBusyViewType>
     <ResponseMessage ResponseClass="Success">
     <SuggestionDayResult xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
     <SuggestionArray />
     <SuggestionDayResult xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
     <SuggestionArray />

    Any advice as to what the issue could be?






    Monday, January 23, 2012 1:10 PM

All replies

  • Hi,
    Have you configurec BasicAuthentication for the WebServicevirtualdirectory?
    Check with: Get-WebServicesVirtualDirectory | fl *auth*

    Also, has the right URLs been configured?

    Martina Miskovic
    Monday, January 23, 2012 1:27 PM
  • Hi Martina

    Basic Authenication is set for the WebServices Virtual Directory. Here's the output of the command

    InternalAuthenticationMethods : {Basic, Ntlm, WindowsIntegrated}
    ExternalAuthenticationMethods : {Basic, Ntlm, WindowsIntegrated}
    BasicAuthentication           : True
    DigestAuthentication          : False
    WindowsAuthentication         : True


    What URLs do I need to check and how do I do it?





    Monday, January 23, 2012 1:36 PM
  • Hi Peter,
    Run the following command to check the URLs:
    Get-WebServicesVirtualDirectory | fl identity,internalurl,externalurl

    Also, do run Test-OutlookWebServices i EMS to check your Autodiscover settings.

    Can you describe your problem a bit more?

    Martina Miskovic
    Monday, January 23, 2012 1:57 PM
  • Hi Martina

    The issues are as follows:

    Users can set the Out of Office message in Outlook 2007 or in OWA but they never get delivered to the recipient either internally or externally.

    We have one user still using Outlook 2003 and their Out of Office message is delivered - I know that this is down to the different ways in which Outlook 2003 and 2007 connect to Exchange.

    Also the Availability Services for meeting invites is not available in Outlook 2007 or OWA (not sure if they are in Outlook 2003)


    The Get-WebServices output is

    Identity    : HABITATNEW\EWS (SBS Web Applications)
    InternalUrl : https://habitatnew.habitatireland.local/EWS/Exchange.asmx
    ExternalUrl : https://habitat.habitatireland.ie/ews/exchange.asmx

    The External URL is pointing to the External DNS entry for the server


    Here's the output of Test-OutlookWebServices

    Id      : 1003
    Type    : Information
    Message : About to test AutoDiscover with the e-mail address rockford@habitatireland.ie.

    Id      : 1007
    Type    : Information
    Message : Testing server HABITATNEW.habitatireland.local with the published name https://habitatnew.habitatireland.local/EWS/Exchange.asmx & https://habitat.habitatireland.ie/ews/exchange.asmx.

    Id      : 1019
    Type    : Information
    Message : Found a valid AutoDiscover service connection point. The AutoDiscover URL on this object is https://habitatnew.habitatireland.local/Autodiscover/Autodiscover.xml.

    Id      : 1006
    Type    : Information
    Message : The Autodiscover service was contacted at https://habitatnew.habitatireland.local/Autodiscover/Autodiscover.xml.

    Id      : 1011
    Type    : Error
    Message : When querying Availability for rockford@habitatireland.ie received 5008:

    Id      : 1016
    Type    : Error
    Message : [EXCH]-Error when contacting the AS service at https://habitatnew.habitatireland.local/EWS/Exchange.asmx. The elapsed time was 33 milliseconds.

    Id      : 1015
    Type    : Success
    Message : [EXCH]-Successfully contacted the OAB service at https://habitatnew.habitatireland.local/EWS/Exchange.asmx. The elapsed time was 0 milliseconds.

    Id      : 1014
    Type    : Success
    Message : [EXCH]-Successfully contacted the UM service at https://habitat.habitatireland.ie/UnifiedMessaging/Service.asmx. The elapsed time was 9 milliseconds.

    Id      : 1011
    Type    : Error
    Message : When querying Availability for rockford@habitatireland.ie received 5008:

    Id      : 1016
    Type    : Error
    Message : [EXPR]-Error when contacting the AS service at https://habitat.habitatireland.ie/ews/exchange.asmx. The elapsed time was 32 milliseconds.

    Id      : 1015
    Type    : Success
    Message : [EXPR]-Successfully contacted the OAB service at https://habitat.habitatireland.ie/ews/exchange.asmx. The elapsed time was 0 milliseconds.

    Id      : 1014
    Type    : Success
    Message : [EXPR]-Successfully contacted the UM service at https://habitat.habitatireland.ie/UnifiedMessaging/Service.asmx. The elapsed time was 9 milliseconds.

    Id      : 1013
    Type    : Error
    Message : When contacting https://habitat.habitatireland.ie/Rpc received the error The server committed a protocol violation. Section=ResponseStatusLine

    Id      : 1017
    Type    : Error
    Message : [EXPR]-Error when contacting the RPC/HTTP service at https://habitat.habitatireland.ie/Rpc. The elapsed time was 17 milliseconds.

    Id      : 1006
    Type    : Success
    Message : The Autodiscover service was tested successfully.

    Id      : 1021
    Type    : Information
    Message : The following web services generated errors.
                  As in EXCH
                  As, in EXPR
                  Contacting server in EXPR
              Please use the prior output to diagnose and correct the errors.


    Monday, January 23, 2012 2:14 PM
  • Hi,
    I don't know if the configuration should be done differently using SBS or not, so It might be better if you post in the SBS Forum.

    I think it would be a good idea to configure diagnostics loggins for these services:
    MSExchange Availability\Availability Service
    MSExchange Availability\Availability Service General
    MSExchange Availability\Availability Service Authentication
    MSExchange Availability\Availability Service Authorization

    Example: set-eventloglevel "MSExchange Availability\Availability Service" -loglevel Expert

    Do you have configured any Outlookprovider?
    Check with: Get-Outlookprovider

    Can you also check the URLs configured for the OABVirutaldirectory?
    Get-OabVirtualDirectory | fl Identity,internalurl,externalurl

    What configuration do you have for Out Of Office?
    Check the setting at Org Configuration | Hub Transport | Remote Domain -> Default

    Martina Miskovic
    Monday, January 23, 2012 2:49 PM
  • Hi Martina

    For SBS, I think the main differences is that everything sits within the SBS Applications application in IIS rather than Default Website application and of course all roles are handled on the one server.


    For Get-OutlookProvider I dont think there's anything configured at all as it just shows


    Could this be where the problem lies???


    For Get-OabVirtualDirectory

    Identity    : HABITATNEW\OAB (SBS Web Applications)
    InternalUrl : https://habitat.habitatireland.ie/OAB
    ExternalUrl : https://habitat.habitatireland.ie/OAB


    For Out of Office the 4th option is set, i.e

    Allow internal out-of-office messages, and out-of-offices messages set by Outlook 2003 or earlier clients or sent by Exchange Server 2003 or earlier servers.

    Monday, January 23, 2012 3:09 PM
  • Hi,
    I thought that maybe there are some guides/wizards that should be run to configure the different URLs.
    Any good reason why your're not using the the internal name for the internalurl configured for OAB?

    Regarding the Outlookprovider....With the right Certficate installed, no outlookprovider needs to be configured so that's not your problem.

    Is the Availability (free/busy) just grayed out when creating meeting requests in Outlook and/or OWA)

    Just to be sure...is all services running?
    Check with: Test-Servicehealth

    Even if MSExchangeMailboxAssistants is running, can you restart that service?
    Martina Miskovic
    Monday, January 23, 2012 3:21 PM
  • Hi

    There is a general wizard (Connect to the Internet) that you run when setting up SBS for the first time and it then configures everything in the background.

    Not sure as to why I'm using the external URL for the Internal URL for OAB, I may have been messing around trying to fix this issue a while back but forgot to change it back to the Internal URL. I have changed this now.


    I have a UC certificate installed on the server with entries for both the External and Internal URLs in it.

    The Availability in a meeting request is greyed out and in OWA shows "No Information" when you hover over it.


    Running Test0ServiceHealth shows

    Role          RequiredServicesRunning    ServicesRunning        ServicesNotRunning
    ----          -----------------------            ---------------            ------------------
    Mailbox       True                    IISAdmin
    Client Access True                    IISAdmin
    Hub Transport False         MSExchangeADTopology   MSExchangeEdgeSync



    I was able to restart the MSExchangeMailboxAssistants service with no issues


    Monday, January 23, 2012 3:47 PM
  • When you ran the test in ExRCA, did you use an account that was empty? (=you need to)

    Have you ran any of the the other tests successfully? I'm thinking of Outlook Anywhere and Outlook Autodiscover.

    Can you see the availability information using OWA?

    Is this a new setup or have you always had this problem?
    Did you change the setting for OOF and if so, did it make any difference?

    What SP and RU do you have installed?

    Martina Miskovic
    Monday, January 23, 2012 3:59 PM
  • Yes, the account used to test was empty.

    Outlook Anywhere (RPC over HTTP) and Autodiscover pass the tests

    The availability information is not visable in OWA

    This was a new set up last year (July) but had only discovered the out of office issues in December.


    I have Update Rollout 5 for SBS 2008

    Service Pack 3 for Exchange 2007 and seem to have 2 Update Rollups installed 3-v2 (installed 22/08/11) and 5 (installed 30/11/11)

    Monday, January 23, 2012 4:17 PM
  • Ok, so your Exchange Server is updated. Good!
    I can't say about the SBS, cause I really don't have any idea. Never worked with SBS.

    Do you have anything configured for the internal- and externalurl on the AutodiscoverVirutualdirectory? By default they are not set and doesn't need to be.
    Check with: Get-AutodiscoverVirtualDirectory | fl Identity,internalurl,externalurl

    What is the AutoDiscoverServiceInternalUri set to?
    Check with: Get-ClientAccessServer | fl Name,*uri*

    Did you enable diagnostics logging for the Availability Service?
    The options might be a bit different in Exchange 2007, but it will not be hard for you to find them if you run get-eventloglevel.


    Martina Miskovic
    Monday, January 23, 2012 4:36 PM
  • For AutodiscoverVirtualDirectory, these are set to internal and external URLs for the server.

    Identity : HABITATNEW\Autodiscover (SBS Web Applications)
    InternalUrl : https://habitatnew.habitatireland.local/Autodiscover/Autodiscover.xml
    ExternalUrl : https://habitat.habitatireland.ie/Autodiscover/Autodiscover.xml


    AutoDiscoverServiceInternalUri : https://habitatnew.habitatireland.local/Autodiscover/Autodiscover.xml


    I have enabled logging for the Availability Services.

    Monday, January 23, 2012 5:51 PM
  • Hi

    Does anyone else have any other suggestions or is it time to bite the bullet and contact MS Support?





    Wednesday, February 1, 2012 5:09 PM
  • How did this work out for you?
    Tuesday, May 23, 2017 7:43 PM