Solved

Help with Exchange 2007 Autodiscover services

Posted on 2010-11-22
6
733 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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
how to add IIS SMTP to handle application/Scanner relays into office 365.

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now