Roy Hayes
asked on
Query Based distribution Groups
Few months ago I migrate 2003 exchange server to 2010 exchange server. I did covert the query-based distribution groups to universal but I did missed 2 groups. The 2003 Exchange servers doesn't exist anymore. How can I edit or convert the Query-Based Distribution Groups on Exchange 2010? I need access to those groups so I can add and remove users from it.
Thank you very much
Thank you very much
ASKER
Yes I can see both groups but when I go to properties, it shows me only 3 tabs on top: ManagedBy, Object and Security. As of a Universal group shows all the tabs: General, members, member of, Managed by, attribute editor security and object. It does not give any errors, but it shows and invalid icon.
Thank you for your assistance
Thank you for your assistance
Hello,
You need to first create a new recipient filter, based on the LDAP filter. You then run the following powershell command:
Set-DynamicDistributionGro up -Identity "GROUPNAME" -RecipientFilter { <Filter systax> }
If you need help converting the filter, let me know exactly what the filter does.
-JJ
You need to first create a new recipient filter, based on the LDAP filter. You then run the following powershell command:
Set-DynamicDistributionGro
If you need help converting the filter, let me know exactly what the filter does.
-JJ
ASKER
JJ thank you very much for your help. The group is called "Indy" that is for all the users at the indy office. I will need help with the convertion.
If the Office field for these users is "Indy", the command would look like this:
Set-DynamicDistributionGro up -Identity "Indy" -RecipientFilter { (Office -eq 'Indy') }
-JJ
Set-DynamicDistributionGro
-JJ
ASKER
JJ where do I find the filter syntax?
I've already populated the filter syntax for what you want to do in the command above. It would be (Office -eq 'Indy')
That will put any object with the value of the "Office" field equal to "Indy" into the group.
-JJ
That will put any object with the value of the "Office" field equal to "Indy" into the group.
-JJ
ASKER
Thank JJ when I go to the properties of the group under EMC, under the filter tab this is what it looks like: ((Office -eq 'Indy') -and (-not(Name -like 'SystemMailbox{*')) -and (-not(Name -like 'CAS_{*')) -and (-not(RecipientTypeDetails Value -eq 'MailboxPlan')) -and (-not(RecipientTypeDetails Value -eq 'DiscoveryMailbox')) -and (-not(RecipientTypeDetails Value -eq 'ArbitrationMailbox')))
and this is the result after the command:
[PS] C:\Windows\system32>Set-Dy namicDistr ibutionGro up -Identity "Indy" -RecipientFilter { (Office -eq 'Indy') }
Confirm
To save changes on object "Indy", the object must be upgraded to the current Exchange version. After the upgrade, this
object cannot be managed by an earlier version of the Exchange Management Tools. Do you want to continue to upgrade and
save the object?
[Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "Y"): y
[PS] C:\Windows\system32>
and this is the result after the command:
[PS] C:\Windows\system32>Set-Dy
Confirm
To save changes on object "Indy", the object must be upgraded to the current Exchange version. After the upgrade, this
object cannot be managed by an earlier version of the Exchange Management Tools. Do you want to continue to upgrade and
save the object?
[Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "Y"): y
[PS] C:\Windows\system32>
OK, that looks good. Go back to the filter tab. make sure the recipient container is set to the base container you want to search in. Click the Preview tab and make sure the objects that are returned are those you expect.
-JJ
-JJ
ASKER
JJ, preview window is blank
Is the recipient container set correctly? Make sure it is set to the root of your domain. Also, in ADUC, open one of the user that should appear and make sure the office field had "Indy" exactly.
-JJ
-JJ
ASKER
how do I set it to the root of the domain?. and I did check user and under office field is blank
On the filter tab, click Browse and you will see your OU tree. Click on the top level to have it search your entire OU structure.
How was you previous LDAP filet setup? Run Get-DynamicDistributionGro up "Indy" | select ldaprecipientfilter and post the results.
-JJ
How was you previous LDAP filet setup? Run Get-DynamicDistributionGro
-JJ
ASKER
LdapRecipientFilter
-------------------
(&(physicalDeliveryOfficeN ame=Indy)( !(name=Sys temMailbox {*))(!(nam e=CAS_{*)) (!(msExchR ecipientTy peDetails= 16777216)) ...
-------------------
(&(physicalDeliveryOfficeN
You say the users you want in the group have a blank Office field in AD? We need some unique property for users in this office. Are they all in the same OU?
-JJ
-JJ
ASKER
when I browse under the filter tab it gives me this: trendsinternational.com/Tr ends Users/Indy
the actual distribution group is in: trendsinternational.com/di stribution groups/Indy
the actual distribution group is in: trendsinternational.com/di
ASKER
the e-mail for the distribution group indy works fine but I can't edit, add or remove users and I can't see members of it wither and it shows as an invalid group icon
ASKER
and yes, we all are under same OU: trendsinternational.com/Tr ends Users/Indy
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
JJ, I see, thank you very much. We can mark this as an answered question.
ASKER
you are the greatest JJ
Thanks. If you are all set, please accept one of my comments and assign points.
-JJ
-JJ
Do you see those 2 groups in the group? Did you get any error when modifying their properties?