Setting AcceptMessagesOnlyFromSendersOrMembers for O365 group using Graph API

Occasional Visitor

I need to set the AcceptMessagesOnlyFromSendersOrMembers for all our groups using the Microsoft Graph module.  I wasn’t able to find any documentation on this online. Can I set this setting with update-mggroup? None of my testing has worked so hopefully someone can help.
Set-UnifiedGroup is not an option as I need to connect using certificate based authentication. 

1 Reply
You cannot use the Graph for this, only Exchange Online PowerShell. Alternatively, you can use the REST endpoint behind the "V3" cmdlets, but that's not an officially supported scenario. Refer to the second part of this article if you want to try it: https://www.michev.info/Blog/Post/3883/exchange-online-powershell-module-gets-rid-of-the-winrm-depen...