Link to home
Start Free TrialLog in
Avatar of Srinivasa Rao Tumula
Srinivasa Rao TumulaFlag for India

asked on

exchange 2007 and exchange 2013 coexistence issue with outlook any where

Hi,
we have exchange 2007 sp3 with latest rollup and we have recently installed the Exchange 2013 server with cu 11. I am able to use the webmail to login into the mailboxes. but I could not able to configure the mail boxes in outlook I am getting error "This action cannot be  completed the connection to Microsoft exchange is unviable. Here is  my outlook anywhere settings

VERBOSE: Connected to INHYSINMAIL2.comakeit.in.
[PS] C:\Windows\system32>get-OutlookAnywhere


RunspaceId                         : 41293912-8af6-4bcf-8686-1640e2c64f1a
ServerName                         : INHYVSINMAIL1
SSLOffloading                      : True
ExternalHostname                   : webmail.comakeit.in
InternalHostname                   :
ExternalClientAuthenticationMethod : Basic
InternalClientAuthenticationMethod : Ntlm
IISAuthenticationMethods           : {Basic, Ntlm}
XropUrl                            :
ExternalClientsRequireSsl          : True
InternalClientsRequireSsl          : False
MetabasePath                       : IIS://INHYVSINMAIL1.comakeit.in/W3SVC/1/ROOT/Rpc
Path                               : C:\Windows\System32\RpcProxy
ExtendedProtectionTokenChecking    : None
ExtendedProtectionFlags            : {}
ExtendedProtectionSPNList          : {}
AdminDisplayVersion                : Version 8.3 (Build 83.6)
Server                             : INHYVSINMAIL1
AdminDisplayName                   :
ExchangeVersion                    : 0.1 (8.0.535.0)
Name                               : Rpc (Default Web Site)
DistinguishedName                  : CN=Rpc (Default Web
                                     Site),CN=HTTP,CN=Protocols,CN=INHYVSINMAIL1,CN=Servers,CN=Exchange Administrative
                                     Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=coMakeIT-IN,CN=Microsoft
                                     Exchange,CN=Services,CN=Configuration,DC=comakeit,DC=in
Identity                           : INHYVSINMAIL1\Rpc (Default Web Site)
Guid                               : fcf36ed3-d909-45af-884e-8e75ce0dee50
ObjectCategory                     : comakeit.in/Configuration/Schema/ms-Exch-Rpc-Http-Virtual-Directory
ObjectClass                        : {top, msExchVirtualDirectory, msExchRpcHttpVirtualDirectory}
WhenChanged                        : 22-02-2016 18:12:22
WhenCreated                        : 12-02-2016 13:14:36
WhenChangedUTC                     : 22-02-2016 12:42:22
WhenCreatedUTC                     : 12-02-2016 07:44:36
OrganizationId                     :
Id                                 : INHYVSINMAIL1\Rpc (Default Web Site)
OriginatingServer                  : INHYSINDC.comakeit.in
IsValid                            : True
ObjectState                        : Changed

RunspaceId                         : 41293912-8af6-4bcf-8686-1640e2c64f1a
ServerName                         : INHYSINMAIL2
SSLOffloading                      : True
ExternalHostname                   : inhysinmail2.comakeit.in
InternalHostname                   : webmail.comakeit.in
ExternalClientAuthenticationMethod : Basic
InternalClientAuthenticationMethod : Ntlm
IISAuthenticationMethods           : {Basic, Ntlm, Negotiate}
XropUrl                            :
ExternalClientsRequireSsl          : True
InternalClientsRequireSsl          : True
MetabasePath                       : IIS://INHYSINMAIL2.comakeit.in/W3SVC/1/ROOT/Rpc
Path                               : C:\Program Files\Microsoft\Exchange Server\V15\FrontEnd\HttpProxy\rpc
ExtendedProtectionTokenChecking    : None
ExtendedProtectionFlags            : {}
ExtendedProtectionSPNList          : {}
AdminDisplayVersion                : Version 15.0 (Build 1130.7)
Server                             : INHYSINMAIL2
AdminDisplayName                   :
ExchangeVersion                    : 0.20 (15.0.0.0)
Name                               : Rpc (Default Web Site)
DistinguishedName                  : CN=Rpc (Default Web
                                     Site),CN=HTTP,CN=Protocols,CN=INHYSINMAIL2,CN=Servers,CN=Exchange Administrative
                                     Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=coMakeIT-IN,CN=Microsoft
                                     Exchange,CN=Services,CN=Configuration,DC=comakeit,DC=in
