remove user from DL

Glenn Maxwell 11,416 Reputation points
2024-04-08T00:10:59.08+00:00

Hi All

I am using exchange 2016 hybrid environment. i have a DL and it has many nested DLs, i can say 100 plus. one of the application is triggering emails and one of the user doesn't want to get those emails. user wants to get him removed from the DL. the user is not the member of parent DL. i have the message id shared by the user. using message id is it possible to know to which DL he is member of so that i can remove him from that DL.

Microsoft Exchange Online
Exchange Server
Exchange Server
A family of Microsoft client/server messaging and collaboration software.
1,298 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,535 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,635 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,105 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Jake Zhang-MSFT 5,835 Reputation points Microsoft Vendor
    2024-04-08T09:45:05.4766667+00:00

    Hello @Glenn Maxwell ,

    According to your problem description, in Exchange 2016, you can track messages to find out how they were routed and to which distribution lists (DLs) they were delivered, which can help you identify which DL the user is a part of that is causing them to receive the emails.

    I suggest you can follow the steps below:

    1.Use the ‘Get-MessageTrackingLog’ cmdlet to search for the message using the message ID provided by the user. Here's an example of the command you might run:

    Get-MessageTrackingLog -MessageId "<Message-ID-Here>" | Select-Object Timestamp, Source, EventId, MessageSubject, Sender, Recipients | Format-List

    1. This will show you a list of events for this message, including where it was routed and which recipients were resolved. Look for events with the EventId ‘Expand’ as these will show you when a DL was expanded to individual recipients.
    2. Once you've found the ‘Expand’ events, you can see to which DLs the message was sent and check the ‘Recipients’ field to see which members received the message. Look for the email address of the user who wants to be removed.
    3. After identifying the correct DL, use Exchange Management Console or Exchange Admin Center to remove the user from that specific DL.Inkedimage_LI

  2. Glenn Maxwell 11,416 Reputation points
    2024-04-08T15:48:09.8466667+00:00

    will the same syntax work for exchange online.


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.