Solved

Help with Exchange 2007 Autodiscover services

Posted on 2010-11-22
6
738 Views
Last Modified: 2012-05-10
HI,

My external autodiscover services is working correctly.  However, internally I seem to be having issues.

Here are the errors I see.

[PS] C:\Windows\system32>Test-OutlookWebServices | fl


Id      : 1003
Type    : Information
Message : About to test AutoDiscover with the e-mail address admin@domain.local.

Id      : 1007
Type    : Information
Message : Testing server EXCH03.domainC.LOCAL with the published name https://realdomain/EWS/Exchange.asmx & https://realdomain/EWS/Exchange.asmx.

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

Id      : 1013
Type    : Error
Message : When contacting https://realdomain/Autodiscover/Autodiscover.xml received the error The remote server returned an error: (401) Unauthorized.

Id      : 1006
Type    : Error
Message : The Autodiscover service could not be contacted.

----------------------------
[PS] C:\Windows\system32>Get-AutodiscoverVirtualDirectory | fl


Name                          : Autodiscover (Default Web Site)
InternalAuthenticationMethods : {Basic, Ntlm, WindowsIntegrated}
ExternalAuthenticationMethods : {Basic, Ntlm, WindowsIntegrated}
BasicAuthentication           : True
DigestAuthentication          : False
WindowsAuthentication         : True
MetabasePath                  : IIS://EXCH04.domain.LOCAL/W3SVC/1/ROOT/Autodiscover
Path                          : C:\Program Files\Microsoft\Exchange Server\ClientAccess\Autodiscover
Server                        : EXCH04
InternalUrl                   :
ExternalUrl                   :
AdminDisplayName              :
ExchangeVersion               : 0.1 (8.0.535.0)
DistinguishedName             : CN=Autodiscover (Default Web Site),CN=HTTP,CN=Protocols,CN=EXCH04,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Fi
                                rst Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain,DC=LOCAL
Identity                      : EXCH04\Autodiscover (Default Web Site)
Guid                          : xxxxxxx
ObjectCategory                : domain.LOCAL/Configuration/Schema/ms-Exch-Auto-Discover-Virtual-Directory
ObjectClass                   : {top, msExchVirtualDirectory, msExchAutoDiscoverVirtualDirectory}
WhenChanged                   : 8/16/2010 11:31:18 AM
WhenCreated                   : 8/16/2010 11:31:18 AM
OriginatingServer             : nydc.domain.LOCAL
IsValid                       : True

Name                          : Autodiscover (Default Web Site)
InternalAuthenticationMethods : {Basic}
ExternalAuthenticationMethods : {Basic}
BasicAuthentication           : True
DigestAuthentication          : False
WindowsAuthentication         : False
MetabasePath                  : IIS://EXCH03.domain.LOCAL/W3SVC/1/ROOT/Autodiscover
Path                          : C:\Program Files\Microsoft\Exchange Server\ClientAccess\Autodiscover
Server                        : EXCH03
InternalUrl                   :
ExternalUrl                   :
AdminDisplayName              :
ExchangeVersion               : 0.1 (8.0.535.0)
DistinguishedName             : CN=Autodiscover (Default Web Site),CN=HTTP,CN=Protocols,CN=EXCH03,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Fi
                                rst Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domainDC=LOCAL
Identity                      : EXCH03\Autodiscover (Default Web Site)
Guid                          : xxxxxxxxxxxxxxxxxxxxxxxx
ObjectCategory                : NYCSAIC.LOCAL/Configuration/Schema/ms-Exch-Auto-Discover-Virtual-Directory
ObjectClass                   : {top, msExchVirtualDirectory, msExchAutoDiscoverVirtualDirectory}
WhenChanged                   : 8/16/2010 11:42:32 AM
WhenCreated                   : 8/16/2010 11:42:30 AM
OriginatingServer             : nydc01.domain.LOCAL
IsValid                       : True
0
Comment
Question by:dross333
6 Comments
 
LVL 5

Expert Comment

by:rajkr2020
ID: 34194404
0
 
LVL 26

Expert Comment

by:e_aravind
ID: 34195627
Internally you should be reaching to some SCP URL
use the test-emailautoconfiguration, give creds and then check on the LOGS tab to get the SCP URL

0
 
LVL 5

Expert Comment

by:sabk
ID: 34195670
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 10

Expert Comment

by:abhijitmdp
ID: 34196290
There is a mismatch in your autodiscover configuration. Please configure outlook anywhere, install the RPC over Http Proxy and use below commands to configure your autodiscover services.

Set-ClientAccessServer -Identity "exchangeservername" -AutoDiscoverServiceInternalUri "https://exchangeservername/autodiscover/autodiscover.xml" -AutoDiscoverSiteScope "exchangeservername"

Set-WebServicesVirtualDirectory -identity "exchangeservername\EWS (Default Web Site)" -externalurl https://webmail.domain.com/EWS/Exchange.asmx -BasicAuthentication:$True

Also you will need to check your OWA, OAB virtual directory for internal and external url. After completing all these again check and post the result. Also you can test your exchange environment through
http://www.testexchangeconnectivity.com/
0
 
LVL 1

Accepted Solution

by:
mdj8384 earned 500 total points
ID: 34200112
0
 

Author Comment

by:dross333
ID: 34210027
After some research I was able to find the a resolution to this.  It turns out that my permissions on the autodiscover directory was incorrect.  I needed to enable Windows authrentication.  Once  this was enabled, the test-outlookwebservices | fl pased the autodiscover tests.  The link below provided the default permissions for virtual directories.
http://msexchangeteam.com/archive/2008/02/01/447989.aspx

Also, as a kicker,  The Outlook version installed one a test system would fail the autodiscovery tests.  However, on another machine, I have Outlook SP2 installed and this one passes the Outlook autodiscovery tests.

I appreciate the help.  The  last post by mdj lead me to a link that provided the correct permissions.  Although I appreciate all the responses.


0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

809 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