Outllok 2007 MAPI Clients cant connect to Exchange 2010

Cannot connect Outlook 2007 Clients to new Exchange 2010.  When setting up Outlook - Auto Configure finds user and email address, but get "The action cannot be completed.  the connection to Microsoft Exchange is unavailable.  Outlook must be online or connected to complete this action." when "Search for username@mydomain.com server settings is displayed.
If I configure Outlook manually I get "The connection to Microsoft Exchange is unavailable.  Outlook must be online or connected to complete this action" when I try to open Outlook.

OWA works fine.

Outlook 2007 running on Windows Server 2008 R2 via RDP (This is my admin Station)
Server1 - Windows Server 2008 R2 - Hub Transport and Mailbox (Build 639.21)
Server2 - Windows Server 2008 R2 - Client Access (Build 639.21)
All servers on Virtuals running on Windows Server 2008 R2 as the Host

Test-mapiconnectivity on Server1 - Success
test-outlookconnectivity -identity administrator@mydomain.com -protocol tcp -mailboxcredential(get-credential domain\administrator)
Results:
Error: The specified Mailbox server server1.mydomain.com wasn't found.
    + CategoryInfo          : OperationStopped: (Microsoft.Excha...onnectivityTask:TestOutlookConnectivityTask) [Test-
   OutlookConnectivity], CasHealthMailboxServerNotFoundException
    + FullyQualifiedErrorId : 29768C14,Microsoft.Exchange.Monitoring.TestOutlookConnectivityTask

Weird that it doesnt find the Mailbox server yet I can cleary see it and manage it in the Management Console?

No customization has been done yet, I wiped the original install and started again.
Yes the Mailbox Database is mounted.

Stumped!

jeffman5150Asked:
Who is Participating?
 
jeffman5150Connect With a Mentor Author Commented:
Finally broke down and called the big boys at Microsoft.  It took the tech 2 1/2 hrs to figure it out so I dont feel like a complete moron.  It seems that when running a custom install in 2010 to Install the Hub and Mailbox first then a second install on the CAS.  The install automatically sets the "RPCClientAccessServer" to the first installed instance of Exchange.  Therefore, the Mailbox server, not the Client Access Server was set as the "RPCClientAccessServer"

Sloution:
Set-MailboxDatabase <Mailbox Database Name> -RpcClientAccessServer <ClientAccessServer>
in my case
Set-MailboxDatabase "Mailbox Database 0720298474" -RpcClientAccessServer "client01.mydoamin.com"

Everything works fine now.
0
 
AkhaterCommented:
when you are configuring your profile which server are you specifying as exchange server?

it is exchange 2010 you should be connecting go your CAS and not to your mailbox server however from

Test-mapiconnectivity on Server1 - Success it looks like you are trying to connect to you mailbox server
0
 
jeffman5150Author Commented:
Entering in the CAS (Server2) in Outlook manually, automatically reverts back to the Mailbox Server (Server1)

Running the test on the CAS...
RunspaceId                  : f4956474-066f-4c19-9319-24ed6946b46f
MailboxDatabase             : Mailbox Database 0720296141
Id                          : Autodiscover
ClientAccessServer          : server2.mydomain.com
Scenario                    : Autodiscover: Web service request.
ScenarioDescription         :
PerformanceCounterName      :
Result                      : Failure
Error                       :
UserName                    : administrator@mydomain.com
StartTime                   : 4/7/2010 11:41:39 PM
Latency                     : -00:00:00.0010000
EventType                   : Error
LatencyInMillisecondsString : -1.00
Identity                    :
IsValid                     : True

RunspaceId                  : f4956474-066f-4c19-9319-24ed6946b46f
MailboxDatabase             : Mailbox Database 0720296141
Id                          : GetReferral
ClientAccessServer          : server2.mydomain.com
Scenario                    : RFRI::GetReferral.
ScenarioDescription         :
PerformanceCounterName      : RFR: Get referral latency
Result                      : Failure
Error                       :
UserName                    : administrator@mydomain.com
StartTime                   : 4/7/2010 11:41:39 PM
Latency                     : -00:00:00.0010000
EventType                   : Error
LatencyInMillisecondsString : -1.00
Identity                    :
IsValid                     : True

RunspaceId                  : f4956474-066f-4c19-9319-24ed6946b46f
MailboxDatabase             : Mailbox Database 0720296141
Id                          : GetProfileDetails
ClientAccessServer          : server2.mydomain.com
Scenario                    : NSPI::GetProfileDetails.
ScenarioDescription         :
PerformanceCounterName      : NSPI: profile creation/repair latency
Result                      : Failure
Error                       :
UserName                    : administrator@mydomain.com
StartTime                   : 4/7/2010 11:41:39 PM
Latency                     : -00:00:00.0010000
EventType                   : Error
LatencyInMillisecondsString : -1.00
Identity                    :
IsValid                     : True

Looks like some possible network latency issue, not sure what it is but I'll investigate further.  Any suggestions appreciated.
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

 
AkhaterCommented:
please run  Get-ClientAccessServer | fl *uri*

