locked
test-outlookwebservices error (autodiscovery issues) RRS feed

  • Question

  • having problems with autodiscover in my test environment.

    sending/recieving- internet/external/owa all ok.. but mobile/pop not working??

    using .net ver4 latest update

    [PS] C:\Windows\system32>Test-OutlookWebServices -ClientAccessServer "web1"
    WARNING: An unexpected error has occurred and a Watson dump is being generated: Failed to find the mailbox. Mailbox =
    ''.
    Failed to find the mailbox. Mailbox = ''.
        + CategoryInfo          : NotSpecified: (:) [Test-OutlookWebServices], MailboxNotFoundException
        + FullyQualifiedErrorId : Microsoft.Exchange.Monitoring.MailboxNotFoundException,Microsoft.Exchange.Management.Sys
       temConfigurationTasks.TestOutlookWebServicesTask

    also..using the testexchangeconnectivity.com gives me errors..

    anyone???

     

    Thursday, October 28, 2010 6:26 PM

Answers

  • thank you for this. it was helpful.

    i had to revisit everything but it is now working..

     

    • Marked as answer by mouhamad Friday, October 29, 2010 4:06 PM
    Friday, October 29, 2010 3:40 PM

All replies

  • You must create a test account before you can diagnose Availability service issues using the Test-OutlookWebServices cmdlet. To create the test mailbox, log on to the Exchange Server 2007 or Exchange 2010 Mailbox server. Open the Shell, and then locate the Scripts directory under the installation path on the Exchange server. For Exchange 2007, the folder is located at C:\Program Files\Microsoft\Exchange Server\Scripts, where C:\ is the directory to which you installed Exchange. For Exchange 2010, the folder is located at C:\Program Files\Microsoft\ExchangeServer\V14\Scripts, where C:\ is the directory to which you installed Exchange 2010. Run the script New-TestCasConnectivityUser.ps1. Repeat this process on each Exchange 2007 or Exchange 2010 Mailbox server that is to be tested.


    Regards, Kip Ng - http://blogs.technet.com/b/provtest/
    • Proposed as answer by ϻοϰsϯεr Thursday, September 26, 2013 11:36 AM
    Thursday, October 28, 2010 6:43 PM
    Answerer
  • thanks that worked (for mobile devices only thought)..still looking at pop?? any suggestions??

    Thursday, October 28, 2010 9:06 PM
  • What's the error? What are you trying to test here?
    Regards, Kip Ng - http://blogs.technet.com/b/provtest/
    Thursday, October 28, 2010 9:14 PM
    Answerer
  • sorry, a bit more info..

    exchange2010 sp1 hosting

    when i connect my mobile device all good. (automatically connected-autodiscovery)

    (connecting through web/pop settings)

    when i connect my office 2010 outook via pop does not connect..

    does not like my authentication??

    autodiscovertest.exe returned:

     ..error. message: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure ch
    annel.
    status code: TrustFailure

    • Edited by mouhamad Thursday, October 28, 2010 9:51 PM update
    Thursday, October 28, 2010 9:19 PM
  • Is this a question of connecting to the pop or a question of autodiscover for Outlook? So, you need to know where this Outlook is getting the autodiscover from and what's in the return of autodiscover.

    I suggest you take a look at here if you haven't, http://technet.microsoft.com/en-us/library/cc511507.aspx

    Thanks.

     


    Regards, Kip Ng - http://blogs.technet.com/b/provtest/
    Friday, October 29, 2010 4:00 AM
    Answerer
  • thank you for this. it was helpful.

    i had to revisit everything but it is now working..

     

    • Marked as answer by mouhamad Friday, October 29, 2010 4:06 PM
    Friday, October 29, 2010 3:40 PM
  • Hi Mouhamad,

    Can you tell us what exactly was done to fix your problem? I'm having the same issue. Are we allowed to create multiple autodiscover for each hosted domain we create? What command did you use to do this? Or did you have to create these xml file from scratch?

    Thanks

     

     

    Sunday, February 13, 2011 8:33 PM
  • Hi Everyone,

    I figured out what was the problem. Kip Ng's blog about autodiscover were very helpful. link was here: http://blogs.technet.com/b/provtest/archive/2010/08/13/exchange-server-2010-sp1-beta-hosting-deployment-part-9-autodiscover.aspx

    I then need to look into the white paper from microsoft site about deployment of autodiscover for 2007 from this link: http://technet.microsoft.com/en-us/library/bb332063(EXCHG.80).aspx

    Went with Scenario 2: Using One Single-Name Certificate and the Autodiscover SRV Record, made modifications to the SRV record on the DNS server and it WORKED!!! Only problem was before the Outlook 2010 client started, there was a pop-up about the certificate not being the same name. I just installed and that message went away..

    This thread was very helpful in getting my problem resolved.

    One only comment was for Kip Ng's autodiscovery tool for 2007 didn't work so well for the Hosted Exchange 2010. I need to actually install Outlook Client 2010 to test it and it pick up the setting very quickly.

    Thanks again.

     

    • Proposed as answer by felix107 Tuesday, March 1, 2011 3:02 PM
    Sunday, February 13, 2011 9:27 PM
  • Hi felix107,

    Can you explain the problem with the autodiscoverTest tool that you are having on Exchange Server 2010? It should work.

    Kip


    Regards, Kip Ng - http://blogs.technet.com/b/provtest/
    Tuesday, March 1, 2011 7:06 AM
    Answerer
  • Hi Kip,

    I was just sharing this information to everyone that this was the solution that worked for me. :-)

    Thanks

     

    Tuesday, March 1, 2011 3:02 PM
  • I understand. I am just curious to know your comment "One only comment was for Kip Ng's autodiscovery tool for 2007 didn't work so well for the Hosted Exchange 2010."

    I like to know what doesn't work so that I can fix it.


    Regards, Kip Ng - http://blogs.technet.com/b/provtest/
    Tuesday, March 1, 2011 3:54 PM
    Answerer
  • Hi Kip,

     

    Oh, you mean that comment. I was talking about the AutodiscoverTest.exe. I tried it out and it didn't work really well in the Hosted Exchange 2010 environment.

    Overall I fould the most helpful information was in the autodiscovery in Exchange 2007 document, but the problem was that autodiscoverTest.exe didn't really work that great when I was testing it on Hosted Exchange 2010. I was refering to the this command below:

    AutodiscoverTest.exe -email:administrator@provtest.com -username:administrator@provtest.com

     

    Thanks

    Tuesday, March 1, 2011 9:43 PM
  • Yes, if you can provide me with more information why it isn't working that well, that will be great. I just ran this on 3 of my environments and it worked as expected. Hence I am wondering what failed in your test last time.


    Regards, Kip Ng - http://blogs.technet.com/b/provtest/
    Tuesday, March 1, 2011 9:47 PM
    Answerer