Exchange 2019 cannot display all user when add allowed sender in delievery management

Chong 871 Reputation points
2022-05-23T06:51:26.913+00:00

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?

Exchange Exchange Server Management
{count} votes

2 answers

Sort by: Most helpful
  1. Andy David - MVP 157.4K Reputation points MVP Volunteer Moderator
    2022-05-23T11:14:25.307+00:00

    Use Exchange Powershell instead

    (Get-distributiongroup <group>).AcceptMessagesOnlyFromSendersOrMembers
    

  2. Aholic Liang-MSFT 13,886 Reputation points Microsoft External Staff
    2022-05-24T11:14:47.27+00:00

    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

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.