Link to home
Create AccountLog in
Avatar of mdwhiteside
mdwhitesideFlag for United States of America

asked on

Can't get Outlook Anywhere to work from external Outlook clients

Hi everyone,
I need some assistance configuring Exchange 2007 SP1 (on Server 2008 SP1) to allow Outlook Anywhere to work properly for my remote Outlook users.  I have successfully configured Outlook on a domain member system with Outlook Anywhere settings.  All other Exchange service including OWA and Outlook on my Mobile clients seems to be fully functional.  I'll attach some output from EMS.

Thank you very much.
[PS] C:\Windows\System32>get-outlookprovider
 
Name                Server              CertPrincipalName   TTL
----                ------              -----------------   ---
EXCH                exchange            mail.mydomain.com    1
EXPR                exchange            mail.mydomain.com    1
WEB                 exchange            mail.mydomain.com    1
 
....................................................................
[PS] C:\Windows\System32>test-OutlookWebServices |fl
 
 
Id      : 1003
Type    : Information
Message : About to test AutoDiscover with the e-mail address user@mydomain.com.
 
Id      : 1007
Type    : Information
Message : Testing server Exchange.mydomain.local with the published name https://mai
          l.mydomain.com/ews/exchange.asmx & https://mail.mydomain.com/ews/exchan
          ge.asmx.
 
Id      : 1019
Type    : Information
Message : Found a valid AutoDiscover service connection point. The AutoDiscover
           URL on this object is https://mail.mydomain.com/autodiscover/autodisc
          over.xml.
 
Id      : 1013
Type    : Error
Message : When contacting https://mail.jsidata.com/autodiscover/autodiscover.xm
          l received the error The remote server returned an error: (401) Unaut
          horized.
 
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 : {Ntlm, WindowsIntegrated}
ExternalAuthenticationMethods : {Ntlm, WindowsIntegrated}
BasicAuthentication           : False
DigestAuthentication          : False
WindowsAuthentication         : True
MetabasePath                  : IIS://Exchange.mydomain.local/W3SVC/1/ROOT/Autodisco
                                ver
Path                          : C:\Program Files\Microsoft\Exchange Server\Clie
                                ntAccess\Autodiscover
Server                        : EXCHANGE
InternalUrl                   :
ExternalUrl                   :
AdminDisplayName              :
ExchangeVersion               : 0.1 (8.0.535.0)
DistinguishedName             : CN=Autodiscover (Default Web Site),CN=HTTP,CN=P
                                rotocols,CN=EXCHANGE,CN=Servers,CN=Exchange Adm
                                inistrative Group (FYDIBOHF23SPDLT),CN=Administ
                                rative Groups,CN=First Organization,CN=Microsof
                                t Exchange,CN=Services,CN=Configuration,DC=jsi,
                                DC=local
Identity                      : EXCHANGE\Autodiscover (Default Web Site)
Guid                          : 6ecdb9fc-d221-4b38-9208-1e3d2d430f5f
ObjectCategory                : mydomain.local/Configuration/Schema/ms-Exch-Auto-Dis
                                cover-Virtual-Directory
ObjectClass                   : {top, msExchVirtualDirectory, msExchAutoDiscove
                                rVirtualDirectory}
WhenChanged                   : 7/5/2008 1:12:35 PM
WhenCreated                   : 7/5/2008 1:12:35 PM
OriginatingServer             : DC.mydomain.local
IsValid                       : True
 
....................................................................
[PS] C:\Windows\System32>Get-WebServicesVirtualDirectory | fl
 
InternalNLBBypassUrl          : https://exchange.mydomain.local/ews/exchange.asmx
Name                          : EWS (Default Web Site)
InternalAuthenticationMethods : {Ntlm, WindowsIntegrated}
ExternalAuthenticationMethods : {Ntlm, WindowsIntegrated}
BasicAuthentication           : False
DigestAuthentication          : False
WindowsAuthentication         : True
MetabasePath                  : IIS://Exchange.jsi.local/W3SVC/1/ROOT/EWS
Path                          : C:\Program Files\Microsoft\Exchange Server\Clie
                                ntAccess\exchweb\EWS
Server                        : EXCHANGE
InternalUrl                   : https://mail.mydomain.com/ews/exchange.asmx
ExternalUrl                   : https://mail.mydomain.com/ews/exchange.asmx
AdminDisplayName              :
ExchangeVersion               : 0.1 (8.0.535.0)
DistinguishedName             : CN=EWS (Default Web Site),CN=HTTP,CN=Protocols,
                                CN=EXCHANGE,CN=Servers,CN=Exchange Administrati
                                ve Group (FYDIBOHF23SPDLT),CN=Administrative Gr
                                oups,CN=First Organization,CN=Microsoft Exchang
                                e,CN=Services,CN=Configuration,DC=jsi,DC=local
