Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Help with Exchange 2007 Autodiscover services

Posted on 2010-11-22
6
Medium Priority
?
744 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
Office 365 Training for Admins - 7 Day Trial

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.

 
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 2000 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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

In-place Upgrading Dirsync to Azure AD Connect
A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
In this video we show how to create a mailbox database 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 Servers >> Data…
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…

721 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