How to set O365 Groups AcceptMessagesOnlyFrom/AcceptMessagesOnlyFromDLMembers using powershell

Deleted
Not applicable

Hello All,

 

I am trying to set using Powershell

AcceptMessagesOnlyFromAcceptMessagesOnlyFromDLMembers

 

but there is no option to use above attributes when using Set-UnifiedGroup. 

 

how to achieve this!

 

Thanks,

Shashidhar

1 Reply

There's only a single parameter to control all "accept" settings -AcceptMessagesOnlyFromSendersOrMembers. You can add either a single entry or group, so all the functionality is there.