Office 365 Group is a back end service for Microsoft Teams, Planner, and etc. By default Office 365 Groups are not configured to receive external messages either it is public or private group. But most of organizations using Teams, Planner and even standalone Office 365 Groups for external collaboration and conversation, so receiving mails from external domain users is inevitable.
We can use the Exchange Online Powershell cmdlet Set-UnifiedGroup to set the people outside the organization to send mail to a specific group. Before proceed, Connect Exchange Online Powershell module and use the following command to allow external sender.
Set-UnifiedGroup <group> -RequireSenderAuthenticationEnabled $false
Actually we need to set the attribute RequireSenderAuthenticationEnabled as false to remove the authentication check of external senders. You can use the below command if you want set this property for all the Office 365 Groups.
Get-UnifiedGroup | Set-UnifiedGroup -RequireSenderAuthenticationEnabled $false
You can use below command if you want allow guest users only for all public groups:
Get-UnifiedGroup | Where-Object {$_.AccessType -eq 'Public'} | Set-UnifiedGroup -RequireSenderAuthenticationEnabled $false
We can list all the groups with external sender access property using below powershell:
Get-UnifiedGroup | Select Alias,AccessType,RequireSenderAuthenticationEnabled
The below command lists only office 365 groups with guest sender access enabled.
Get-UnifiedGroup | Where-Object {$_.RequireSenderAuthenticationEnabled -eq $false} | Select Alias,RequireSenderAuthenticationEnabled
You can also enable via UI using Office 365 Admin center: Office 365 Portal -> Peoples -> Edit Group and set the option “Let people outside the organization email the group”
How long does it take to apply this change?. I changed the configuration using UI Office 365 but the group do not receive mails from external senders yet.
In my case, it works immediately. From sender side, if you received delivery failed (Undeliverable) message, then the setting is still not configured or it is not propagated to your Exchange part. If you get success response in sender side and the message not received in your inbox, then please check it in group's conversation list instead of group members' inbox.
i checked but still nothing how long excatly does it take to apply
As I said, in my case it works immediately (few mins). better you can raise a support ticket regarding this problem.
i still wait about 10 hour after applying and it still not works for external senders.
Anyone the same situation?
Yeah same here, IT doesn’t seem to be the correct property to set.
At least over PS, it would require to manually do it on the Portal UI
Not working in PS !
WARNING: The command completed successfully but no settings of ” have been modified.