Exchange 2007 autodiscover

220 pts.
Tags:
Microsoft Exchange 2007
SAN
I have configured autodiscover for exchange 2007 but its not working properly when I try to configure an account side. I have some concern related to the SAN certificate as its issued to : CORP.EDU.KW not to MAIL.CORP.EDU.KW but as per Microsoft the Set-OutlookProvider command should fix that Please find below how I configured autodiscover and find the attached file for the logs
Set-ClientAccessServer -Identity CORPCASHUB01 -AutoDiscoverServiceInternalUri https://autodiscover.corp.edu.kw/autodiscover/autodiscover.xml
Set-ClientAccessServer -Identity CORPCASHUB02 -AutoDiscoverServiceInternalUri https://autodiscover.corp.edu.kw/autodiscover/autodiscover.xml
============================================================================

ENABLE-OUTLOOKANYWHERE -SERVER �CORPCASHUB01� -EXTERNALHOSTNAME "MAIL.CORP.EDU.KW" -EXTERNALAUTHENTICATIONMETHOD "BASIC" -SSLOFFLOADING:$FALSE
ENABLE-OUTLOOKANYWHERE -SERVER �CORPCASHUB02� -EXTERNALHOSTNAME "MAIL.CORP.EDU.KW" -EXTERNALAUTHENTICATIONMETHOD "BASIC" -SSLOFFLOADING:$FALSE
============================================================================
SET-OABVIRTUALDIRECTORY -IDENTITY "CORPCASHUB01OAB (DEFAULT WEB SITE)" -EXTERNALURL HTTPS://MAIL.CORP.EDU.KW/OAB -REQUIRESSL:$TRUE
SET-OABVIRTUALDIRECTORY -IDENTITY "CORPCASHUB02OAB (DEFAULT WEB SITE)" -EXTERNALURL HTTPS://MAIL.CORP.EDU.KW/OAB -REQUIRESSL:$TRUE
============================================================================
SET-WEBSERVICESVIRTUALDIRECTORY -IDENTITY "CORPCASHUB01EWS (DEFAULT WEB SITE)" -EXTERNALURL HTTPS://MAIL.CORP.EDU.KW/EWS/EXCHANGE.ASMX -BASICAUTHENTICATION:$TRUE
SET-WEBSERVICESVIRTUALDIRECTORY -IDENTITY �CORPCASHUB02EWS (DEFAULT WEB SITE)" -EXTERNALURL HTTPS://MAIL.CORP.EDU.KW/EWS/EXCHANGE.ASMX -BASICAUTHENTICATION:$TRUE
============================================================================
Set-OutlookProvider EXPR -Server 'mail.corp.edu.kw' -CertPrincipalName msstd:mail.corp.edu.kw
============================================================================

[PS] C:Documents and Settingsadministrator.CORP>Get-ExchangeCertificate

Thumbprint Services Subject
---------- -------- -------
C916754A527F37CF48577FF8144E35DCEB991958 I..WS CN=corp.edu.kw, O=United Education Corp K.S.C.(Closed), C=KW
206CC9C63997F9400A758DF89F9F9676AB825713 ..... CN=corp.edu.kw, O=Corp, C=KW
707235FD5610DCCA900D428D0C2C96EE7B90854C ..... CN=corp.edu.kw, O=Entrust Inc., C=US
A38743F09862CCC43CF1C4F498AB0ED917A229E3 ..... CN=corp.edu.kw, O=Entrust Inc., C=US
4AD96280E5A61612E47705EE9250BCE61BAEA44F .P... CN=dc1.corp.edu.kw
7248B01F7ED24462A79B4528FFC61E965DB7A450 ....S CN=corpcashub01
============================================================================

[PS] C:Documents and Settingsadministrator.CORP>Get-ExchangeCertificate | fl

