Zero Hour Sleep
11Feb/107

Installing your first Exchange 2010 CAS – Part 2

A few days back I have talked about Installing your first Exchange 2010 Client Access Server when migrating from Exchange 2003 to Exchange 2010. Today I will discuss the requirements of installing your first Exchange 2010 CAS if migrating from Exchange 2007.

First we have to agree that that an Exchange 2010 CAS cannot communicate directly with an Exchange 2007 mailbox servers, so Exchange 2007 CAS are still required.

We will need to differentiate 2 scenarios when mixing Exchange 2007 & Exchange 2010 CAS

Exchange 2010 CAS and Exchange 2007 CAS in the same Active Directory Site

The first Exchange 2010 CAS server should be installed in your internet facing site, and it should be the first server people are directed to when they try to access your organization from the internet using, say, https://webmail.yourdomain.com/owa

Since Exchange 2010 Client Access Server cannot proxy the requests to an Exchange 2007 CAS server in the same active directory site, when the request reaches the 2010 CAS it will query Active Directory for the mailbox server of the user, if that mailbox is located on an Exchange 2007 mailbox server in the same Active Directory site the CAS will look for the ExternalURL & InternalURL parameter of that CAS server.

  • If ExternalURL is set on your exchange 2007 CAS the user will be directly redirected to it
  • If ExternalURL is not set but InternalURL and user is an internal user then the redirection will happen to the internalURL
  • If ExternalURL is not set but InternalURL and user is an external user then the user will have an error.

In short to give access for external users who's mailboxes are still on Exchange 2007 you will need to configure both the Exchange 2007 and the Exchange 2010 CAS as internet facin.

Just like the case of Exchange 2010 CAS and Exchange 2003 mailbox server, for this redirection to work seamlessly Form Based Authentication should be enabled on the OWA virtual directory on the 2007 CAS.

However, unlike the case of Exchange 2010 CAS and Exchange 2003 mailbox, if FBA is not enabled on the 2007 CAS the user will be prompted twice for authentication but he will be able to access his mailbox with no errors.

Exchange 2010 CAS and Exchange 2007 CAS in the different Active Directory Site

If, upon querying Active Directory, the Exchange 2010 CAS finds that the user's mailbox is situated on an Exchange 2007 mailbox server in a different Active Directory site and

  • That 2007 CAS has the ExternalURL parameter set, then the user will be presented with a page that contains a link to the correct Client Access server for their mailbox.
  • That 2007 CAS doesn't have the ExternalURL parameter set, then the 2010 CAS will proxy the request to the Exchange 2007 CAS in the other site.

Even though, as I just stated, the Exchange 2010 CAS will try to proxy the requests to the 2007 CAS by default this will fail with the following error

and Event ID 46 from MSExchange OWA will be logged in  application log.

To solve this problem you should find on your Exchange 2007 CAS the the OWA directory (C:\Program Files\Microsoft\Exchange Server\ClientAccess\Owa by default). Inside this folder you will see many sub-folders with different version numbers like 8.1.375.2, 8.2.176.2, 8.2.176.2 etc...

Pick the one with the highest number (8.2.176.2 in that case) and copy it to the OWA directory on your Exchange 2010 CAS (C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\Owa by default).

Don't forget to restart your IIS using the IISReset /noforce command and you're set.

Part 1: Installing your first Exchange 2010 CAS in an Exchange 2003 organization
Part 2: Installing your first Exchange 2010 CAS in an Exchange 2007 organization
Part 3: Installing your first Exchange 2010 CAS in a mixed Exchange 2003/2010 organization

Enjoyed the post, what is next?

Grab our FULL RSS feed! or Email Updates then share it

About Antoine Khater

I have been working in IT consultancy and solution integration since 1998 and I consider myself lucky to be, one in a few, making a living out of my passion. I am also member of the famous Experts Exchange (profile here) online community where I try my best to share what I have learned along the road.
  • http://www.zerohoursleep.com/2010/03/installing-your-first-exchange-2010-cas-part-3/ Installing your first Exchange 2010 CAS – Part 3 | Zero Hour Sleep

    [...] Exchange 2010 CAS" tutorial. In part 1 we discussed migration from Exchange 2003 to Exchange 2010, In part 2 migration from Exchange 2007 to 2010. Today we will discuss the case of mixed Exchange 2003 – 2007 [...]

  • Justin

    In Microsoft's "Understanding Proxying and Redirection", they say "Between an Exchange 2010 Client Access server and Exchange 2007 Client Access servers Proxying requests between an Exchange 2010 Client Access server and an Exchange 2007 Client Access server enables Exchange 2010 and Exchange 2007 to coexist in the same organization. "

    They seem to imply this should work, but in my experience, and as per your notes above, it doesn't… did I misunderstand something from our friends at Microsoft?

  • http://intensedebate.com/people/akhater Antoine Khater

    Hi Justin,
    Proxying between both works as long as they are in different AD sites. when they are in the same AD site 2k10 CAS will redirect to the 2k7 CAS

  • Nico

    Antoine, I would like to thank you for this post you have helped me alot.

  • http://whygoogle.me/ akhater

    Hi Nico. I should thank you for taking the time and dropping this comment.

  • http://twitter.com/danherbon Dan Herbon

    I'm currently in the intial phase of my 2007/2010 coexistence. This was a very helpful post after reading pages and pages of Microsoft whitepapers putting everything together. Just wanted to clarify one thing. If I make the above changes to my CAS roles only on my 2007 and 2010 servers, this will not affect the HUB roles correct? Will the above changes have any affect on iPhone, Droid or Blackberry users? Will they have to be resetup to point them to the legacy 2007 CAS URL?

  • Zalias Kalnas

    Question:

    Currently my exch07 web is: https://owa.company.com
    We want to setup new exch10 with same dns https://owa.company.com

    How can this work?  Once I set them both up I switch DNS?  or I have to choose new name?   Choosing new name would be not an option as all of our users know this name and all our outlooks point to owa.company.com

    Any suggestions?

  • http://whygoogle.me/ akhater

    It is clearly stated in the article, owa.company.com should become to

    your 2010 and you pick anothe name for 2007

Content Twitter

RSS Feed

RSS by email