Use PowerShell and the following cmdlet/syntax:
Set-UnifiedGroup groupname -AcceptMessagesOnlyFromSendersOrMembers @{add="shared@domain.com"}
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have migrated from using Distribution Lists in Exchange Online. With the DL I was able to restrict who could send to that group using a Shared Mailbox as one of the possible senders.
I am trying to achieve the same function with a Microsoft 365 Group however it does not allow me to list a Shared Mailbox as a sender.
All objects are cloud based in the above. Is this by design? You can't list a Shared Mailbox as an allowed sender to a MS 365 Group?
The use case here is the HR Shared Mailbox sending an email to the All Company MS 365 Dynamic group.
Use PowerShell and the following cmdlet/syntax:
Set-UnifiedGroup groupname -AcceptMessagesOnlyFromSendersOrMembers @{add="shared@domain.com"}
Hi @Zac Avramides ,
I tested it in my environment and really can't select the O365 group, but you could use the Set-UnifiedGroup and the "standard" parameters to configure sender restrictions, just as @Vasil Michev said.
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.