AccessRules : {System.Security.AccessControl.CryptoKeyAccessRule, System.Security.AccessControl.CryptoKeyAccessRule, System.
Security.AccessControl.CryptoKeyAccessRule}
CertificateDomains : {corp.edu.kw, mail.corp.edu.kw, autodiscover.corp.edu.kw, corpcashub01.corp.edu.kw, corpcashub02.corp.edu.kw, autodis
cover, mail, mobile.corp.edu.kw, ssbapp.corp.edu.kw, mycorp.corp.edu.kw}
HasPrivateKey : True
IsSelfSigned : False
Issuer : CN=Entrust.net Secure Server Certification Authority, OU=(c) 1999 Entrust.net Limited, OU=www.entrust.net/CPS
incorp. by ref. (limits liab.), O=Entrust.net, C=US
NotAfter : 4/29/2010 1:02:35 AM
NotBefore : 4/29/2008 12:33:18 AM
PublicKeySize : 1024
RootCAType : ThirdParty
SerialNumber : 469D3FE8
Services : IMAP, IIS, SMTP
Status : Valid
Subject : CN=corp.edu.kw, O=United Education Corp K.S.C.(Closed), C=KW
Thumbprint : C916754A527F37CF48577FF8144E35DCEB991958

AccessRules : {System.Security.AccessControl.CryptoKeyAccessRule, System.Security.AccessControl.CryptoKeyAccessRule}
CertificateDomains : {corp.edu.kw}
HasPrivateKey : True
IsSelfSigned : True
Issuer : CN=corp.edu.kw, O=Corp, C=KW
NotAfter : 4/22/2009 5:29:26 AM
NotBefore : 4/21/2008 11:29:26 PM
PublicKeySize : 1024
RootCAType : Unknown
SerialNumber : 377BA319DF49129F4EA13590A876A7E8
Services : None
Status : Invalid
Subject : CN=corp.edu.kw, O=Corp, C=KW
Thumbprint : 206CC9C63997F9400A758DF89F9F9676AB825713

AccessRules : {System.Security.AccessControl.CryptoKeyAccessRule, System.Security.AccessControl.CryptoKeyAccessRule}
CertificateDomains : {corp.edu.kw}
HasPrivateKey : True
IsSelfSigned : True
Issuer : CN=corp.edu.kw, O=Entrust Inc., C=US
NotAfter : 4/20/2009 6:06:25 PM
NotBefore : 4/20/2008 12:06:25 PM
PublicKeySize : 2048
RootCAType : Unknown
SerialNumber : 5F1248E31D0C7CB04C1BA3729E3B33A1
Services : None
Status : Invalid
Subject : CN=corp.edu.kw, O=Entrust Inc., C=US
Thumbprint : 707235FD5610DCCA900D428D0C2C96EE7B90854C

AccessRules : {System.Security.AccessControl.CryptoKeyAccessRule, System.Security.AccessControl.CryptoKeyAccessRule}
CertificateDomains : {corp.edu.kw}
HasPrivateKey : True
IsSelfSigned : True
Issuer : CN=corp.edu.kw, O=Entrust Inc., C=US
NotAfter : 4/20/2009 6:01:13 PM
NotBefore : 4/20/2008 12:01:13 PM
PublicKeySize : 2048
RootCAType : Unknown
SerialNumber : 68F4ECA36C89218244357BA0D00E6C1A
Services : None
Status : Invalid
Subject : CN=corp.edu.kw, O=Entrust Inc., C=US
Thumbprint : A38743F09862CCC43CF1C4F498AB0ED917A229E3

AccessRules : {System.Security.AccessControl.CryptoKeyAccessRule, System.Security.AccessControl.CryptoKeyAccessRule}
CertificateDomains : {dc1.corp.edu.kw, corpcashub01.corp.edu.kw, corpcashub02.corp.edu.kw, corpcashub01, corpcashub02, mail.corp.edu.kw, ex
change1.corp.edu.kw}
HasPrivateKey : True
IsSelfSigned : False
Issuer : CN=Corp, DC=corp, DC=edu, DC=kw
NotAfter : 11/28/2009 2:16:45 PM
NotBefore : 11/28/2007 2:06:45 PM
PublicKeySize : 1024
RootCAType : Enterprise
SerialNumber : 57C32868000000000002
Services : POP
Status : Valid
Subject : CN=dc1.corp.edu.kw
Thumbprint : 4AD96280E5A61612E47705EE9250BCE61BAEA44F

