I am trying to populate an Address List so that it looks at more than one mailbox store, but NOT the entire server. Example Storage Group 1 Faculty 1 Faculty 2 Storage Group 1 Staff 1 Staff 2 Adress List All Faculty All Staff When creating the query, I only see a way to add one mailbox store. Any ideas?
Use Custom Search from the Advanced tab if you're comfortable with ldap filters - you will be able to use multiple mailbox stores. Query will look something like this: (objectCategory=person)(objectClass=user)(|(homeMDB=blah)(homeMDB=blah2)) Replace blah with the distinguishedName of the Exchange mailbox stores. -- Bharat Suneja MCSE, MCT www.zenprise.com blog: www.suneja.com/blog ----------------------------------------- "Space Junk" <SpaceJunk@discussions.microsoft.com> wrote in message news:9C9C475A-A882-4743-8464-BCB14F303991@microsoft.com... >I am trying to populate an Address List so that it looks at more than one > mailbox store, but NOT the entire server. Example > > Storage Group 1 > Faculty 1 > Faculty 2 > > Storage Group 1 > Staff 1 > Staff 2 > > Adress List > All Faculty > All Staff > > When creating the query, I only see a way to add one mailbox store. > > Any ideas?
Minor correction: (&(objectCategory=person)(objectClass=user)(|(homeMDB=blah)(homeMDB=blah2))) -- Bharat Suneja MCSE, MCT www.zenprise.com blog: www.suneja.com/blog ----------------------------------------- "Bharat Suneja" <bharatsuneja@no.spam.org> wrote in message news:e4bQ5aALGHA.3936@TK2MSFTNGP10.phx.gbl... > Use Custom Search from the Advanced tab if you're comfortable with ldap > filters - you will be able to use multiple mailbox stores. Query will look > something like this: > (objectCategory=person)(objectClass=user)(|(homeMDB=blah)(homeMDB=blah2)) > > Replace blah with the distinguishedName of the Exchange mailbox stores. > -- > Bharat Suneja > MCSE, MCT > www.zenprise.com > blog: www.suneja.com/blog > ----------------------------------------- > > > "Space Junk" <SpaceJunk@discussions.microsoft.com> wrote in message > news:9C9C475A-A882-4743-8464-BCB14F303991@microsoft.com... >>I am trying to populate an Address List so that it looks at more than one >> mailbox store, but NOT the entire server. Example >> >> Storage Group 1 >> Faculty 1 >> Faculty 2 >> >> Storage Group 1 >> Staff 1 >> Staff 2 >> >> Adress List >> All Faculty >> All Staff >> >> When creating the query, I only see a way to add one mailbox store. >> >> Any ideas? > >
This is what I am looking for, but I am missing exactly how to get there. Here is what I am doing Right click on Address List Click modify Then I am not sure hot to get where I can enter a custom query like that. "Bharat Suneja" wrote: > Minor correction: > (&(objectCategory=person)(objectClass=user)(|(homeMDB=blah)(homeMDB=blah2))) > > -- > Bharat Suneja > MCSE, MCT > www.zenprise.com > blog: www.suneja.com/blog > ----------------------------------------- > > > "Bharat Suneja" <bharatsuneja@no.spam.org> wrote in message > news:e4bQ5aALGHA.3936@TK2MSFTNGP10.phx.gbl... > > Use Custom Search from the Advanced tab if you're comfortable with ldap > > filters - you will be able to use multiple mailbox stores. Query will look > > something like this: > > (objectCategory=person)(objectClass=user)(|(homeMDB=blah)(homeMDB=blah2)) > > > > Replace blah with the distinguishedName of the Exchange mailbox stores. > > -- > > Bharat Suneja > > MCSE, MCT > > www.zenprise.com > > blog: www.suneja.com/blog > > ----------------------------------------- > > > > > > "Space Junk" <SpaceJunk@discussions.microsoft.com> wrote in message > > news:9C9C475A-A882-4743-8464-BCB14F303991@microsoft.com... > >>I am trying to populate an Address List so that it looks at more than one > >> mailbox store, but NOT the entire server. Example > >> > >> Storage Group 1 > >> Faculty 1 > >> Faculty 2 > >> > >> Storage Group 1 > >> Staff 1 > >> Staff 2 > >> > >> Adress List > >> All Faculty > >> All Staff > >> > >> When creating the query, I only see a way to add one mailbox store. > >> > >> Any ideas? > > > > > > >
Ahh, I found it, thank you. "Bharat Suneja" wrote: > Minor correction: > (&(objectCategory=person)(objectClass=user)(|(homeMDB=blah)(homeMDB=blah2))) > > -- > Bharat Suneja > MCSE, MCT > www.zenprise.com > blog: www.suneja.com/blog > ----------------------------------------- > > > "Bharat Suneja" <bharatsuneja@no.spam.org> wrote in message > news:e4bQ5aALGHA.3936@TK2MSFTNGP10.phx.gbl... > > Use Custom Search from the Advanced tab if you're comfortable with ldap > > filters - you will be able to use multiple mailbox stores. Query will look > > something like this: > > (objectCategory=person)(objectClass=user)(|(homeMDB=blah)(homeMDB=blah2)) > > > > Replace blah with the distinguishedName of the Exchange mailbox stores. > > -- > > Bharat Suneja > > MCSE, MCT > > www.zenprise.com > > blog: www.suneja.com/blog > > ----------------------------------------- > > > > > > "Space Junk" <SpaceJunk@discussions.microsoft.com> wrote in message > > news:9C9C475A-A882-4743-8464-BCB14F303991@microsoft.com... > >>I am trying to populate an Address List so that it looks at more than one > >> mailbox store, but NOT the entire server. Example > >> > >> Storage Group 1 > >> Faculty 1 > >> Faculty 2 > >> > >> Storage Group 1 > >> Staff 1 > >> Staff 2 > >> > >> Adress List > >> All Faculty > >> All Staff > >> > >> When creating the query, I only see a way to add one mailbox store. > >> > >> Any ideas? > > > > > > >
In my case the mail store names are "Faculty01 (SERVER)" and the parenthesis are throwing the query off I think here is what will wor ------------------------------------------------------------------------------------------------ (&(&(& (mailnickname=*) (| (&(objectCategory=person)(objectClass=user)(homeMDB=CN=Faculty01 (Server),CN=3rd Storage Group,CN=InformationStore,CN=Server,CN=Servers,CN=First Administrative Group,CN=Administrative Groups,CN=CompanyName,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=companyname,DC=com)) ))) ------------------------------------------------------------------------------------------------ Now if I make it this, it does not return any results: ------------------------------------------------------------------------------------------------ (&(&(& (mailnickname=*) (| (&(objectCategory=person)(objectClass=user)(homeMDB=CN=Faculty01 (Server)(homeMDB=CN=Faculty02 (Server),CN=3rd Storage Group,CN=InformationStore,CN=Server,CN=Servers,CN=First Administrative Group,CN=Administrative Groups,CN=CompanyName,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=companyname,DC=com)) ))) ------------------------------------------------------------------------------------------------ "Bharat Suneja" wrote: > Minor correction: > (&(objectCategory=person)(objectClass=user)(|(homeMDB=blah)(homeMDB=blah2))) > > -- > Bharat Suneja > MCSE, MCT > www.zenprise.com > blog: www.suneja.com/blog > ----------------------------------------- > > > "Bharat Suneja" <bharatsuneja@no.spam.org> wrote in message > news:e4bQ5aALGHA.3936@TK2MSFTNGP10.phx.gbl... > > Use Custom Search from the Advanced tab if you're comfortable with ldap > > filters - you will be able to use multiple mailbox stores. Query will look > > something like this: > > (objectCategory=person)(objectClass=user)(|(homeMDB=blah)(homeMDB=blah2)) > > > > Replace blah with the distinguishedName of the Exchange mailbox stores. > > -- > > Bharat Suneja > > MCSE, MCT > > www.zenprise.com > > blog: www.suneja.com/blog > > ----------------------------------------- > > > > > > "Space Junk" <SpaceJunk@discussions.microsoft.com> wrote in message > > news:9C9C475A-A882-4743-8464-BCB14F303991@microsoft.com... > >>I am trying to populate an Address List so that it looks at more than one > >> mailbox store, but NOT the entire server. Example > >> > >> Storage Group 1 > >> Faculty 1 > >> Faculty 2 > >> > >> Storage Group 1 > >> Staff 1 > >> Staff 2 > >> > >> Adress List > >> All Faculty > >> All Staff > >> > >> When creating the query, I only see a way to add one mailbox store. > >> > >> Any ideas? > > > > > > >
Try this: (&(objectCategory=person)(objectClass=user)(mailnickname=*) (|(homeMDB=CN=Faculty01 (Server),CN=Servers,CN=First Administrative Group,CN=Administrative Groups,CN=CompanyName,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=companyname,DC=com) (homeMDB=CN=Faculty02 (Server),CN=3rd Storage Group,CN=InformationStore,CN=Server,CN=Servers,CN=First Administrative Group,CN=Administrative Groups,CN=CompanyName,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=companyname,DC=com))) You were only using the CN for the first MDB - needs to be a distinguishedName just like the second one. Check for spaces before/after the (Server) part in the homeMDB name. Easiest to simply get the distinguishedName of each Store from ADSIEdit and paste it in notepad. -- Bharat Suneja MCSE, MCT www.zenprise.com blog: www.suneja.com/blog ----------------------------------------- "Space Junk" <SpaceJunk@discussions.microsoft.com> wrote in message news:7387D508-0ED7-4625-AE65-5F59BB4302C1@microsoft.com... > In my case the mail store names are "Faculty01 (SERVER)" and the > parenthesis > are throwing the query off I think > > here is what will work > ------------------------------------------------------------------------------------------------ > (&(&(& (mailnickname=*) (| > (&(objectCategory=person)(objectClass=user)(homeMDB=CN=Faculty01 > (Server),CN=3rd Storage > Group,CN=InformationStore,CN=Server,CN=Servers,CN=First Administrative > Group,CN=Administrative Groups,CN=CompanyName,CN=Microsoft > Exchange,CN=Services,CN=Configuration,DC=companyname,DC=com)) )))) > ------------------------------------------------------------------------------------------------ > > Now if I make it this, it does not return any results: > > ------------------------------------------------------------------------------------------------ > (&(&(& (mailnickname=*) (| > (&(objectCategory=person)(objectClass=user)(homeMDB=CN=Faculty01 > (Server)(homeMDB=CN=Faculty02 (Server),CN=3rd Storage > Group,CN=InformationStore,CN=Server,CN=Servers,CN=First Administrative > Group,CN=Administrative Groups,CN=CompanyName,CN=Microsoft > Exchange,CN=Services,CN=Configuration,DC=companyname,DC=com)) )))) > ------------------------------------------------------------------------------------------------ > > "Bharat Suneja" wrote: > >> Minor correction: >> (&(objectCategory=person)(objectClass=user)(|(homeMDB=blah)(homeMDB=blah2))) >> >> -- >> Bharat Suneja >> MCSE, MCT >> www.zenprise.com >> blog: www.suneja.com/blog >> ----------------------------------------- >> >> >> "Bharat Suneja" <bharatsuneja@no.spam.org> wrote in message >> news:e4bQ5aALGHA.3936@TK2MSFTNGP10.phx.gbl... >> > Use Custom Search from the Advanced tab if you're comfortable with ldap >> > filters - you will be able to use multiple mailbox stores. Query will >> > look >> > something like this: >> > (objectCategory=person)(objectClass=user)(|(homeMDB=blah)(homeMDB=blah2)) >> > >> > Replace blah with the distinguishedName of the Exchange mailbox stores. >> > -- >> > Bharat Suneja >> > MCSE, MCT >> > www.zenprise.com >> > blog: www.suneja.com/blog >> > ----------------------------------------- >> > >> > >> > "Space Junk" <SpaceJunk@discussions.microsoft.com> wrote in message >> > news:9C9C475A-A882-4743-8464-BCB14F303991@microsoft.com... >> >>I am trying to populate an Address List so that it looks at more than >> >>one >> >> mailbox store, but NOT the entire server. Example >> >> >> >> Storage Group 1 >> >> Faculty 1 >> >> Faculty 2 >> >> >> >> Storage Group 1 >> >> Staff 1 >> >> Staff 2 >> >> >> >> Adress List >> >> All Faculty >> >> All Staff >> >> >> >> When creating the query, I only see a way to add one mailbox store. >> >> >> >> Any ideas? >> > >> > >> >> >>
There must be a 440 character limit, it will not let me paste in what I need, unless I trim it down to 440 or below ??? "Bharat Suneja" wrote: > Try this: > (&(objectCategory=person)(objectClass=user)(mailnickname=*) > > (|(homeMDB=CN=Faculty01 (Server),CN=Servers,CN=First Administrative > Group,CN=Administrative Groups,CN=CompanyName,CN=Microsoft > Exchange,CN=Services,CN=Configuration,DC=companyname,DC=com) > > (homeMDB=CN=Faculty02 (Server),CN=3rd Storage > Group,CN=InformationStore,CN=Server,CN=Servers,CN=First Administrative > Group,CN=Administrative Groups,CN=CompanyName,CN=Microsoft > Exchange,CN=Services,CN=Configuration,DC=companyname,DC=com))) > > > > You were only using the CN for the first MDB - needs to be a > distinguishedName just like the second one. > > Check for spaces before/after the (Server) part in the homeMDB name. > > Easiest to simply get the distinguishedName of each Store from ADSIEdit and > paste it in notepad. > -- > Bharat Suneja > MCSE, MCT > www.zenprise.com > blog: www.suneja.com/blog > ----------------------------------------- > > > > "Space Junk" <SpaceJunk@discussions.microsoft.com> wrote in message > news:7387D508-0ED7-4625-AE65-5F59BB4302C1@microsoft.com... > > In my case the mail store names are "Faculty01 (SERVER)" and the > > parenthesis > > are throwing the query off I think > > > > here is what will work > > ------------------------------------------------------------------------------------------------ > > (&(&(& (mailnickname=*) (| > > (&(objectCategory=person)(objectClass=user)(homeMDB=CN=Faculty01 > > (Server),CN=3rd Storage > > Group,CN=InformationStore,CN=Server,CN=Servers,CN=First Administrative > > Group,CN=Administrative Groups,CN=CompanyName,CN=Microsoft > > Exchange,CN=Services,CN=Configuration,DC=companyname,DC=com)) )))) > > ------------------------------------------------------------------------------------------------ > > > > Now if I make it this, it does not return any results: > > > > ------------------------------------------------------------------------------------------------ > > (&(&(& (mailnickname=*) (| > > (&(objectCategory=person)(objectClass=user)(homeMDB=CN=Faculty01 > > (Server)(homeMDB=CN=Faculty02 (Server),CN=3rd Storage > > Group,CN=InformationStore,CN=Server,CN=Servers,CN=First Administrative > > Group,CN=Administrative Groups,CN=CompanyName,CN=Microsoft > > Exchange,CN=Services,CN=Configuration,DC=companyname,DC=com)) )))) > > ------------------------------------------------------------------------------------------------ > > > > "Bharat Suneja" wrote: > > > >> Minor correction: > >> (&(objectCategory=person)(objectClass=user)(|(homeMDB=blah)(homeMDB=blah2))) > >> > >> -- > >> Bharat Suneja > >> MCSE, MCT > >> www.zenprise.com > >> blog: www.suneja.com/blog > >> ----------------------------------------- > >> > >> > >> "Bharat Suneja" <bharatsuneja@no.spam.org> wrote in message > >> news:e4bQ5aALGHA.3936@TK2MSFTNGP10.phx.gbl... > >> > Use Custom Search from the Advanced tab if you're comfortable with ldap > >> > filters - you will be able to use multiple mailbox stores. Query will > >> > look > >> > something like this: > >> > (objectCategory=person)(objectClass=user)(|(homeMDB=blah)(homeMDB=blah2)) > >> > > >> > Replace blah with the distinguishedName of the Exchange mailbox stores. > >> > -- > >> > Bharat Suneja > >> > MCSE, MCT > >> > www.zenprise.com > >> > blog: www.suneja.com/blog > >> > ----------------------------------------- > >> > > >> > > >> > "Space Junk" <SpaceJunk@discussions.microsoft.com> wrote in message > >> > news:9C9C475A-A882-4743-8464-BCB14F303991@microsoft.com... > >> >>I am trying to populate an Address List so that it looks at more than > >> >>one > >> >> mailbox store, but NOT the entire server. Example > >> >> > >> >> Storage Group 1 > >> >> Faculty 1 > >> >> Faculty 2 > >> >> > >> >> Storage Group 1 > >> >> Staff 1 > >> >> Staff 2 > >> >> > >> >> Adress List > >> >> All Faculty > >> >> All Staff > >> >> > >> >> When creating the query, I only see a way to add one mailbox store. > >> >> > >> >> Any ideas? > >> > > >> > > >> > >> > >> > > >
Try pasting using ADSIEdit - locate the Address List's purportedSearch attribute. -- Bharat Suneja MCSE, MCT www.zenprise.com blog: www.suneja.com/blog ----------------------------------------- "Space Junk" <SpaceJunk@discussions.microsoft.com> wrote in message news:E77E039D-7DB0-4C0A-AB61-65413E81A4F8@microsoft.com... > There must be a 440 character limit, it will not let me paste in what I > need, > unless I trim it down to 440 or below > > ??? > > "Bharat Suneja" wrote: > >> Try this: >> (&(objectCategory=person)(objectClass=user)(mailnickname=*) >> >> (|(homeMDB=CN=Faculty01 (Server),CN=Servers,CN=First Administrative >> Group,CN=Administrative Groups,CN=CompanyName,CN=Microsoft >> Exchange,CN=Services,CN=Configuration,DC=companyname,DC=com) >> >> (homeMDB=CN=Faculty02 (Server),CN=3rd Storage >> Group,CN=InformationStore,CN=Server,CN=Servers,CN=First Administrative >> Group,CN=Administrative Groups,CN=CompanyName,CN=Microsoft >> Exchange,CN=Services,CN=Configuration,DC=companyname,DC=com))) >> >> >> >> You were only using the CN for the first MDB - needs to be a >> distinguishedName just like the second one. >> >> Check for spaces before/after the (Server) part in the homeMDB name. >> >> Easiest to simply get the distinguishedName of each Store from ADSIEdit >> and >> paste it in notepad. >> -- >> Bharat Suneja >> MCSE, MCT >> www.zenprise.com >> blog: www.suneja.com/blog >> ----------------------------------------- >> >> >> >> "Space Junk" <SpaceJunk@discussions.microsoft.com> wrote in message >> news:7387D508-0ED7-4625-AE65-5F59BB4302C1@microsoft.com... >> > In my case the mail store names are "Faculty01 (SERVER)" and the >> > parenthesis >> > are throwing the query off I think >> > >> > here is what will work >> > ------------------------------------------------------------------------------------------------ >> > (&(&(& (mailnickname=*) (| >> > (&(objectCategory=person)(objectClass=user)(homeMDB=CN=Faculty01 >> > (Server),CN=3rd Storage >> > Group,CN=InformationStore,CN=Server,CN=Servers,CN=First Administrative >> > Group,CN=Administrative Groups,CN=CompanyName,CN=Microsoft >> > Exchange,CN=Services,CN=Configuration,DC=companyname,DC=com)) )))) >> > ------------------------------------------------------------------------------------------------ >> > >> > Now if I make it this, it does not return any results: >> > >> > ------------------------------------------------------------------------------------------------ >> > (&(&(& (mailnickname=*) (| >> > (&(objectCategory=person)(objectClass=user)(homeMDB=CN=Faculty01 >> > (Server)(homeMDB=CN=Faculty02 (Server),CN=3rd Storage >> > Group,CN=InformationStore,CN=Server,CN=Servers,CN=First Administrative >> > Group,CN=Administrative Groups,CN=CompanyName,CN=Microsoft >> > Exchange,CN=Services,CN=Configuration,DC=companyname,DC=com)) )))) >> > ------------------------------------------------------------------------------------------------ >> > >> > "Bharat Suneja" wrote: >> > >> >> Minor correction: >> >> (&(objectCategory=person)(objectClass=user)(|(homeMDB=blah)(homeMDB=blah2))) >> >> >> >> -- >> >> Bharat Suneja >> >> MCSE, MCT >> >> www.zenprise.com >> >> blog: www.suneja.com/blog >> >> ----------------------------------------- >> >> >> >> >> >> "Bharat Suneja" <bharatsuneja@no.spam.org> wrote in message >> >> news:e4bQ5aALGHA.3936@TK2MSFTNGP10.phx.gbl... >> >> > Use Custom Search from the Advanced tab if you're comfortable with >> >> > ldap >> >> > filters - you will be able to use multiple mailbox stores. Query >> >> > will >> >> > look >> >> > something like this: >> >> > (objectCategory=person)(objectClass=user)(|(homeMDB=blah)(homeMDB=blah2)) >> >> > >> >> > Replace blah with the distinguishedName of the Exchange mailbox >> >> > stores. >> >> > -- >> >> > Bharat Suneja >> >> > MCSE, MCT >> >> > www.zenprise.com >> >> > blog: www.suneja.com/blog >> >> > ----------------------------------------- >> >> > >> >> > >> >> > "Space Junk" <SpaceJunk@discussions.microsoft.com> wrote in message >> >> > news:9C9C475A-A882-4743-8464-BCB14F303991@microsoft.com... >> >> >>I am trying to populate an Address List so that it looks at more >> >> >>than >> >> >>one >> >> >> mailbox store, but NOT the entire server. Example >> >> >> >> >> >> Storage Group 1 >> >> >> Faculty 1 >> >> >> Faculty 2 >> >> >> >> >> >> Storage Group 1 >> >> >> Staff 1 >> >> >> Staff 2 >> >> >> >> >> >> Adress List >> >> >> All Faculty >> >> >> All Staff >> >> >> >> >> >> When creating the query, I only see a way to add one mailbox store. >> >> >> >> >> >> Any ideas? >> >> > >> >> > >> >> >> >> >> >> >> >> >>
I got it by taking the blank line in between, however, it will return nothing when I am using both mail stores in the query. "Bharat Suneja" wrote: > Try pasting using ADSIEdit - locate the Address List's purportedSearch > attribute. > > -- > Bharat Suneja > MCSE, MCT > www.zenprise.com > blog: www.suneja.com/blog > ----------------------------------------- > > > "Space Junk" <SpaceJunk@discussions.microsoft.com> wrote in message > news:E77E039D-7DB0-4C0A-AB61-65413E81A4F8@microsoft.com... > > There must be a 440 character limit, it will not let me paste in what I > > need, > > unless I trim it down to 440 or below > > > > ??? > > > > "Bharat Suneja" wrote: > > > >> Try this: > >> (&(objectCategory=person)(objectClass=user)(mailnickname=*) > >> > >> (|(homeMDB=CN=Faculty01 (Server),CN=Servers,CN=First Administrative > >> Group,CN=Administrative Groups,CN=CompanyName,CN=Microsoft > >> Exchange,CN=Services,CN=Configuration,DC=companyname,DC=com) > >> > >> (homeMDB=CN=Faculty02 (Server),CN=3rd Storage > >> Group,CN=InformationStore,CN=Server,CN=Servers,CN=First Administrative > >> Group,CN=Administrative Groups,CN=CompanyName,CN=Microsoft > >> Exchange,CN=Services,CN=Configuration,DC=companyname,DC=com))) > >> > >> > >> > >> You were only using the CN for the first MDB - needs to be a > >> distinguishedName just like the second one. > >> > >> Check for spaces before/after the (Server) part in the homeMDB name. > >> > >> Easiest to simply get the distinguishedName of each Store from ADSIEdit > >> and > >> paste it in notepad. > >> -- > >> Bharat Suneja > >> MCSE, MCT > >> www.zenprise.com > >> blog: www.suneja.com/blog > >> ----------------------------------------- > >> > >> > >> > >> "Space Junk" <SpaceJunk@discussions.microsoft.com> wrote in message > >> news:7387D508-0ED7-4625-AE65-5F59BB4302C1@microsoft.com... > >> > In my case the mail store names are "Faculty01 (SERVER)" and the > >> > parenthesis > >> > are throwing the query off I think > >> > > >> > here is what will work > >> > ------------------------------------------------------------------------------------------------ > >> > (&(&(& (mailnickname=*) (| > >> > (&(objectCategory=person)(objectClass=user)(homeMDB=CN=Faculty01 > >> > (Server),CN=3rd Storage > >> > Group,CN=InformationStore,CN=Server,CN=Servers,CN=First Administrative > >> > Group,CN=Administrative Groups,CN=CompanyName,CN=Microsoft > >> > Exchange,CN=Services,CN=Configuration,DC=companyname,DC=com)) )))) > >> > ------------------------------------------------------------------------------------------------ > >> > > >> > Now if I make it this, it does not return any results: > >> > > >> > ------------------------------------------------------------------------------------------------ > >> > (&(&(& (mailnickname=*) (| > >> > (&(objectCategory=person)(objectClass=user)(homeMDB=CN=Faculty01 > >> > (Server)(homeMDB=CN=Faculty02 (Server),CN=3rd Storage > >> > Group,CN=InformationStore,CN=Server,CN=Servers,CN=First Administrative > >> > Group,CN=Administrative Groups,CN=CompanyName,CN=Microsoft > >> > Exchange,CN=Services,CN=Configuration,DC=companyname,DC=com)) )))) > >> > ------------------------------------------------------------------------------------------------ > >> > > >> > "Bharat Suneja" wrote: > >> > > >> >> Minor correction: > >> >> (&(objectCategory=person)(objectClass=user)(|(homeMDB=blah)(homeMDB=blah2))) > >> >> > >> >> -- > >> >> Bharat Suneja > >> >> MCSE, MCT > >> >> www.zenprise.com > >> >> blog: www.suneja.com/blog > >> >> ----------------------------------------- > >> >> > >> >> > >> >> "Bharat Suneja" <bharatsuneja@no.spam.org> wrote in message > >> >> news:e4bQ5aALGHA.3936@TK2MSFTNGP10.phx.gbl... > >> >> > Use Custom Search from the Advanced tab if you're comfortable with > >> >> > ldap > >> >> > filters - you will be able to use multiple mailbox stores. Query > >> >> > will > >> >> > look > >> >> > something like this: > >> >> > (objectCategory=person)(objectClass=user)(|(homeMDB=blah)(homeMDB=blah2)) > >> >> > > >> >> > Replace blah with the distinguishedName of the Exchange mailbox > >> >> > stores. > >> >> > -- > >> >> > Bharat Suneja > >> >> > MCSE, MCT > >> >> > www.zenprise.com > >> >> > blog: www.suneja.com/blog > >> >> > ----------------------------------------- > >> >> > > >> >> > > >> >> > "Space Junk" <SpaceJunk@discussions.microsoft.com> wrote in message > >> >> > news:9C9C475A-A882-4743-8464-BCB14F303991@microsoft.com... > >> >> >>I am trying to populate an Address List so that it looks at more > >> >> >>than > >> >> >>one > >> >> >> mailbox store, but NOT the entire server. Example > >> >> >> > >> >> >> Storage Group 1 > >> >> >> Faculty 1 > >> >> >> Faculty 2 > >> >> >> > >> >> >> Storage Group 1 > >> >> >> Staff 1 > >> >> >> Staff 2 > >> >> >> > >> >> >> Adress List > >> >> >> All Faculty > >> >> >> All Staff > >> >> >> > >> >> >> When creating the query, I only see a way to add one mailbox store. > >> >> >> > >> >> >> Any ideas? > >> >> > > >> >> > > >> >> > >> >> > >> >> > >> > >> > >> > > >
Make sure you have the distinguishedName of each MDB (Store) pasted correctly. I just tried it on a test environment and it works - here's my exact filter with servername, Org name and Domain Name changed: (&(objectClass=user)(objectCategory=person)(|(homeMDB=CN=Mailbox Store (SERVER1),CN=First Storage Group,CN=InformationStore,CN=SERVER1,CN=Servers,CN=Corp Administrative Group,CN=Administrative Groups,CN=OrgNameHere,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=DomainName,DC=com)(homeMDB=CN=Mailbox Store (SERVER2),CN=First Storage Group,CN=InformationStore,CN=SERVER2,CN=Servers,CN=Corp Administrative Group,CN=Administrative Groups,CN=OrgNameHere,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=DomainName,DC=com))) -- Bharat Suneja MCSE, MCT www.zenprise.com blog: www.suneja.com/blog ----------------------------------------- "Space Junk" <SpaceJunk@discussions.microsoft.com> wrote in message news:3BDCDEC1-6807-4DA9-9B68-F65DC78F6970@microsoft.com... >I got it by taking the blank line in between, however, it will return >nothing > when I am using both mail stores in the query. > > "Bharat Suneja" wrote: > >> Try pasting using ADSIEdit - locate the Address List's purportedSearch >> attribute. >> >> -- >> Bharat Suneja >> MCSE, MCT >> www.zenprise.com >> blog: www.suneja.com/blog >> ----------------------------------------- >> >> >> "Space Junk" <SpaceJunk@discussions.microsoft.com> wrote in message >> news:E77E039D-7DB0-4C0A-AB61-65413E81A4F8@microsoft.com... >> > There must be a 440 character limit, it will not let me paste in what I >> > need, >> > unless I trim it down to 440 or below >> > >> > ??? >> > >> > "Bharat Suneja" wrote: >> > >> >> Try this: >> >> (&(objectCategory=person)(objectClass=user)(mailnickname=*) >> >> >> >> (|(homeMDB=CN=Faculty01 (Server),CN=Servers,CN=First Administrative >> >> Group,CN=Administrative Groups,CN=CompanyName,CN=Microsoft >> >> Exchange,CN=Services,CN=Configuration,DC=companyname,DC=com) >> >> >> >> (homeMDB=CN=Faculty02 (Server),CN=3rd Storage >> >> Group,CN=InformationStore,CN=Server,CN=Servers,CN=First Administrative >> >> Group,CN=Administrative Groups,CN=CompanyName,CN=Microsoft >> >> Exchange,CN=Services,CN=Configuration,DC=companyname,DC=com))) >> >> >> >> >> >> >> >> You were only using the CN for the first MDB - needs to be a >> >> distinguishedName just like the second one. >> >> >> >> Check for spaces before/after the (Server) part in the homeMDB name. >> >> >> >> Easiest to simply get the distinguishedName of each Store from >> >> ADSIEdit >> >> and >> >> paste it in notepad. >> >> -- >> >> Bharat Suneja >> >> MCSE, MCT >> >> www.zenprise.com >> >> blog: www.suneja.com/blog >> >> ----------------------------------------- >> >> >> >> >> >> >> >> "Space Junk" <SpaceJunk@discussions.microsoft.com> wrote in message >> >> news:7387D508-0ED7-4625-AE65-5F59BB4302C1@microsoft.com... >> >> > In my case the mail store names are "Faculty01 (SERVER)" and the >> >> > parenthesis >> >> > are throwing the query off I think >> >> > >> >> > here is what will work >> >> > ------------------------------------------------------------------------------------------------ >> >> > (&(&(& (mailnickname=*) (| >> >> > (&(objectCategory=person)(objectClass=user)(homeMDB=CN=Faculty01 >> >> > (Server),CN=3rd Storage >> >> > Group,CN=InformationStore,CN=Server,CN=Servers,CN=First >> >> > Administrative >> >> > Group,CN=Administrative Groups,CN=CompanyName,CN=Microsoft >> >> > Exchange,CN=Services,CN=Configuration,DC=companyname,DC=com)) )))) >> >> > ------------------------------------------------------------------------------------------------ >> >> > >> >> > Now if I make it this, it does not return any results: >> >> > >> >> > ------------------------------------------------------------------------------------------------ >> >> > (&(&(& (mailnickname=*) (| >> >> > (&(objectCategory=person)(objectClass=user)(homeMDB=CN=Faculty01 >> >> > (Server)(homeMDB=CN=Faculty02 (Server),CN=3rd Storage >> >> > Group,CN=InformationStore,CN=Server,CN=Servers,CN=First >> >> > Administrative >> >> > Group,CN=Administrative Groups,CN=CompanyName,CN=Microsoft >> >> > Exchange,CN=Services,CN=Configuration,DC=companyname,DC=com)) )))) >> >> > ------------------------------------------------------------------------------------------------ >> >> > >> >> > "Bharat Suneja" wrote: >> >> > >> >> >> Minor correction: >> >> >> (&(objectCategory=person)(objectClass=user)(|(homeMDB=blah)(homeMDB=blah2))) >> >> >> >> >> >> -- >> >> >> Bharat Suneja >> >> >> MCSE, MCT >> >> >> www.zenprise.com >> >> >> blog: www.suneja.com/blog >> >> >> ----------------------------------------- >> >> >> >> >> >> >> >> >> "Bharat Suneja" <bharatsuneja@no.spam.org> wrote in message >> >> >> news:e4bQ5aALGHA.3936@TK2MSFTNGP10.phx.gbl... >> >> >> > Use Custom Search from the Advanced tab if you're comfortable >> >> >> > with >> >> >> > ldap >> >> >> > filters - you will be able to use multiple mailbox stores. Query >> >> >> > will >> >> >> > look >> >> >> > something like this: >> >> >> > (objectCategory=person)(objectClass=user)(|(homeMDB=blah)(homeMDB=blah2)) >> >> >> > >> >> >> > Replace blah with the distinguishedName of the Exchange mailbox >> >> >> > stores. >> >> >> > -- >> >> >> > Bharat Suneja >> >> >> > MCSE, MCT >> >> >> > www.zenprise.com >> >> >> > blog: www.suneja.com/blog >> >> >> > ----------------------------------------- >> >> >> > >> >> >> > >> >> >> > "Space Junk" <SpaceJunk@discussions.microsoft.com> wrote in >> >> >> > message >> >> >> > news:9C9C475A-A882-4743-8464-BCB14F303991@microsoft.com... >> >> >> >>I am trying to populate an Address List so that it looks at more >> >> >> >>than >> >> >> >>one >> >> >> >> mailbox store, but NOT the entire server. Example >> >> >> >> >> >> >> >> Storage Group 1 >> >> >> >> Faculty 1 >> >> >> >> Faculty 2 >> >> >> >> >> >> >> >> Storage Group 1 >> >> >> >> Staff 1 >> >> >> >> Staff 2 >> >> >> >> >> >> >> >> Adress List >> >> >> >> All Faculty >> >> >> >> All Staff >> >> >> >> >> >> >> >> When creating the query, I only see a way to add one mailbox >> >> >> >> store. >> >> >> >> >> >> >> >> Any ideas? >> >> >> > >> >> >> > >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >>