List of users have access on sending mail to groups

Anonymous
2023-06-06T05:12:17.69+00:00

Hi, is there any way to find who can send mail to email groups , distribution list etc . For now i have to go through each list and mailbox to retrieve the information , (the list of users who are privileged to send group emails (especially to internal employees l). Also mention if you have approval/request email for these assignments

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,763 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,683 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,728 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,827 questions
0 comments No comments
{count} votes

Accepted answer
  1. Aholic Liang-MSFT 13,871 Reputation points Microsoft Vendor
    2023-06-07T07:23:43.2566667+00:00

    Hi @ Abin Ullas

    You can refer to the following command to get the specified senders and rejected senders in all distribution groups, and export them as a csv for easy browsing:

    Get-DistributionGroup | Select-Object Name, ManagedBy, AcceptMessagesOnlyFromSendersOrMembers, RejectMessagesFromSendersOrMembers | Export-Csv -Path c:\specifiedsenders.csv

    2023-6-7-1


    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.


1 additional answer

Sort by: Most helpful
  1. Vasil Michev 111.6K Reputation points MVP
    2023-06-06T07:14:22.84+00:00

    As those settings are configured for each group individually, you have to query them on a per-group basis via the corresponding PowerShell cmdlets.

    1 person found this answer helpful.
    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.