AccessRules : {System.Security.AccessControl.CryptoKeyAccessRule, System.Security.AccessControl.CryptoKeyAccessRule, System.
Security.AccessControl.CryptoKeyAccessRule}
CertificateDomains : {corpcashub01, corpcashub01.corp.edu.kw}
HasPrivateKey : True
IsSelfSigned : True
Issuer : CN=corpcashub01
NotAfter : 11/14/2008 3:55:17 PM
NotBefore : 11/14/2007 3:55:17 PM
PublicKeySize : 2048
RootCAType : None
SerialNumber : A28E59E180633FA44A7C7C0C8E030E32
Services : SMTP
Status : Valid
Subject : CN=corpcashub01
Thumbprint : 7248B01F7ED24462A79B4528FFC61E965DB7A450

============================================================================
--> the certificates are placed on Certificate (local computer)PersonalCertificate
============================================================================

[PS] C:>Test-OwaConnectivity -URL:https://corpcashub01.corp.edu.kw/owa -MailboxCredential:(get-credential corpr.abughazaleh) | fl

AuthenticationMethod : FBA
ClientAccessServer :
Scenario : Logon
ScenarioDescription : Log on to Outlook Web Access and verify the response page.
PerformanceCounterName : Logon Latency
Result : Success
MailboxServer :
StartTime : 5/21/2008 10:33:13 AM
Latency : 00:00:00.0312508
SecureAccess : True
Error :
UserName : r.abughazaleh
VirtualDirectoryName :
Url : https://corpcashub01.corp.edu.kw/owa/
UrlType : Unknown
EventType : Success
Port : 0
ConnectionType : Plaintext

============================================================================

[PS] C:>Test-OwaConnectivity -URL:https://corpcashub02.corp.edu.kw/owa -MailboxCredential:(get-credential corpr.abughazaleh) | fl

AuthenticationMethod : FBA
ClientAccessServer :
Scenario : Logon
ScenarioDescription : Log on to Outlook Web Access and verify the response page.
PerformanceCounterName : Logon Latency
Result : Success
MailboxServer :
StartTime : 5/21/2008 10:33:24 AM
Latency : 00:00:00.0312508
SecureAccess : True
Error :
UserName : r.abughazaleh
VirtualDirectoryName :
Url : https://corpcashub02.corp.edu.kw/owa/
UrlType : Unknown
EventType : Success
Port : 0
ConnectionType : Plaintext

============================================================================
[PS] C:>Test-OwaConnectivity -URL:https://mail.corp.edu.kw/owa -MailboxCredential:(get-credential corpr.abughazaleh) | fl

AuthenticationMethod : FBA
ClientAccessServer :
Scenario : Logon
ScenarioDescription : Log on to Outlook Web Access and verify the response page.
PerformanceCounterName : Logon Latency
Result : Success
MailboxServer :
StartTime : 5/21/2008 10:33:39 AM
Latency : 00:00:00.0312508
SecureAccess : True
Error :
UserName : r.abughazaleh
VirtualDirectoryName :
Url : https://mail.corp.edu.kw/owa/
UrlType : Unknown
EventType : Success
Port : 0
ConnectionType : Plaintext

============================================================================

[PS] C:>Test-WebServicesConnectivity -MailboxCredential:(get-credential corpr.abughazaleh)

CasServer MailboxServer Scenario Result Latency(MS) Error
--------- ------------- -------- ------ ----------- -----
corpcashub0 GetFolder Success 31.25
1
corpcashub0 SyncFolderItems Success 15.63
1
corpcashub0 CreateItem Success 15.63
1
corpcashub0 SyncFolderItems Success 15.63
1
corpcashub0 DeleteItem Success 15.63
1
corpcashub0 SyncFolderItems Success 15.63
1

