Mass change of Exchange 2007 mailbox rights

Sep 6, 2007 at 6:01 PM
I am trying to modify mailbox rights for multiple users in an Exchange 2007 environment, but when I apply the changes I get the following error.

Unable to cast COM object of type 'System.__ComObject' to interface type 'CDOEXM.IExchangeMailbox'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{25150F51-5734-11D2-A593-00C04F990D8A}' failed due to the following error: No such interface supported

What am I doing wrong here, or do I need to make another change someplace else before I can change the mailbox rights en masse?

Thanx!
Coordinator
Sep 12, 2007 at 7:43 PM
This modification is not supported against Exchange 2007 mailbox servers. The only modifications that will work properly against 2007 are ones that touch AD attributes only (Mailbox Rights touches the Information Store). I suggest you use the Exchange Command Shell to modify mailbox rights instead.