Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 745
  • Last Modified:

Help with Exchange 2007 Autodiscover services

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
dross333
Asked:
dross333
1 Solution
 
rajkr2020Commented:
0
 
e_aravindCommented:
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
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
abhijitmdpCommented:
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
 
mdj8384Commented:
0
 
dross333Author Commented:
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now