[PS] C:>Test-WebServicesConnectivity -MailboxCredential:(get-credential corpr.abughazaleh) -UseAutodiscoverForClientAccessServer

CasServer MailboxServer Scenario Result Latency(MS) Error
--------- ------------- -------- ------ ----------- -----
corpcashub0 Autodiscover Cl Success 15.63
1 ient Access ser
ver
corp STAFF GetFolder Failure [System.Net.WebException
]: Unable to connect to
the remote server Inner
error [System.Net.Socket
s.SocketException]: A co
nnection attempt failed
because the connected pa
rty did not properly res
pond after a period of t
ime, or established conn
ection failed because co
nnected host has failed
to respond

============================================================================
[PS] C:>

Service Connection Point

>> Dn: CN=CORPCASHUB01,CN=Autodiscover,CN=Protocols,CN=CORPCASHUB01,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=CORP,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=corp,DC=edu,DC=kw
4> objectClass: top; leaf; connectionPoint; serviceConnectionPoint;
1> name: CORPCASHUB01;
1> serviceBindingInformation: https://autodiscover.corp.edu.kw/autodiscover/autodiscover.xml;
>> Dn: CN=CORPCASHUB02,CN=Autodiscover,CN=Protocols,CN=CORPCASHUB02,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=CORP,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=corp,DC=edu,DC=kw
4> objectClass: top; leaf; connectionPoint; serviceConnectionPoint;
1> name: CORPCASHUB02;
1> serviceBindingInformation: https://autodiscover.corp.edu.kw/autodiscover/autodiscover.xml;

============================================================================
[PS] C:>Get-ClientAccessServer

Name
----
CORPCASHUB01
CORPCASHUB02

============================================================================
[PS] C:>Get-ClientAccessServer | fl

Name : CORPCASHUB01
OutlookAnywhereEnabled : True
AutoDiscoverServiceCN : corpcashub01
AutoDiscoverServiceClassName : ms-Exchange-AutoDiscover-Service
AutoDiscoverServiceInternalUri : https://autodiscover.corp.edu.kw/autodiscover/autodiscover.xml
AutoDiscoverServiceGuid : 77378f46-2c66-4aa9-a6a6-3e7a48b19596
AutoDiscoverSiteScope : {Default-First-Site-Name}
IsValid : True
OriginatingServer : DC1.corp.edu.kw
ExchangeVersion : 0.1 (8.0.535.0)
DistinguishedName : CN=CORPCASHUB01,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Gro
ups,CN=CORP,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=corp,DC=edu,DC=kw
Identity : CORPCASHUB01
Guid : 3abc4708-2570-4bee-92b5-9bf439fdf4ab
ObjectCategory : corp.edu.kw/Configuration/Schema/ms-Exch-Exchange-Server
ObjectClass : {top, server, msExchExchangeServer}
WhenChanged : 5/19/2008 5:23:50 PM
WhenCreated : 11/14/2007 3:50:58 PM

Name : CORPCASHUB02
OutlookAnywhereEnabled : True
AutoDiscoverServiceCN : corpcashub02
AutoDiscoverServiceClassName : ms-Exchange-AutoDiscover-Service
AutoDiscoverServiceInternalUri : https://autodiscover.corp.edu.kw/autodiscover/autodiscover.xml
AutoDiscoverServiceGuid : 77378f46-2c66-4aa9-a6a6-3e7a48b19596
AutoDiscoverSiteScope : {Default-First-Site-Name}
IsValid : True
OriginatingServer : DC1.corp.edu.kw
ExchangeVersion : 0.1 (8.0.535.0)
DistinguishedName : CN=CORPCASHUB02,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Gro
ups,CN=CORP,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=corp,DC=edu,DC=kw
Identity : CORPCASHUB02
Guid : de2476d4-d739-482f-8898-8cd97a919a98
ObjectCategory : corp.edu.kw/Configuration/Schema/ms-Exch-Exchange-Server
ObjectClass : {top, server, msExchExchangeServer}
WhenChanged : 5/19/2008 5:15:20 PM
WhenCreated : 11/14/2007 4:57:38 PM

