unable to see the DL.

Glenn Maxwell 12,336 Reputation points
2025-02-05T05:20:58.71+00:00

Hi All

I am facing issue with Distribution List. When i try to create the DL from Exchange Online PowerShell i am getting the below error. There are multiple recipients matching identity "MYDL1". Please specify a unique value.

When i use the below syntax from PowerShell, i can see the DL but i am unable to see it in GUI i.e from M365 admin center or Exchange Admin Center. please guide me.

Get-EXORecipient -ResultSize Unlimited | Where-Object {$_.EmailAddresses -match "SMTP:******@contoso.com"} | fl Name, RecipientType, EmailAddresses, DisplayName, Alias

Name           : MYDL1
RecipientType  : MailUniversalDistributionGroup
EmailAddresses : {SMTP:******@contoso.com}
DisplayName    : MYDL1
Alias          : mydl1

What is the syntax to delete the Distribution List.

Microsoft Exchange Online
Exchange Server
Exchange Server
A family of Microsoft client/server messaging and collaboration software.
1,439 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,739 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,785 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
2,221 questions
0 comments No comments
{count} votes

Accepted answer
  1. Xintao Qiao-MSFT 6,270 Reputation points Microsoft Vendor
    2025-02-05T09:37:49.5966667+00:00

    Hi, @Glenn Maxwell

    According to your error message, this means that there are multiple recipients (users, groups, or contacts) in the tenant that share attributes (e.g. Aliases, etc.) that match “MYDL1”. This can be verified by the output of the command you provided.

    You can try the following suggestions:

    1.Ensure that you specify a unique identifier when creating the distribution group. You can use different aliases or names to avoid conflicts.

    2.If you can see the distribution group in PowerShell but not in the GUI, it may be due to replication delays or visibility settings. You can check the visibility settings with the following command:

    Get-DistributionGroup -Identity "MYDL1" | Format-List DisplayName, HiddenFromAddressListsEnabled
    

    Make sure HiddenFromAddressListsEnabled is set to False.

    To unhide it, run:

    Set-DistributionGroup "MYDL1" -HiddenFromAddressListsEnabled $false
    

    3.Use PowerShell to delete the list of distribution group.

    Remove-DistributionGroup -Identity "MYDL1" -Confirm:$False
    

    More information can be found Remove-DistributionGroup (ExchangePowerShell) | Microsoft Learn


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".


0 additional answers

Sort by: Most helpful

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.