Enable External Senders for Exchange Online Distribution Groups with PowerShell
Question details
Allow external senders to email one or multiple Exchange Online distribution groups.

- Product
- Exchange Online PowerShell
- Device & OS
- not provided
- Scenario
- An administrator wants to change sender authentication requirements for distribution groups.
- Observed behavior
- The selected distribution groups should accept messages from external senders, subject to other mail flow and security policies.
Use an account with permission to manage Exchange Online distribution groups and install the Exchange Online PowerShell module if needed. Review the groups you intend to change, because allowing external senders can increase unwanted mail.
Allow external senders for one distribution group
Use this method to change and verify the sender authentication setting for a specific group.
Open PowerShell and run Connect-ExchangeOnline. If the module is not installed, first run Install-Module ExchangeOnlineManagement -Scope CurrentUser, then connect and sign in with your administrator account.
Run Set-DistributionGroup -Identity "GroupName" -RequireSenderAuthenticationEnabled $false, replacing GroupName with the group's name or email address.
Run Get-DistributionGroup -Identity "GroupName" | Format-List DisplayName,RequireSenderAuthenticationEnabled. Confirm that RequireSenderAuthenticationEnabled is False.

Allow external senders for all distribution groups
Use this method when the change is appropriate for every distribution group returned by Exchange Online.
Use WPS Office for documents alongside Exchange Online
WPS Office is a free, lightweight alternative for everyday document work, with a familiar interface and Microsoft Office format compatibility to support an easy transition. Exchange Online administration still requires Microsoft's tools.

Frequently Asked Questions
How can I check whether a distribution group accepts external senders?
In Exchange Online PowerShell, run Get-DistributionGroup -Identity "GroupName" | Format-List RequireSenderAuthenticationEnabled. A value of False means sender authentication is not required, although other policies can still affect delivery.
How do I restrict a group to authenticated senders again?
Run Set-DistributionGroup -Identity "GroupName" -RequireSenderAuthenticationEnabled $true in Exchange Online PowerShell.
Does the bulk command include Microsoft 365 groups?
No. Get-DistributionGroup manages distribution groups and mail-enabled security groups, not Microsoft 365 groups or dynamic distribution groups.
Why use ResultSize Unlimited in the bulk command?
Get-DistributionGroup has a default result limit. Adding -ResultSize Unlimited retrieves all matching groups rather than only the default number.