============================================================================

[PS] C:>Test-OutlookWebServices -Identity:r.abughazaleh@corp.edu.kw |fl

Id : 1003
Type : Information
Message : About to test AutoDiscover with the e-mail address r.abughazaleh@corp.edu.kw.

Id : 1006
Type : Information
Message : The Autodiscover service was contacted at https://autodiscover.corp.edu.kw/autodiscover/autodiscover.xml.

Id : 1013
Type : Error
Message : When contacting https://corp.edu.kw/EWS/Exchange.asmx received the error Unable to connect to the remote server

Id : 1013
Type : Error
Message : When contacting https://corp.edu.kw/EWS/Exchange.asmx received the error A connection attempt failed because the connected
party did not properly respond after a period of time, or established connection failed because connected host has faile
d to respond

Id : 1016
Type : Error
Message : [EXCH]-Error when contacting the AS service at https://corp.edu.kw/EWS/Exchange.asmx. The elapsed time was 969 millisecond
s.

Id : 1015
Type : Information
Message : [EXCH]-The OAB is not configured for this user.

Id : 1013
Type : Error
Message : When contacting https://corpcashub01.corp.edu.kw/UnifiedMessaging/Service.asmx received the error The remote server returne
d an error: (404) Not Found.

Id : 1014
Type : Error
Message : [EXCH]-Error when contacting the UM service at https://corpcashub01.corp.edu.kw/UnifiedMessaging/Service.asmx. The elapsed
time was 31 milliseconds.

Id : 1013
Type : Error
Message : When contacting https://mail.corp.edu.kw/EWS/EXCHANGE.ASMX received the error The request failed with HTTP status 401: Una
uthorized.

Id : 1016
Type : Error
Message : [EXPR]-Error when contacting the AS service at https://mail.corp.edu.kw/EWS/EXCHANGE.ASMX. The elapsed time was 171 millis
econds.

Id : 1015
Type : Information
Message : [EXPR]-The OAB is not configured for this user.

Id : 1014
Type : Success
Message : [EXPR]-Successfully contacted the UM service at https://mail.corp.edu.kw/UnifiedMessaging/Service.asmx. The elapsed time w
as 109 milliseconds.

Id : 1017
Type : Success
Message : [EXPR]-Successfully contacted the RPC/HTTP service at https://mail.corp.edu.kw/Rpc. The elapsed time was 0 milliseconds.

Id : 1006
Type : Success
Message : The Autodiscover service was tested successfully.

Id : 1021
Type : Information
Message : The following web services generated errors.
As,UM in EXCH
As in EXPR
Please use the prior output to diagnose and correct the errors.

Answer Wiki

Thanks. We'll let you know when a new response is added.

Read this autodiscover article here. Hopefully you will find the answer you need.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Rami
    i thought know body will answer :) anyway i have viewed all article for auto discover .. but nothing help pleas look into the following i thing my problem is there [PS] C:\>Test-WebServicesConnectivity -MailboxCredential:(get-credential corp\r.abughazaleh) -UseAutodiscoverForClientAccessServer CasServer MailboxServer Scenario Result Latency(MS) Error --------- ------------- -------- ------ ----------- ----- corpcashub0 Autodiscover Cl Success 15.63 1 ient Access ser ver corp STAFF GetFolder Failure [System.Net.WebException ]: Unable to connect to the remote server Inner error [System.Net.Socket s.SocketException]: A co nnection attempt failed because the connected pa rty did not properly res pond after a period of t ime, or established conn ection failed because co nnected host has failed to respond
    220 pointsBadges:
    report
  • Brijesh
    Hi,


    Hope this helps.
    9,780 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following