

You may need to refresh the console to get the query to return results. Then, copy the attribute value that was saved in Notepad and paste it into the Value: fieldĬlick Add and the value will appear in the Condition List: The name of the box changes to Find Custom Search.įrom the Field: drop down menu, choose User/Exchange Mailbox Store. The Find Common Queries box is displayed.įrom the Find: drop down list, choose Custom Search Now, create the query in Active Directory and Users and Computers.Įnter a Name and optionally a Description. Tick the Show only attributes that have values and locate the homeMDB attribute.Ĭopy and paste the Value: into Notepad and cancel out of the attribute and Properties screen. Right click one of the keys and click Properties. Start ADSI Edit, connect to a DC and drill down to CN=Microsoft Exchange System Objects. If these, or any of the other parameters are different in your organisation, then change them accordingly. The server is in the First Administrative Group. (&(objectCategory=user)(homeMDB=CN=SG2MB2,CN=2nd Storage Group,CN=InformationStore,CN=SERVER03,CN=Servers,CN=First Administrative Group,CN=Administrative Groups,CN=ot-oh,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=ot-oh,DC=local)). This is the LDAP query which we will create and use in our example: The first query will list all users on a mailbox store.

With an AD query, you can isolate enabled users from disabled users, and migrate them first. However, you cannot easily identify the mailboxes of users whose accounts are disabled using ESM.

Of course, you can identify users on a mailbox store from Exchange System Manager. This is an example of how to create a query in Active Directory Users and Computers to identify users on a mailbox store.This is useful, for example, when migrating mailboxes from one store to another.