what is the result
0
 
jeffman5150Author Commented:
AutoDiscoverServiceInternalUri : https://server2.mydomain.com/Autodiscover/Autodiscover.xml
0
 
AkhaterCommented:
did you do any progress on this one ?
0
 
jeffman5150Author Commented:
Nope - No Progress

I redid the CAS again and installed the Rollup.  I also moved the CAS to the same Virtual Adapter as the Mailbox,Hub Transport Server so that they are on the same subnet.

This is a default install, I havent customized anything yet, just trying to test basic connectivity.  Is there a final step I'm missing to get MAPI working?


test-outlookconnectivity -identity administrator@mydomain.com -protocol tcp -mailboxcredential(get-credential mydomain\administrator)

RunspaceId                  : 3aae8b47-a3b0-404d-91cd-fe1ffe217f51
MailboxDatabase             : Mailbox Database 0720296141
Id                          : Autodiscover
ClientAccessServer          : cas01.mydomain.com
Scenario                    : Autodiscover: Web service request.
ScenarioDescription         :
PerformanceCounterName      :
Result                      : Success
Error                       :
UserName                    : administrator@mydomain.com
StartTime                   : 4/9/2010 8:58:51 AM
Latency                     : 00:00:00.0624824
EventType                   : Success
LatencyInMillisecondsString : 62.48
Identity                    :
IsValid                     : True

RunspaceId                  : 3aae8b47-a3b0-404d-91cd-fe1ffe217f51
MailboxDatabase             : Mailbox Database 0720296141
Id                          : GetReferral
ClientAccessServer          : cas01.mydomain.com
Scenario                    : RFRI::GetReferral.
ScenarioDescription         :
PerformanceCounterName      : RFR: Get referral latency
Result                      : Success
Error                       :
UserName                    : administrator@mydomain.com
StartTime                   : 4/9/2010 8:58:51 AM
Latency                     : 00:00:00.0468618
EventType                   : Success
LatencyInMillisecondsString : 46.86
Identity                    :
IsValid                     : True

RunspaceId                  : 3aae8b47-a3b0-404d-91cd-fe1ffe217f51
MailboxDatabase             : Mailbox Database 0720296141
Id                          : GetProfileDetails
ClientAccessServer          : cas01.mydomain.com
Scenario                    : NSPI::GetProfileDetails.
ScenarioDescription         :
PerformanceCounterName      : NSPI: profile creation/repair latency
Result                      : Failure
Error                       :
UserName                    : administrator@mydomain.com
StartTime                   : 4/9/2010 8:58:51 AM
Latency                     : -00:00:00.0010000
EventType                   : Error
LatencyInMillisecondsString : -1.00
Identity                    :
IsValid                     : True

RunspaceId                  : 3aae8b47-a3b0-404d-91cd-fe1ffe217f51
MailboxDatabase             : Mailbox Database 0720296141
Id                          : MailboxConnect
ClientAccessServer          : cas01.mydomain.com
Scenario                    : Mailbox::Connect.
ScenarioDescription         :
PerformanceCounterName      : Mailbox: Connect latency
Result                      : Success
Error                       :
UserName                    : administrator@mydomain.com
StartTime                   : 4/9/2010 8:58:51 AM
Latency                     : 00:00:00.0468618
EventType                   : Success
LatencyInMillisecondsString : 46.86
Identity                    :
IsValid                     : True

RunspaceId                  : 3aae8b47-a3b0-404d-91cd-fe1ffe217f51
MailboxDatabase             : Mailbox Database 0720296141
Id                          : MailboxLogon
ClientAccessServer          : cas01.mydomain.com
Scenario                    : Mailbox::Logon.
ScenarioDescription         :
PerformanceCounterName      : Mailbox: Logon latency
Result                      : Failure
Error                       :
UserName                    : administrator@mydomain.com
StartTime                   : 4/9/2010 8:58:51 AM
Latency                     : -00:00:00.0010000
EventType                   : Error
LatencyInMillisecondsString : -1.00
Identity                    :
IsValid                     : True
0
 
AkhaterCommented:
did you try to run ExBPA ?
0
 
bakerchangCommented:
this totally worked. thanks
more info on my three Server install.
I installed the CAS  after the mailbox server. Then installed the edge server.
running Test-SystemHealth on the mailbox server indicated that the CAS role did not finish installing.

Creating a new session for implicit remoting of "Test-SystemHealth" command...
'ClientAccessRole' is partially configured on server 'CAS_HOST.DOMAIN.COM'. Either setup is configuring it right now
 or setup failed while configuring it. Please rerun the setup if isn't being run.
    + CategoryInfo          : NotSpecified: (fInstallingRole:String) [Test-SystemHealth], BPAConfigurationErrorFoundEx
   ception
    + FullyQualifiedErrorId : A98B3734,Microsoft.Exchange.Management.BestPracticesAnalyzer.TestSystemHealth
0
All Courses

From novice to tech pro — start learning today.