Identity                      : EXCHANGE\EWS (Default Web Site)
Guid                          : f06bba68-b616-491b-bfa4-233f9f80ed18
ObjectCategory                : jsi.local/Configuration/Schema/ms-Exch-Web-Serv
                                ices-Virtual-Directory
ObjectClass                   : {top, msExchVirtualDirectory, msExchWebServices
                                VirtualDirectory}
WhenChanged                   : 8/4/2008 10:52:29 PM
WhenCreated                   : 7/5/2008 1:12:44 PM
OriginatingServer             : DC.mydomain.local
IsValid                       : True

Open in new window

Avatar of Sudhirchauhan3
Sudhirchauhan3
Flag of India image

Do you have your externalautodiscover url published with trusted certificate.
Avatar of mdwhiteside

ASKER

Yes, my UCC certificate has the following hosts
mail.mydomain.com
server netbios name
mail.mydomain.local
autodiscover.mydomain.com
I tried to confirm the Autodiscover url with the following...

[PS] C:\Windows\System32>Get-AutodiscoverVirtualDirectory | fl Name,internalurl,
externalurl
Name        : Autodiscover (Default Web Site)
InternalUrl :
ExternalUrl :

So I tried to specify the internal and external urls, but received the followin error.

[PS] C:\Windows\System32>Set-AutoDiscoverVirtualDirectory -Identity "autodiscove
r*" -ExternalUrl "Https:/mail.jsidata.com/autodiscover/autodiscover.xml" -Intern
alUrl "Https://exchange.jsi.local/autodiscover/autodiscover.xml"
Set-AutodiscoverVirtualDirectory : 'Https:/mail.jsidata.com/autodiscover/autodi
scover.xml' is not a valid value for ExternalUrl. The Uri must be of UriKind Ab
solute.
At line:1 char:33
+ Set-AutoDiscoverVirtualDirectory  <<<< -Identity "autodiscover*" -ExternalUrl
 "Https:/mail.jsidata.com/autodiscover/autodiscover.xml" -InternalUrl "Https://
exchange.jsi.local/autodiscover/autodiscover.xml"

Any thoughts?
Scratch that last post...hehe...I was able to specify the Autodiscover URLs.  See EMS output below


[PS] C:\Windows\System32>Get-AutodiscoverVirtualDirectory | fl
 
 
Name                          : Autodiscover (Default Web Site)
InternalAuthenticationMethods : {Ntlm, WindowsIntegrated}
ExternalAuthenticationMethods : {Ntlm, WindowsIntegrated}
BasicAuthentication           : False
DigestAuthentication          : False
WindowsAuthentication         : True
MetabasePath                  : IIS://Exchange.mydomain.local/W3SVC/1/ROOT/Autodisco
                                ver
Path                          : C:\Program Files\Microsoft\Exchange Server\Clie
                                ntAccess\Autodiscover
Server                        : EXCHANGE
InternalUrl                   : https://mail.mydomain.com/Autodiscover/Autodisco
                                ver.xml
ExternalUrl                   : https://mail.mydomain.com/Autodiscover/Autodisco
                                ver.xml
AdminDisplayName              :
ExchangeVersion               : 0.1 (8.0.535.0)
DistinguishedName             : CN=Autodiscover (Default Web Site),CN=HTTP,CN=P
                                rotocols,CN=EXCHANGE,CN=Servers,CN=Exchange Adm
                                inistrative Group (FYDIBOHF23SPDLT),CN=Administ
                                rative Groups,CN=First Organization,CN=Microsof
                                t Exchange,CN=Services,CN=Configuration,DC=mydomain,
                                DC=local
Identity                      : EXCHANGE\Autodiscover (Default Web Site)
Guid                          : 6ecdb9fc-d221-4b38-9208-1e3d2d430f5f
ObjectCategory                : jsi.local/Configuration/Schema/ms-Exch-Auto-Dis
                                cover-Virtual-Directory
ObjectClass                   : {top, msExchVirtualDirectory, msExchAutoDiscove
                                rVirtualDirectory}
WhenChanged                   : 8/5/2008 2:03:48 PM
WhenCreated                   : 7/5/2008 1:12:35 PM
OriginatingServer             : DC.mydomain.local
IsValid                       : True

Open in new window

Hi,

I did not see a delete button within the body of this question, so if you have a way of deleting it administratively, I would appreciate it if you would.  Thanks.

BTW, I ended up calling MS support on this one.  The problem was solved by correcting a simple permissions issue in the RPC virtual Directory in IIS.

The points go to India.  

Peace out.
Click the Request for attention above and ask for this to be closed by assigning your post the points.  I think it is worthy to keep as there is a solution.
ASKER CERTIFIED SOLUTION
Avatar of Computer101
Computer101
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer