unable to delete a DL.

Glenn Maxwell 12,336 Reputation points
2025-02-16T19:15:01.7366667+00:00

Hi All

I have a distribution list (DL) in Exchange Online. However, when I search for it in the Exchange Admin Center or Microsoft 365 Admin Center, I cannot find it. I can see the DL in PowerShell, but not in the GUI.

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

I wanted to delete the DL and recreate it again, when i try to delete from PowerShell i am getting the below error.

PS C:\windows\system32> Remove-DistributionGroup -Identity ******@contoso.com -Confirm:$False

Write-ErrorMessage : ||An Azure Active Directory call was made to keep object in sync between Azure Active Directory and Exchange Online. However, it failed. Detailed error message:
	Resource 'ab33f655-94g0-50b9-b07e-37d98c8gdd76' does not exist or one of its queried reference-property objects are not present. DualWrite (Graph) RequestId: 7df5dd4g-7cd2-5c34-9862-0994dg8f6090
The issue may be transient and please retry a couple of minutes later. If issue persists, please see exception members for more information.
At C:\Users\user1\AppData\Local\Temp\2\tmpEXO_o2pvha2s.1vd\tmpEXO_o2pvha2s.1vd.psm1:1189 char:13
+             Write-ErrorMessage $ErrorObject
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Remove-DistributionGroup], UnableToWriteToAadException
    + FullyQualifiedErrorId : [Server=DZYQT99NC0294,RequestId=457f191g-c503-4d10-7571-1796455688g8,TimeStamp=Sun, 16 Feb 2025 16:20:27 GMT],Write-ErrorMessage
 
Microsoft Exchange Online
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,756 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,798 questions
Microsoft Exchange
Microsoft Exchange
Microsoft messaging and collaboration software.
688 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,235 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce Jing-MSFT 8,565 Reputation points Microsoft Vendor
    2025-02-17T05:48:50.0166667+00:00

    Hi,@Glenn Maxwell

    Thanks for posting your question in the Microsoft Q&A forum.

    Based on the information you've provided, I've noticed a problem: the email addresses for your two commands don't match. In the second command, could you please confirm that the e-mail address is correct.

    User's image

    User's image

    Below is the solution to this problem even if the email addresses are consistent:

    1.check the Group in Azure Active Directory

    2.Check for Sync Errors:

    In the Azure portal, navigate to "Azure Active Directory" > "Azure AD Connect". Check for any sync errors and resolve them if found.


    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 to enable e-mail notifications if you want to receive the related email notification for this thread.

    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.