Forum Discussion
BrentStobbs
Nov 27, 2022Brass Contributor
Powershell command to get Microsoft 365 Groups that Allow External Senders
Hi, I know I have a few Microsoft 365 Groups that allow external parties to e-mail them, but I cannot remember which groups. Does anyone know the command or script in powershell to retrieve ...
VasilMichev
Nov 28, 2022MVP
You need to use the relevant cmdlet, either Get-DistributionGroup or Get-UnifiedGroup:
Get-UnifiedGroup | select Name, RequireSenderAuthenticationEnabled
Get-UnifiedGroup | select Name, RequireSenderAuthenticationEnabled