Remove Server member from CAS Array in Exchange 2010

We are in the process of replacing our CAS server with a new virtual machine. Everything is working but now we have a CAS Array with two servers and not sure how to get it removed from the Array. We have been searching for hours and can't figure it out. Anyone run into this issue? We don't have any load balancing. The DNS is now pointing to the new CAS server.

Who is Participating?
Adam FarageConnect With a Mentor Enterprise ArchCommented:
Lesson time!

A CAS Array is a logical active directory object that basically pulls any and all CAS within that active directory site into the object. There is no way to exclude the CAS unless you move it to a separate AD site, or simply remove the CAS Array. As you pointed out, you do not have a load balancer and the CAS Array object does not load balance (but instead is the MAPI endpoint on the database, which is the RPCClientAccessServer attribute).

If you want to completely remove the CAS Array object you can run the Remove-ClientAccessArray command:

I would also check the databases in the environment to make sure they are not pointed at the FQDN of the CAS Array. You can run Get-ClientAccessArray to find out the FQDN of the array, and then run Get-MailboxDatabase | Select RPCClientAccessServer. Make sure this is not the Exchange server going away, nor the CAS Array.

In the event that this attribute is not proper, you can do the following to fix it:

Get-MailboxDatabase | Set-MailboxDatabase -RPCClientAccessServer FQDNOFNEWCAS

Open in new window

And my favorite article ever, demystifying the CAS Array Object:
Senior IT System EngineerIT ProfessionalCommented:
Do I have to do this before applying the service pack 3 or any windows update to my CAS array ?
All Courses

From novice to tech pro — start learning today.