Microsoft KB Archive/237969

= PRB: GetMailboxTable Method only Return Mailboxes with Resources =

Article ID: 237969

Article Last Modified on 3/4/2004

-

APPLIES TO


 * Microsoft Exchange Development Kit 5.5
 * Microsoft Exchange Server 2003 Software Development Kit

-



This article was previously published under Q237969



SYMPTOMS
IExchangeManageStore::GetMailboxTable will only return mailboxes that have resources.



CAUSE
The mailbox folder is created in the information store, the first time the mailbox account logs in. Prior to the mailbox account logging in, there are no resources for that specific account.



RESOLUTION
A workaround would be to programmatically log into all mailboxes before calling IExchangeManageStore::GetMailboxTable.

For more information, please see the following article in the Knowledge Base:

194627 HOWTO: Opening Mailboxes with Privileged Access

Another alternative would be to use ADSI and LDAP. Please see:

223151 HOWTO: Search and List Recipients Using IDirectorySearch



STATUS
This is by design.



MORE INFORMATION
If the mailbox has never been logged into, then it will not have any resources. To see which mailboxes have resources, run the Microsoft Exchange Admin program (Admin.exe). The mailboxes with resources are listed under Configuration \Servers \Server-Name\ Private Information Store \ Mailbox Resources.

Keywords: kbmsg kbprb KB237969

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.