Hi,
I have a MAPI app which will log in as one particular user (super user with some permission). The app uses HrMailboxLogon, msExchHomeServerName and legacyExchangeDN to open all other mailbox. This app work with Exchange 2007 and most of Exchange 2010 setup.
However it does not work with an Exchange 2010 setup with one CAS machine, two mailbox servers with DAG. The app can open the other user mailboxes if they are in the same server of the super server but not for other users in different server. If I replace the server name of the other user mailbox from msExchHomeServerName to CAS server, the app can login to the other mailbox.
I have read some doc about DAG. Basically, Exchange 2010 will not update msExchHomeServerName. msExchHomeServerName can not be used anymore.
I wonder where the name of CAS server can be queried from Active Directory? How to use HrMailboxLogon in Exchange 2010 with DAG and CAS?
Thanks.
Guo