Identity                           : INHYSINMAIL2\Rpc (Default Web Site)
Guid                               : 9a491b86-93af-4e3e-b190-c568fed19ddf
ObjectCategory                     : comakeit.in/Configuration/Schema/ms-Exch-Rpc-Http-Virtual-Directory
ObjectClass                        : {top, msExchVirtualDirectory, msExchRpcHttpVirtualDirectory}
WhenChanged                        : 22-02-2016 19:47:19
WhenCreated                        : 15-02-2016 11:32:31
WhenChangedUTC                     : 22-02-2016 14:17:19
WhenCreatedUTC                     : 15-02-2016 06:02:31
OrganizationId                     :
Id                                 : INHYSINMAIL2\Rpc (Default Web Site)
OriginatingServer                  : INHYSINDC.comakeit.in
IsValid                            : True
ObjectState                        : Changed



[PS] C:\Windows\system32>
Avatar of Ivan
Ivan
Flag of Serbia image

Hi,

you did not set up Outlook Anywhere internal name. Command is like:

[PS] C:\>Set-OutlookAnywhere -InternalHostname mail.spriggan.in.rs -InternalClientsRequireSsl $true

or to set up for internal and external:
1.      Internal: [PS] C:\>Get-OutlookAnywhere | Set-OutlookAnywhere -InternalHostname mail.domain.com –InternalClientAuthenticationMethod NTLM -InternalClientsRequireSsl $true
2.      External: [PS] C:\>Get-OutlookAnywhere | Set-OutlookAnywhere -ExternalHostname mail.domain.com –ExternalClientAuthenticationMethod Basic -ExternalClientsRequireSsl $true

Regards,
Ivan.
Ops,

think I made a mistake. First part of command was for Exchange 8.3, so that is 2007.

Have you configured Outlook clients to connect via OutlookAnywhere on both fast and slow networks,so that they use it all the time?

PS:
On exchange 2007 you wrote:  ExternalHostname                   : webmail.comakeit.in
On exchange 2013 you wrote: ExternalHostname                   : inhysinmail2.comakeit.in

is this correct? do you have both those names in public DNS?

