Forum Discussion
Dynamic Distribution Group issue in Hybrid Exchange Setup
- Jul 02, 2020
We finally able to solve this issue while working with Office 365 Support. It has taken a long time due to ping pong between on premises and Exchange Online teams. Anyway, after digging a while - solution turned out be an attribute issue, which solved our problem.
1. we re-run the Hybrid configuration wizard then following command was run on affected Dynamic Distribution Group.
Set-DynamicDistributionGroup DDG1@abc.com -RequireSenderAuthenticationEnabled $false
Hopefully, it may help someone out there. Thanks.
Thank you for all 3 previous replies.
First I would request you to check if the https://support.microsoft.com/en-gb/help/3061396/members-of-a-dynamic-distribution-group-in-an-exchange-hybrid-deployme already shared if the filtering properties are working properly.
Also, run following commands on EMS
$FTE = Get-DynamicDistributionGroup "Full Time Employees"
Get-Recipient -RecipientPreviewFilter $FTE.RecipientFilter -OrganizationalUnit $FTE.RecipientContainer
to check if it returns the results as expected.
Ashkb and PeterRising
Thanks for your replies guys. Well, when i am running below command as per the article.
Set-DynamicDistributionGroup -Identity DDG1@abc.com -IncludedRecipients "MailboxUsers,MailContacts" -RecipientFilter {((RecipientType -eq 'UserMailbox' -or 'MailUser' -or 'MailContact'))}
I am getting this error:
"Cannot bind parameter 'RecipientFilter' to the target. Exception setting "RecipientFilter": "Invalid filter syntax.
For a description of the filter parameter syntax see the command help.
"((RecipientType -eq 'UserMailbox' -or 'MailUser' -or 'MailContact'))" at position 39."
+ CategoryInfo : WriteError: (:) [Set-DynamicDistributionGroup], ParameterBindingException
+ FullyQualifiedErrorId : ParameterBindingFailed,Microsoft.Exchange.Management.RecipientTasks.SetDynamicDistributi
onGroup"
Please suggest the correct Syntax of command. Thanks.
- PeterRisingMay 16, 2020MVP
Try this command instead,
Set-DynamicDistributionGroup -Identity DDG1@abc.com -RecipientFilter {(RecipientType -eq 'UserMailbox') -or (RecipientType -eq 'MailUser') -or (RecipientType -eq 'MailContact')}
- May 17, 2020
Thanks Peter, your suggested change in command has worked. After applying those changes on Dynamic Distribution Group (DDG), I have waited for around 4 to 6 hours and after applying changes on DDG - I still get same error/ NDR message.
Well, i also observed below Error details in the NDR, please see if it can help.
"Error Details
Reported error: 550 5.1.10 RESOLVER.ADR.RecipientNotFound; Recipient DDG1@abc.com not found by SMTP address lookup
DSN generated by: DX2P273MB0172.AREP273.PROD.OUTLOOK.COM "Thanks.
- PeterRisingMay 17, 2020MVP
Have you already followed the steps in this guide please?
- May 16, 2020
To add more info, yes; this command is returning - correct members of the Dynamic Distribution Group.
$FTE = Get-DynamicDistributionGroup "Full Time Employees"
Get-Recipient -RecipientPreviewFilter $FTE.RecipientFilter -OrganizationalUnit $FTE.RecipientContainerThanks.