Solved

Help with Exchange 2007 Autodiscover services

Posted on 2010-11-22
6
742 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This article will help to fix the below errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
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…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
Suggested Courses

636 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