PS: What Outlook version and service pack do you have? write down version number..
Supported versions are..
•Outlook 2013
•Outlook 2010 SP1 with November 2012 Cumulative Update ( available from  http://support.microsoft.com/kb/2687623   )
•Outlook 2007 SP3 with November 2012 Cumulative Update ( available from  http://support.microsoft.com/kb/2687404   )


Regards,
Ivan.
Avatar of Srinivasa Rao Tumula

ASKER

Hi,

As per this document

http://silbers.net/blog/2014/01/22/exchange-20072013-coexistence-urls/

Outlook Anywhere – (Proxy) All OA connections, both 2007 mailboxes and 2013 mailboxes will now connect via the 2013 CAS.  2013 will proxy connections back to 2007 for legacy mailboxes.  The externalHostName for both 2013 and 2007 should be the same, (webmail.domain.com).  Exchange 2007 does not support “Negotiate” authentication (See image below).  Therefore the externalClientAuthenticationMethods should be configured to match whatever is configured for 2007, either Basic or NTLM.  For OA to proxy from 2013 to 2007, the IISAuthenticationMethods on 2007 must be reconfigured to support both Basic and NTLM.  By default, Exchange 2007 IISAuthenticationMethods is set to just Basic.  NTLM must be added for the proxy to work.

image

Set-OutlookAnywhere –Identity “Ex2013\Rpc (Default Web Site)” –InternalHostname webmail.domain.com –ExternalHostName webmail.domain.com –ExternalClientAuthenticationMethod Basic –IISAuthenticationMethods Basic,NTLM

Set-OutlookAnywhere –Identity “Ex2007\Rpc (Default Web Site)”  –IISAuthenticationMethods Basic,NTLM



for both exchange servers I used the webmail.comakeit.in
Hi,

well..it does not show to be the same as per first article, that is why I asked :)
Maybe you don't have required updates for Outlook?
Hi,
I have run the all the updates on outlook. There are no updates pending
but the issue is still same
Hi,

just for testing sake, do you have any Outlook 2010 or 2013 in company? Can you install trial version of Outlook 2013 and try to connect. Just to see if it is Outlook specific problem or configuration problem.

Have you configured Autodiscoverservice?
Can you check.. Get-ClientAccessServer |fl identity,autodiscoverserviceinternaluri
Hi,
I tried even in outlook 2013 still the problem is same. may be some thing wrong with my outlook anywhere. can some one guide me how to configure the outlook anywhere in exchange 2013 and exchange 2007 coexistence.
Can you run this command on both exchange server.
Get-OutlookAnywhere

Post results in here.
This is the output on Exchange 2013 Server

Creating a new session for implicit remoting of "Get-OutlookAnywhere" command...

RunspaceId                         : b96eade0-c0d2-4602-af89-99ea6a507b33
ServerName                         : INHYVSINMAIL1
SSLOffloading                      : True
ExternalHostname                   : webmail.comakeit.in
InternalHostname                   :
ExternalClientAuthenticationMethod : Basic
InternalClientAuthenticationMethod : Ntlm
IISAuthenticationMethods           : {Basic, Ntlm}
XropUrl                            :
ExternalClientsRequireSsl          : True
InternalClientsRequireSsl          : False
MetabasePath                       : IIS://INHYVSINMAIL1.comakeit.in/W3SVC/1/ROOT/Rpc
Path                               : C:\Windows\System32\RpcProxy
ExtendedProtectionTokenChecking    : None
ExtendedProtectionFlags            : {}
ExtendedProtectionSPNList          : {}
AdminDisplayVersion                : Version 8.3 (Build 83.6)
Server                             : INHYVSINMAIL1
AdminDisplayName                   :
ExchangeVersion                    : 0.1 (8.0.535.0)
Name                               : Rpc (Default Web Site)
DistinguishedName                  : CN=Rpc (Default Web
                                     Site),CN=HTTP,CN=Protocols,CN=INHYVSINMAIL1,CN=Servers,CN=Exchange Administrative
                                     Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=coMakeIT-IN,CN=Microsoft
                                     Exchange,CN=Services,CN=Configuration,DC=comakeit,DC=in
Identity                           : INHYVSINMAIL1\Rpc (Default Web Site)
Guid                               : fcf36ed3-d909-45af-884e-8e75ce0dee50
ObjectCategory                     : comakeit.in/Configuration/Schema/ms-Exch-Rpc-Http-Virtual-Directory
ObjectClass                        : {top, msExchVirtualDirectory, msExchRpcHttpVirtualDirectory}
WhenChanged                        : 23-02-2016 14:29:49
WhenCreated                        : 12-02-2016 13:14:36
WhenChangedUTC                     : 23-02-2016 08:59:49
WhenCreatedUTC                     : 12-02-2016 07:44:36
OrganizationId                     :
Id                                 : INHYVSINMAIL1\Rpc (Default Web Site)
OriginatingServer                  : INHYSINDC.comakeit.in
IsValid                            : True
ObjectState                        : Changed

RunspaceId                         : b96eade0-c0d2-4602-af89-99ea6a507b33
ServerName                         : INHYSINMAIL2
SSLOffloading                      : True
ExternalHostname                   : webmail.comakeit.in
InternalHostname                   : webmail.comakeit.in
ExternalClientAuthenticationMethod : Basic
InternalClientAuthenticationMethod : Ntlm
IISAuthenticationMethods           : {Basic, Ntlm}
XropUrl                            :
ExternalClientsRequireSsl          : True
InternalClientsRequireSsl          : True
MetabasePath                       : IIS://INHYSINMAIL2.comakeit.in/W3SVC/1/ROOT/Rpc
Path                               : C:\Program Files\Microsoft\Exchange Server\V15\FrontEnd\HttpProxy\rpc
ExtendedProtectionTokenChecking    : None
ExtendedProtectionFlags            : {}
ExtendedProtectionSPNList          : {}
AdminDisplayVersion                : Version 15.0 (Build 1130.7)
Server                             : INHYSINMAIL2
AdminDisplayName                   :
ExchangeVersion                    : 0.20 (15.0.0.0)
Name                               : Rpc (Default Web Site)
DistinguishedName                  : CN=Rpc (Default Web
                                     Site),CN=HTTP,CN=Protocols,CN=INHYSINMAIL2,CN=Servers,CN=Exchange Administrative
                                     Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=coMakeIT-IN,CN=Microsoft
                                     Exchange,CN=Services,CN=Configuration,DC=comakeit,DC=in
Identity                           : INHYSINMAIL2\Rpc (Default Web Site)
Guid                               : 9a491b86-93af-4e3e-b190-c568fed19ddf
ObjectCategory                     : comakeit.in/Configuration/Schema/ms-Exch-Rpc-Http-Virtual-Directory
ObjectClass                        : {top, msExchVirtualDirectory, msExchRpcHttpVirtualDirectory}
WhenChanged                        : 23-02-2016 14:36:43
WhenCreated                        : 15-02-2016 11:32:31
WhenChangedUTC                     : 23-02-2016 09:06:43
WhenCreatedUTC                     : 15-02-2016 06:02:31
OrganizationId                     :
Id                                 : INHYSINMAIL2\Rpc (Default Web Site)
OriginatingServer                  : INHYSINDC.comakeit.in
IsValid                            : True
ObjectState                        : Changed

This is the output at Exchange 2007 server




ServerName                      : INHYVSINMAIL1
SSLOffloading                   : True
ExternalHostname                : webmail.comakeit.in
ClientAuthenticationMethod      : Basic
IISAuthenticationMethods        : {Basic, Ntlm}
MetabasePath                    : IIS://INHYVSINMAIL1.comakeit.in/W3SVC/1/ROOT/Rpc
Path                            : C:\Windows\System32\RpcProxy
ExtendedProtectionTokenChecking : None
ExtendedProtectionFlags         : {}
ExtendedProtectionSPNList       : {}
Server                          : INHYVSINMAIL1
AdminDisplayName                :
ExchangeVersion                 : 0.1 (8.0.535.0)
Name                            : Rpc (Default Web Site)
DistinguishedName               : CN=Rpc (Default Web Site),CN=HTTP,CN=Protocol
                                  s,CN=INHYVSINMAIL1,CN=Servers,CN=Exchange Adm
                                  inistrative Group (FYDIBOHF23SPDLT),CN=Admini
                                  strative Groups,CN=coMakeIT-IN,CN=Microsoft E
                                  xchange,CN=Services,CN=Configuration,DC=comak
                                  eit,DC=in
Identity                        : INHYVSINMAIL1\Rpc (Default Web Site)
Guid                            : fcf36ed3-d909-45af-884e-8e75ce0dee50
ObjectCategory                  : comakeit.in/Configuration/Schema/ms-Exch-Rpc-
                                  Http-Virtual-Directory
ObjectClass                     : {top, msExchVirtualDirectory, msExchRpcHttpVi
                                  rtualDirectory}
WhenChanged                     : 23-02-2016 14:29:49
WhenCreated                     : 12-02-2016 13:14:36
OriginatingServer               : INHYSINDC.comakeit.in
IsValid                         : True

ServerName                      : INHYSINMAIL2
SSLOffloading                   : True
ExternalHostname                : webmail.comakeit.in
ClientAuthenticationMethod      : Basic
IISAuthenticationMethods        : {Basic, Ntlm}
MetabasePath                    : IIS://INHYSINMAIL2.comakeit.in/W3SVC/1/ROOT/R
                                  pc
Path                            :
ExtendedProtectionTokenChecking : None
ExtendedProtectionFlags         : {}
ExtendedProtectionSPNList       : {}
Server                          : INHYSINMAIL2
AdminDisplayName                :
ExchangeVersion                 : 0.20 (15.0.0.0)
Name                            : Rpc (Default Web Site)
DistinguishedName               : CN=Rpc (Default Web Site),CN=HTTP,CN=Protocol
                                  s,CN=INHYSINMAIL2,CN=Servers,CN=Exchange Admi
                                  nistrative Group (FYDIBOHF23SPDLT),CN=Adminis
                                  trative Groups,CN=coMakeIT-IN,CN=Microsoft Ex
                                  change,CN=Services,CN=Configuration,DC=comake
                                  it,DC=in
Identity                        : INHYSINMAIL2\Rpc (Default Web Site)
Guid                            : 9a491b86-93af-4e3e-b190-c568fed19ddf
ObjectCategory                  : comakeit.in/Configuration/Schema/ms-Exch-Rpc-
                                  Http-Virtual-Directory
ObjectClass                     : {top, msExchVirtualDirectory, msExchRpcHttpVi
                                  rtualDirectory}
WhenChanged                     : 23-02-2016 14:36:43
WhenCreated                     : 15-02-2016 11:32:31
OriginatingServer               : INHYSINDC.comakeit.in
IsValid                         : True
ASKER CERTIFIED SOLUTION
Avatar of Ivan
Ivan
Flag of Serbia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi,
When I run the Get-OutlookAnywhere in exchange 2007 server it is not showing the InternalHostname  in Exchange 2013 and i can not set that using the command set-Outlook because it is throwing an error  'A parameter cannot be found that matches parameter name  InternalHostname' . As per my understanding ( i may be wrong ) In exchange 2007 Server outlookAnywhere there is no option available for InternalHostname.

when i run the command  Get-OutlookAnywhere it is showing the internal and external hostname
ServerName                         : INHYSINMAIL2
SSLOffloading                      : True
ExternalHostname                   : webmail.comakeit.in
InternalHostname                   : webmail.comakeit.in

But it is showing an empty field for internalHostname when it displays the details of Exchange server 2007
ServerName                         : INHYVSINMAIL1
SSLOffloading                      : True
ExternalHostname                   : webmail.comakeit.in
InternalHostname                   :

When i run command you have given i got the following warring message

WARNING: The command completed successfully but no settings of 'INHYSINMAIL2\Rpc (Default Web Site)' have been modified.

i am searching for the solution from the morning all the settings seems to be fine but outlook any where is not working.
Hi,
Can any one help me to resolve this issue please.
Hi,
Can any one help me to resolve this issue please.
Hi,
I found a strange thing with the outlook  setup. If I specify the Domain controller IP as the Microsoft Exchange server name in outlook configuration wizard and provided the login credentials of the mailbox , based on the location of the mailbox (whether it belongs to Exchange 2007 or exchange 2013) outlook automatically changes the Exchange server name. But this is not happening when i specify the exchange server name as webmail.comakeit.in

is this  problem with my DNS settings ?

(same as parent folder)      Start of Authority (SOA)      [70], inhysindc.comakeit.in., hostmaster.comakeit.in.      static
(same as parent folder)      Name Server (NS)      inhysindc.comakeit.in.      static
(same as parent folder)      Host (A)      172.16.27.8      ?22-?02-?2016 17:30:00
autodiscover      Host (A)      172.16.27.11      static
CSIRUPESH      Host (A)      172.16.28.204      ?15-?02-?2016 10:30:00
INHYLST1      Host (A)      172.16.29.10      ?17-?02-?2016 13:30:00
inhysindc      Host (A)      172.16.27.8      static
INHYSINMAIL2      Host (A)      172.16.27.11      static
INHYVSINMAIL1      Host (A)      172.16.27.9      ?22-?02-?2016 17:30:00
legacy      Host (A)      172.16.27.9      static
legacy      Mail Exchanger (MX)      [20]  inhyvsinmail1.comakeit.in.      static
webmail      Host (A)      172.16.27.11      static
webmail      Mail Exchanger (MX)      [10]  INHYSINMAIL2.comakeit.in      static
(same as parent folder)      Mail Exchanger (MX)      [10]  INHYSINMAIL2.comakeit.in      
(same as parent folder)      Mail Exchanger (MX)      [20]  INHYVSINMAIL1.comakeit.in
Any one there who can help me?
No response from any one :(
Please close this question.