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 this information, I've tried Get-ExoRecipient and Get-Recipient, but neither of these seem to show the information.
Thanks
Brent
- You need to use the relevant cmdlet, either Get-DistributionGroup or Get-UnifiedGroup:
Get-UnifiedGroup | select Name, RequireSenderAuthenticationEnabled