Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Hello Saud Khot**,**
Good day! Thank you for reaching out to Microsoft community.
It sounds like you're encountering a couple of issues with Dynamic Distribution Groups. As per your description and my understanding, you have two main issues with Dynamic Distribution Groups (DDGs) in Exchange Online (EXO):
- You are unable to add more than one owner to a DDG using the EXO interface.
- When attempting to add three company names as recipient filters for a DDG through the GUI, only the last company name is being retained when checked via PowerShell. While the GUI allows adding multiple company names during DDG creation, the PowerShell output only reflects the most recent addition.
Unfortunately, it seems that you are unable to add more than one owner to a DDG in EXO. This limitation might be due to the way the EXO environment is configured or a restriction in the current version of EXO.
When you create a new DDG and add multiple company names as recipient filters through the GUI, only the last company name appears when you check it via PowerShell. This discrepancy could be due to how the GUI and PowerShell handle the recipient filter syntax.
To address these issues, you might want to try the following steps:
Ensure that you are using the correct PowerShell cmdlets and syntax. You can use the Set-DistributionGroup cmdlet to add multiple owners. For example:
Set-DistributionGroup -Identity "DDGName" -ManagedBy user1,user2
When adding multiple company names as recipient filters, ensure that you are using the correct syntax in PowerShell. You can use the RecipientFilter parameter with the New-DynamicDistributionGroup or Set-DynamicDistributionGroup cmdlets. For example:
New-DynamicDistributionGroup -Name "DDGName" -RecipientFilter {Company -eq "Company1" -or Company -eq "Company2" -or Company -eq "Company3"}
This should ensure that all specified company names are included in the recipient filter.
If these steps do not resolve the issues, it might be helpful to reach out to Microsoft Support for further assistance. They can provide more detailed guidance and help troubleshoot any underlying problems with your EXO configuration.
As a forum supporter, we do not have sufficient permissions and resources to conduct research directly. We recommend that you contact your Microsoft 365 administrator and follow the steps in this article Get support - Microsoft 365 admin | Microsoft Learn to create a support ticket to Microsoft.
Note: If you’re an end-user, please coordinate with your Office 365 Global Administrator to handle these steps.
Please follow these steps and let me know the outcome. If the issue persists after completing the above, feel free to reach out, and we can further investigate the problem together.
Thanks for choosing the MS community and have a great day ahead!!
Sincerely
S M Nazmun Nur | Microsoft Community Moderator