Use Exchange Powershell instead
(Get-distributiongroup <group>).AcceptMessagesOnlyFromSendersOrMembers
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
In both exchange 2016 and 2019, when we try to add “Allowed sender” in the mailbox delivery management, it only can display 500 objects
We tried to edit the web.config file to add a below lines but not works. It still display 500 user only
<!-- allows the OU picker when placing a new mailbox in its designated organizational unit to retrieve all OUs - default value is 500 -->
<add key="GetListDefaultResultSize" value="2000" />
Exchange Server doesn't display all OUs - Exchange | Microsoft Learn
How can we display all users?
Use Exchange Powershell instead
(Get-distributiongroup <group>).AcceptMessagesOnlyFromSendersOrMembers
Hi @Chong ,
<!-- allows the OU picker when placing a new mailbox in its designated organizational unit to retrieve all OUs - default value is 500 -->
<add key="GetListDefaultResultSize" value="2000" />
According to the official documentation, the command is used to solve the complete list of organizational units (OUs) isn't displayed as expected. This does not apply to other situations.
To my knowledge , there is no official document that explains the number of mailboxes to be displayed in Delivery Management, and guidance on how to change the maximum number of mailboxes displayed .
If it is possible , I suggest you could refer to the following cmdlets to export them to csv for filtering.
Get-Mailbox -ResultSize unlimited | select-object DisplayName, userPrincipalName | Export-CSV-Path c:\share\mailbox.csv
Then refer to the following cmdlets to add allowed senders:
Set-DistributionGroup -Identity "******@contoso.com" –AcceptMessagesOnlyFromSendersOrMembers @{Add=“******@contoso.com”, “******@contoso.com”;}
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our [documentation][1] to enable e-mail notifications if you want to receive the related email notification for this thread.
[1]: https://learn.microsoft.com/en-us/answers/articles/67444/email-notifications.html