Powershell command to get Microsoft 365 Groups that Allow External Senders

Brass Contributor



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.





1 Reply
You need to use the relevant cmdlet, either Get-DistributionGroup or Get-UnifiedGroup:

Get-UnifiedGroup | select Name, RequireSenderAuthenticationEnabled