Specified senders for a mail-enabled security

Springthrough 0 Reputation points
2023-03-23T20:21:32.29+00:00

I have a task to restrict who can send to a mail enabled security group that is on-prem managed.

I used the "Specified Sender" option on a cloud distro list but I need an equivalent for that for the Security Group on prem. Or even just blocking a user from sending to it will do.

I already tried Mailflow rules, with no results.

Thanks

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
4,778 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,470 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,226 Reputation points
    2023-03-24T12:27:05.04+00:00

    Hello

    Thank you for your question and reaching out. I can understand you are having query\issues related to specify sender for email enabled security group.

    You can use below Powershell commands to Specific senders

    Set-DistributionGroup -identity "MyGroup" -AcceptMessagesOnlyFromSendersOrMembers “MyGroup ”,”MyGroup2”

    --If the reply is helpful, please Upvote and Accept as answer--

    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.