<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Block Users From Sending to External Recipients Archives - the Sysadmin Channel</title>
	<atom:link href="https://thesysadminchannel.com/tag/block-users-from-sending-to-external-recipients/feed/" rel="self" type="application/rss+xml" />
	<link>https://thesysadminchannel.com/tag/block-users-from-sending-to-external-recipients/</link>
	<description>Documenting My Life as a System Administrator</description>
	<lastBuildDate>Sat, 02 Jul 2022 22:33:05 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>
<site xmlns="com-wordpress:feed-additions:1">144174110</site>	<item>
		<title>Block Users From Sending to External Recipients in Office 365</title>
		<link>https://thesysadminchannel.com/block-users-from-sending-to-external-recipients-in-office-365/</link>
					<comments>https://thesysadminchannel.com/block-users-from-sending-to-external-recipients-in-office-365/#respond</comments>
		
		<dc:creator><![CDATA[Paul Contreras]]></dc:creator>
		<pubDate>Sat, 02 Jul 2022 22:33:05 +0000</pubDate>
				<category><![CDATA[Exchange Online]]></category>
		<category><![CDATA[Block Users From Sending to External Recipients]]></category>
		<guid isPermaLink="false">https://thesysadminchannel.com/?p=4267</guid>

					<description><![CDATA[<p>Have you ever wondered if it&#8217;s possible to block users from sending to external recipients in Office 365? If you have, just know that this can be done using Exchange Transport Rules, ETR for short. Today we&#8217;re going to cover&#8230; <a href="https://thesysadminchannel.com/block-users-from-sending-to-external-recipients-in-office-365/" class="more-link">Continue Reading <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a href="https://thesysadminchannel.com/block-users-from-sending-to-external-recipients-in-office-365/">Block Users From Sending to External Recipients in Office 365</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Have you ever wondered if it&#8217;s possible to block users from sending to external recipients in Office 365?  If you have, just know that this can be done using Exchange Transport Rules, ETR for short.  Today we&#8217;re going to cover the steps on how restrict emails to internal users only for a specific set of users or groups.</p>
<div id="tableofcontents">
<h2>Table Of Contents</h2>
<ul>
<li><a href="#requirements">Requirements</a></li>
<li><a href="#blockexternalrecipients">Block Users From Sending to External Recipients</a></li>
<li><a href="#testrule">Testing The Exchange Transport Rule</a></li>
<li><a href="#conclusion">Conclusion</a></li>
</ul>
</div>
<div id="requirements" style="scroll-margin-top: 15px;"></div>
<h2>Requirements</h2>
<p>If this is something we are considering than let&#8217;s take a look at the options we have available to us.  As mentioned, the best (and most practical) way to handle this task is to do so via a transport rule.  Furthermore, let&#8217;s list the requirements here.</p>
<ul>
<li>Exchange Administrator Role</li>
<li>Exchange Online with a valid mail license</li>
</ul>
<p>&nbsp;</p>
<div id="blockexternalrecipients" style="scroll-margin-top: 15px;"></div>
<h2>Block Users From Sending to External Recipients in Office 365</h2>
<p>Regarding use cases, I&#8217;m sure someone somewhere can justify a good reason why we would want to block mail to an external domain like Gmail, yahoo or anyone outside of your domain.  Perhaps they want to prevent someone from leaking information, whatever the reason may be,  we&#8217;ll show you how to get this done.<br />
&nbsp;</p>
<p>First we&#8217;ll want to open a browser of your choice.</p>
<ul>
<li>Navigate to Exchange Admin Center</li>
<li>Expand Mail Flow -> Rules</li>
<ul>
<li>Direct Link: <a href="https://admin.exchange.microsoft.com/#/transportrules" rel="noopener" target="_blank">https://admin.exchange.microsoft.com/#/transportrules</a></li>
</ul>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2022/06/Exchange-Transport-Rule.png" target="_blank" rel="noopener"><img fetchpriority="high" decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2022/06/Exchange-Transport-Rule.png" alt="Exchange Transport Rule" width="966" height="383" class="aligncenter size-full wp-image-4288" srcset="https://thesysadminchannel.com/wp-content/uploads/2022/06/Exchange-Transport-Rule.png?v=1656635890 966w, https://thesysadminchannel.com/wp-content/uploads/2022/06/Exchange-Transport-Rule-768x304.png?v=1656635890 768w" sizes="(max-width: 966px) 100vw, 966px" /></a><br />
&nbsp;</p>
<ul>
<li>Next Click on the &#8220;+&#8221; to create a new rule</li>
<li>Select Create a new rule</li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2022/06/Create-new-transport-rule.png" target="_blank" rel="noopener"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2022/06/Create-new-transport-rule.png" alt="Create new transport rule" width="855" height="465" class="aligncenter size-full wp-image-4290" srcset="https://thesysadminchannel.com/wp-content/uploads/2022/06/Create-new-transport-rule.png?v=1656636125 855w, https://thesysadminchannel.com/wp-content/uploads/2022/06/Create-new-transport-rule-768x418.png?v=1656636125 768w" sizes="(max-width: 855px) 100vw, 855px" /></a><br />
&nbsp;</p>
<ul>
<li>Name the rule <strong>Block Sending to External Domains</strong></li>
<li>Scroll down a bit and click on the <strong>more options</strong> link</li>
<li>Under apply this rule if dropdown, select <strong>the recipient</strong>.. -> is <strong>external/internal</strong> -> select <strong>outside the organization</strong></li>
<li>Click Add Condition</li>
<li>Under the next and statement, select <strong>the sender</strong>.. -> is <strong>a member of this group</strong> -> select <strong>a mail-enabled security group</strong></li>
<ul>
<li>We have the option to choose individual users but it&#8217;s always best to use groups for easier administration</li>
</ul>
<li>Under <strong>do the following</strong> -> select <strong>block this message</strong> -> select <strong>delete the message without notifying anyone</strong></li>
<li>Apply exceptions as needeed</li>
</ul>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2022/07/Transport-Rule.png" target="_blank" rel="noopener"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2022/07/Transport-Rule.png" alt="Transport Rule" width="983" height="613" class="aligncenter size-full wp-image-4295" srcset="https://thesysadminchannel.com/wp-content/uploads/2022/07/Transport-Rule.png?v=1656797306 983w, https://thesysadminchannel.com/wp-content/uploads/2022/07/Transport-Rule-768x479.png?v=1656797306 768w" sizes="(max-width: 983px) 100vw, 983px" /></a><br />
&nbsp;</p>
<div id="testrule" style="scroll-margin-top: 15px;"></div>
<h2>Testing The Exchange Transport Rule</h2>
<p>Now that we have the rule in place, we should be able to test that it&#8217;s actually working.  To do that, we&#8217;ll send an email to both an external domain and to someone in our tenant.<br />
&nbsp;</p>
<p>In this instance, we can run a simple message trace to see the status and the event type.</p>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2022/07/Testing-Transport-Rule.png" target="_blank" rel="noopener"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2022/07/Testing-Transport-Rule.png" alt="Testing Transport Rule" width="968" height="280" class="aligncenter size-full wp-image-4298" srcset="https://thesysadminchannel.com/wp-content/uploads/2022/07/Testing-Transport-Rule.png?v=1656800334 968w, https://thesysadminchannel.com/wp-content/uploads/2022/07/Testing-Transport-Rule-768x222.png?v=1656800334 768w" sizes="(max-width: 968px) 100vw, 968px" /></a></p>
<p><a href="https://thesysadminchannel.com/wp-content/uploads/2022/07/Testing-Transport-Rule-Detail.png" target="_blank" rel="noopener"><img decoding="async" src="https://thesysadminchannel.com/wp-content/uploads/2022/07/Testing-Transport-Rule-Detail.png" alt="Testing Transport Rule Detail" width="995" height="365" class="aligncenter size-full wp-image-4299" srcset="https://thesysadminchannel.com/wp-content/uploads/2022/07/Testing-Transport-Rule-Detail.png?v=1656800361 995w, https://thesysadminchannel.com/wp-content/uploads/2022/07/Testing-Transport-Rule-Detail-768x282.png?v=1656800361 768w" sizes="(max-width: 995px) 100vw, 995px" /></a></p>
<div id="conclusion" style="scroll-margin-top: 15px;"></div>
<h2>Conclusion</h2>
<p>Hopefully this article was informative and we were able to show you how to block users from sending to external recipients.  We showed you how to create an Exchange Transport Rule as well as confirming that the actual email was being blocked at the Exchange level.<br />
&nbsp;</p>
<p>If you&#8217;re looking to implement something like this, just be sure that you have the right parameters in place.  If this is not configured correctly, you can imagine the mayhem you&#8217;d cause by blocking all outbound emails.<br />
&nbsp;</p>
<p>Finally, if you&#8217;re looking for more articles on Exchange, be sure to check out <a href="https://thesysadminchannel.com/use-conditional-access-to-block-legacy-authentication-in-office-365/" rel="noopener" target="_blank">how to block legacy authentication in Office 365</a></p>
<p>The post <a href="https://thesysadminchannel.com/block-users-from-sending-to-external-recipients-in-office-365/">Block Users From Sending to External Recipients in Office 365</a> appeared first on <a href="https://thesysadminchannel.com">the Sysadmin Channel</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://thesysadminchannel.com/block-users-from-sending-to-external-recipients-in-office-365/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">4267</post-id>	</item>
	</channel>
</rss>
