Reader small image

You're reading from  Microsoft Office 365 Administration Cookbook

Product typeBook
Published inSep 2020
PublisherPackt
ISBN-139781838551230
Edition1st Edition
Right arrow
Author (1)
Nate Chamberlain
Nate Chamberlain
author image
Nate Chamberlain

Nate Chamberlain is a technical content creator, solution architect, and trainer, recognized as a 5-year Microsoft MVP. With a background in business analysis and systems administration, Nate has authored seven books and manages his blog. He holds an array of certifications, including M365 Enterprise Administrator Expert and Microsoft Power Platform App Maker Associate, and is a frequent speaker at user groups and conferences.
Read more about Nate Chamberlain

Right arrow

Preventing external senders from emailing internal Office 365 groups

This recipe will cover how an admin can prevent external parties from emailing internal Office 365 groups, which can have their own email address and shared mailbox.

Getting ready

You must be a global admin to perform these steps.

How to do it…

Update the -Identity parameter with the display name of the group you wish to change, and then run the following code snippet:

Set-UnifiedGroup -Identity "Test" -RequireSenderAuthenticationEnabled $true

How it works…

You've just protected an Office 365 group's inbox from unwanted external emails. Setting the -RequireSenderAuthenticationEnabled property on a group allows only internal users to send an email to that group. If external users send a message to the group's email address, that message will be rejected. Internal users are still able to send externally, unless other restrictions are put in place.

...
lock icon
The rest of the page is locked
Previous PageNext Chapter
You have been reading a chapter from
Microsoft Office 365 Administration Cookbook
Published in: Sep 2020Publisher: PacktISBN-13: 9781838551230

Author (1)

author image
Nate Chamberlain

Nate Chamberlain is a technical content creator, solution architect, and trainer, recognized as a 5-year Microsoft MVP. With a background in business analysis and systems administration, Nate has authored seven books and manages his blog. He holds an array of certifications, including M365 Enterprise Administrator Expert and Microsoft Power Platform App Maker Associate, and is a frequent speaker at user groups and conferences.
Read more about Nate Chamberlain