<?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>Office 365 | KC's Blog</title>
	<atom:link href="https://www.kjctech.net/tag/office-365/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.kjctech.net</link>
	<description></description>
	<lastBuildDate>Mon, 22 May 2023 05:41:27 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/cropped-KC-Logo.png?fit=32%2C32&#038;ssl=1</url>
	<title>Office 365 | KC's Blog</title>
	<link>https://www.kjctech.net</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">24634607</site>	<item>
		<title>Microsoft 365 Restrict Sending Emails to Certain Distribution Groups</title>
		<link>https://www.kjctech.net/microsoft-365-restrict-sending-emails-to-certain-distribution-groups/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=microsoft-365-restrict-sending-emails-to-certain-distribution-groups</link>
					<comments>https://www.kjctech.net/microsoft-365-restrict-sending-emails-to-certain-distribution-groups/#respond</comments>
		
		<dc:creator><![CDATA[Kent Chen]]></dc:creator>
		<pubDate>Tue, 09 May 2023 05:39:01 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Office 365]]></category>
		<guid isPermaLink="false">https://www.kjctech.net/?p=5052</guid>

					<description><![CDATA[<p>Distribution groups are meant to be distributing messages to their members. But for whatever reason, if you don&#8217;t want anyone but only certain people to be able to send emails to those groups, here is something to try. For regular Microsoft 365 groups, you can go to the Exchange dashboard, open the group, switch to the Settings tab and click [&#8230;]</p>
The post <a href="https://www.kjctech.net/microsoft-365-restrict-sending-emails-to-certain-distribution-groups/">Microsoft 365 Restrict Sending Emails to Certain Distribution Groups</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></description>
										<content:encoded><![CDATA[<p>Distribution groups are meant to be distributing messages to their members. But for whatever reason, if you don&#8217;t want anyone but only certain people to be able to send emails to those groups, here is something to try.</p>



<p>For regular Microsoft 365 groups, you can go to the Exchange dashboard, open the group, switch to the <strong>Settings</strong> tab and click the <strong>Edit delivery management</strong> link under the Delivery Management section.</p>



<figure class="wp-block-image size-full is-resized"><img data-recalc-dims="1" fetchpriority="high" decoding="async" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/05/image.png?resize=511%2C605&#038;ssl=1" alt="" class="wp-image-5053" width="511" height="605" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/05/image.png?w=511&amp;ssl=1 511w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/05/image.png?resize=450%2C533&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/05/image.png?resize=250%2C296&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/05/image.png?resize=360%2C426&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/05/image.png?resize=100%2C118&amp;ssl=1 100w" sizes="(max-width: 511px) 100vw, 511px" /></figure>



<p>Then select any senders who are granted to send emails to the group.</p>



<figure class="wp-block-image size-full"><img data-recalc-dims="1" decoding="async" width="481" height="488" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/05/image-1.png?resize=481%2C488&#038;ssl=1" alt="" class="wp-image-5054" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/05/image-1.png?w=481&amp;ssl=1 481w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/05/image-1.png?resize=450%2C457&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/05/image-1.png?resize=250%2C254&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/05/image-1.png?resize=360%2C365&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/05/image-1.png?resize=100%2C101&amp;ssl=1 100w" sizes="(max-width: 481px) 100vw, 481px" /></figure>



<p>Pretty straightforward, until you want to change a group that is managed by your on-premise Active Directory.</p>



<figure class="wp-block-image size-full"><img data-recalc-dims="1" decoding="async" width="581" height="325" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/05/image-2.png?resize=581%2C325&#038;ssl=1" alt="" class="wp-image-5055" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/05/image-2.png?w=581&amp;ssl=1 581w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/05/image-2.png?resize=450%2C252&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/05/image-2.png?resize=250%2C140&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/05/image-2.png?resize=520%2C291&amp;ssl=1 520w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/05/image-2.png?resize=360%2C201&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/05/image-2.png?resize=100%2C56&amp;ssl=1 100w" sizes="(max-width: 581px) 100vw, 581px" /></figure>



<p>Now what to do? You do that from Active Directory users &amp; groups, obviously.</p>



<p>First, make sure you have <strong>Advanced Features</strong> checked under the View menu. Then, open up the distribution group&#8217;s properties, and go to the <strong>Attribute Editor</strong> tab.</p>



<figure class="wp-block-image size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="400" height="473" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/05/image-4.png?resize=400%2C473&#038;ssl=1" alt="" class="wp-image-5057" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/05/image-4.png?w=400&amp;ssl=1 400w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/05/image-4.png?resize=250%2C296&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/05/image-4.png?resize=360%2C426&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/05/image-4.png?resize=100%2C118&amp;ssl=1 100w" sizes="auto, (max-width: 400px) 100vw, 400px" /></figure>



<p>And here is the list of attributes you can update to meet your needs.</p>



<ul class="wp-block-list">
<li>authOrig &#8211; only these users can send to the distribution group</li>



<li>unauthOrig &#8211; anyone but these users can send to the distribution group</li>



<li>dLMemRejctPerms &#8211; anyone but members of these distribution groups can send to this distribution group</li>



<li>dLmemSubmitPerms &#8211; no one but members of these distribution groups can send to this distribution group</li>
</ul>



<p>Sounds awesome, but the trick is, these are Exchange-specific attributes, meaning that if you don&#8217;t or never had an Exchange server installed in the same Active Directory domain, you most likely will get an error message like this when you try to update one of these attributes.</p>



<figure class="wp-block-image size-full is-resized"><img data-recalc-dims="1" loading="lazy" decoding="async" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/05/image-5.png?resize=391%2C152&#038;ssl=1" alt="" class="wp-image-5058" width="391" height="152" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/05/image-5.png?w=391&amp;ssl=1 391w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/05/image-5.png?resize=250%2C97&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/05/image-5.png?resize=360%2C140&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/05/image-5.png?resize=100%2C39&amp;ssl=1 100w" sizes="auto, (max-width: 391px) 100vw, 391px" /></figure>



<p>The solution is, according to this <a href="https://learn.microsoft.com/en-us/archive/blogs/hot/error-when-you-try-to-restrict-senders-to-send-message-to-specified-distribution-group-in-on-premise-organization-that-has-no-exchange-server" target="_blank" rel="noopener" title="">Microsoft post</a>, to install the Exchange schema extension on the on-premise AD server. And you will need to obtain a copy of the Exchange Server 2010 DVD to do so.</p>



<p>Well, that&#8217;s a bit too much. At this point, I&#8217;d take a different route, changing these distribution groups from AD-synced to Microsoft 365 native. Easier to handle without worrying about the other side effects.</p>The post <a href="https://www.kjctech.net/microsoft-365-restrict-sending-emails-to-certain-distribution-groups/">Microsoft 365 Restrict Sending Emails to Certain Distribution Groups</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.kjctech.net/microsoft-365-restrict-sending-emails-to-certain-distribution-groups/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">5052</post-id>	</item>
		<item>
		<title>Microsoft 365 &#8211; Migrate Emails from One Mailbox to Another</title>
		<link>https://www.kjctech.net/microsoft-365-migrate-emails-from-one-mailbox-to-another/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=microsoft-365-migrate-emails-from-one-mailbox-to-another</link>
					<comments>https://www.kjctech.net/microsoft-365-migrate-emails-from-one-mailbox-to-another/#respond</comments>
		
		<dc:creator><![CDATA[Kent Chen]]></dc:creator>
		<pubDate>Sat, 18 Sep 2021 06:52:08 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Microsoft 365]]></category>
		<category><![CDATA[Office 365]]></category>
		<guid isPermaLink="false">https://www.kjctech.net/?p=4664</guid>

					<description><![CDATA[<p>When it comes to moving emails from one mailbox to another, the first thing that comes to my mind is to use the ugly PST file. Export the emails from one mailbox and then import them into another, via Outlook. Truth be told, while it&#8217;s a feasible option, it&#8217;s daunting as hell. A much better option is to use PowerShell [&#8230;]</p>
The post <a href="https://www.kjctech.net/microsoft-365-migrate-emails-from-one-mailbox-to-another/">Microsoft 365 – Migrate Emails from One Mailbox to Another</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></description>
										<content:encoded><![CDATA[<p>When it comes to moving emails from one mailbox to another, the first thing that comes to my mind is to use the ugly PST file. Export the emails from one mailbox and then import them into another, via Outlook. Truth be told, while it&#8217;s a feasible option, it&#8217;s daunting as hell.</p>



<p>A much better option is to use PowerShell and let the server do all the work. And one cmdlet that just does the job is <em>Search-Mailbox.</em></p>



<p>Here is how it goes.</p>



<p>First of all, connect to Exchange Online.</p>



<pre class="wp-block-preformatted">Connect-ExchangeOnline</pre>



<p>An Office 365 login window pops up, sign in with an account that is a member of the Discovery Management role. You can log in as a Global Admin and go to Exchange &gt; Permissions to edit the Discovery Management role.</p>



<p>Then, to move all emails from one mailbox to another,</p>



<pre class="wp-block-preformatted">Search-Mailbox $sourcemailbox -TagertMailbox $targetmailbox -TargetFolderName $targetfoldername</pre>



<p>All three parameters are required. Messages will be copied to the target mailbox under the specified folder name. The structure goes like this:</p>



<pre class="wp-block-preformatted">TargetFolderName\Date of the search\Primary Mailbox\Inbox</pre>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="290" height="204" src="//i0.wp.com/kjctech.net/wp-content/uploads/2021/09/image.png" alt="" class="wp-image-4665" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/09/image.png?w=290&amp;ssl=1 290w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/09/image.png?resize=250%2C176&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/09/image.png?resize=100%2C70&amp;ssl=1 100w" sizes="auto, (max-width: 290px) 100vw, 290px" /></figure>



<p>It works like a charm. However, there is one limitation. It only returns 10,000 results per mailbox. So, for a larger mailbox or a larger amount of messages to move around, use the <em><a href="https://docs.microsoft.com/en-us/powershell/module/exchange/new-mailboxsearch?view=exchange-ps" target="_blank" rel="noreferrer noopener">New-ComplianceSearch </a></em>instead, which is a lot more complex.</p>



<p>If you want to see how big the mailbox is you are dealing with, use the -EstimateResultOnly switch.</p>



<pre class="wp-block-preformatted">Search-Mailbox $sourcemailbox -EstimateResultOnly</pre>



<p>You can also use the -SearchQuery switch to narrow down the messages that you want to migrate, such as subject line, To or From.</p>



<pre class="wp-block-preformatted">Search-Mailbox $sourcemailbox -SearchQuery "Subject: Away Today"</pre>



<p>And if you need to do a dry run, use -LogOnly.</p>



<p>Need very detailed log for the operation? -LogLevel Full is your friend.</p>



<p>Lastly, to make this all happen, you need to be part of the Discovery Management role in Office 365.</p>The post <a href="https://www.kjctech.net/microsoft-365-migrate-emails-from-one-mailbox-to-another/">Microsoft 365 – Migrate Emails from One Mailbox to Another</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.kjctech.net/microsoft-365-migrate-emails-from-one-mailbox-to-another/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">4664</post-id>	</item>
		<item>
		<title>Blocking Attachments based on the File Extension on Microsoft 365</title>
		<link>https://www.kjctech.net/blocking-attachments-based-on-the-file-extension-on-microsoft-365/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=blocking-attachments-based-on-the-file-extension-on-microsoft-365</link>
					<comments>https://www.kjctech.net/blocking-attachments-based-on-the-file-extension-on-microsoft-365/#comments</comments>
		
		<dc:creator><![CDATA[Kent Chen]]></dc:creator>
		<pubDate>Mon, 10 May 2021 06:08:53 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[email security]]></category>
		<category><![CDATA[Office 365]]></category>
		<guid isPermaLink="false">https://www.kjctech.net/?p=4617</guid>

					<description><![CDATA[<p>After getting a lot of phishing emails with suspicious HTML attachments, I was scared and decided to pull the trigger to get them blocked on the server level so no one will see them in their Outlook inbox. Sign into Microsoft 365 Portal and go to Exchange Admin Center. Click Mail Flow on the left-side pane, and click the little [&#8230;]</p>
The post <a href="https://www.kjctech.net/blocking-attachments-based-on-the-file-extension-on-microsoft-365/">Blocking Attachments based on the File Extension on Microsoft 365</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></description>
										<content:encoded><![CDATA[<p>After getting a lot of phishing emails with suspicious HTML attachments, I was scared and decided to pull the trigger to get them blocked on the server level so no one will see them in their Outlook inbox.</p>



<p>Sign into <a href="https://admin.microsoft.com/" target="_blank" rel="noreferrer noopener">Microsoft 365 Portal</a> and go to Exchange Admin Center.</p>



<p>Click Mail Flow on the left-side pane, and click the little + icon to add a new rule.</p>



<p>Name the Rule, select the following rule as the condition,</p>



<pre class="wp-block-preformatted">Any attachment's file extension matches...'html' or 'htm'</pre>



<p>Pick on the following actions as it fits your goal.</p>



<ul class="wp-block-list"><li>Forward the message for approval</li><li>Redirect the message to</li><li>Block the message</li><li>ect.</li></ul>



<p>If you only want to apply the rule to incoming messages, you can add an exception to allow outgoing emails with the same attachment.</p>



<p>Here is one example of the rule I set in place.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="600" height="525" src="//i0.wp.com/kjctech.net/wp-content/uploads/2021/05/image-4-600x525.png" alt="" class="wp-image-4618" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/05/image-4.png?resize=600%2C525&amp;ssl=1 600w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/05/image-4.png?resize=450%2C394&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/05/image-4.png?resize=250%2C219&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/05/image-4.png?resize=768%2C672&amp;ssl=1 768w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/05/image-4.png?resize=700%2C612&amp;ssl=1 700w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/05/image-4.png?resize=520%2C455&amp;ssl=1 520w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/05/image-4.png?resize=360%2C315&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/05/image-4.png?resize=100%2C87&amp;ssl=1 100w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/05/image-4.png?w=783&amp;ssl=1 783w" sizes="auto, (max-width: 600px) 100vw, 600px" /></figure>



<p>If you are using the Approval approach, you will get emails containing any HTML files for you to approve, like below.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="549" height="189" src="//i0.wp.com/kjctech.net/wp-content/uploads/2021/05/image-5.png" alt="" class="wp-image-4619" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/05/image-5.png?w=549&amp;ssl=1 549w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/05/image-5.png?resize=450%2C155&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/05/image-5.png?resize=250%2C86&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/05/image-5.png?resize=520%2C179&amp;ssl=1 520w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/05/image-5.png?resize=360%2C124&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/05/image-5.png?resize=100%2C34&amp;ssl=1 100w" sizes="auto, (max-width: 549px) 100vw, 549px" /></figure>



<p>As you can tell, it&#8217;s already caught one.</p>The post <a href="https://www.kjctech.net/blocking-attachments-based-on-the-file-extension-on-microsoft-365/">Blocking Attachments based on the File Extension on Microsoft 365</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.kjctech.net/blocking-attachments-based-on-the-file-extension-on-microsoft-365/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">4617</post-id>	</item>
		<item>
		<title>Hiding An Azure AD Sync&#8217;d Group or User from Global Address</title>
		<link>https://www.kjctech.net/hiding-an-azure-ad-syncd-group-or-user-from-global-address/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=hiding-an-azure-ad-syncd-group-or-user-from-global-address</link>
					<comments>https://www.kjctech.net/hiding-an-azure-ad-syncd-group-or-user-from-global-address/#respond</comments>
		
		<dc:creator><![CDATA[Kent Chen]]></dc:creator>
		<pubDate>Thu, 15 Apr 2021 04:04:55 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Azure AD Connect]]></category>
		<category><![CDATA[Office 365]]></category>
		<guid isPermaLink="false">https://www.kjctech.net/?p=4603</guid>

					<description><![CDATA[<p>I have a Azure AD Synced group that I don&#8217;t want people to see from the address book. Since it&#8217;s a synced account I can&#8217;t do much in Office 365 console once it&#8217;s synced. So how can I do that? Turns out, it&#8217;s pretty easy and straightforward. Open Active Directory Users and Computers on your computer, make sure Advanced Features [&#8230;]</p>
The post <a href="https://www.kjctech.net/hiding-an-azure-ad-syncd-group-or-user-from-global-address/">Hiding An Azure AD Sync’d Group or User from Global Address</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></description>
										<content:encoded><![CDATA[<p>I have a Azure AD Synced group that I don&#8217;t want people to see from the address book. Since it&#8217;s a synced account I can&#8217;t do much in Office 365 console once it&#8217;s synced.</p>



<p>So how can I do that? Turns out, it&#8217;s pretty easy and straightforward.</p>



<p>Open Active Directory Users and Computers on your computer, make sure <strong>Advanced Features</strong> is checked under View tab.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="485" height="269" src="//i0.wp.com/kjctech.net/wp-content/uploads/2021/04/image-2.png" alt="" class="wp-image-4604" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/04/image-2.png?w=485&amp;ssl=1 485w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/04/image-2.png?resize=450%2C250&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/04/image-2.png?resize=250%2C139&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/04/image-2.png?resize=360%2C200&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/04/image-2.png?resize=100%2C55&amp;ssl=1 100w" sizes="auto, (max-width: 485px) 100vw, 485px" /></figure>



<p>Find the account, double-click it, and go to the Attribute Editor tab. Scroll down until you find one attribute called msExchHideFromAddressLists. Double-click it and set the value as True.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="452" height="452" src="//i0.wp.com/kjctech.net/wp-content/uploads/2021/04/image-3.png" alt="" class="wp-image-4605" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/04/image-3.png?w=452&amp;ssl=1 452w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/04/image-3.png?resize=450%2C450&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/04/image-3.png?resize=250%2C250&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/04/image-3.png?resize=360%2C360&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/04/image-3.png?resize=100%2C100&amp;ssl=1 100w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/04/image-3.png?resize=150%2C150&amp;ssl=1 150w" sizes="auto, (max-width: 452px) 100vw, 452px" /></figure>



<p>And then wait until the next sync cycle finishes before seeing the group or user disappearing from the list.</p>The post <a href="https://www.kjctech.net/hiding-an-azure-ad-syncd-group-or-user-from-global-address/">Hiding An Azure AD Sync’d Group or User from Global Address</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.kjctech.net/hiding-an-azure-ad-syncd-group-or-user-from-global-address/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">4603</post-id>	</item>
		<item>
		<title>Sharing Calendar with Private Item Viewing Rights in Office 365</title>
		<link>https://www.kjctech.net/sharing-calendar-with-private-item-viewing-rights-in-office-365/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sharing-calendar-with-private-item-viewing-rights-in-office-365</link>
					<comments>https://www.kjctech.net/sharing-calendar-with-private-item-viewing-rights-in-office-365/#respond</comments>
		
		<dc:creator><![CDATA[Kent Chen]]></dc:creator>
		<pubDate>Mon, 08 Mar 2021 06:14:14 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Office 365]]></category>
		<category><![CDATA[powershell]]></category>
		<guid isPermaLink="false">https://www.kjctech.net/?p=4569</guid>

					<description><![CDATA[<p>Normally, sharing a calendar with others doesn&#8217;t provide them the privilege to view the private appointments you put in your calendar. But if you do, you will also need to give the others the delegates access. preferably with automatically send a message unchecked so the delegates don&#8217;t get all the unnecessary notifications. You can also accomplish the same with PowerShell, [&#8230;]</p>
The post <a href="https://www.kjctech.net/sharing-calendar-with-private-item-viewing-rights-in-office-365/">Sharing Calendar with Private Item Viewing Rights in Office 365</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></description>
										<content:encoded><![CDATA[<p>Normally, sharing a calendar with others doesn&#8217;t provide them the privilege to view the private appointments you put in your calendar. But if you do, you will also need to give the others the delegates access. preferably with automatically send a message unchecked so the delegates don&#8217;t get all the unnecessary notifications.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="426" height="341" src="//i0.wp.com/kjctech.net/wp-content/uploads/2021/03/image.png" alt="" class="wp-image-4570" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/03/image.png?w=426&amp;ssl=1 426w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/03/image.png?resize=250%2C200&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/03/image.png?resize=360%2C288&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/03/image.png?resize=100%2C80&amp;ssl=1 100w" sizes="auto, (max-width: 426px) 100vw, 426px" /></figure>



<p>You can also accomplish the same with PowerShell, which is my preferred way to change settings like this these days.</p>



<p>First, as always, let&#8217;s connect to the Exchange Online,</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: powershell; title: Code example:; notranslate">
$username = 'email-address'
$pwd = ConvertTo-SecureString 'password' -asplaintext -force;
$cred = New-Object -TypeName PSCredential -argumentlist $username, $pwd

$getsessions = Get-PSSession | Where-Object {$_.State -eq 'Opened'}

if (!$getsessions){
    Connect-ExchangeOnline -Credential $cred
}
</pre></div>


<p>Then, use the <em>Add-MailboxFolderPermission</em> to assign access rights.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: Code example:; notranslate">
$user1 = 'emailaddress1:\calendar'
$user2 = 'emailaddress2'
Add-MailboxFolderPermission -Identify $user1 -User $user2 -AccessRights Editor -SharingPermissionFlags Delegate,CanViewPrivateItems -SendNotificationToUser $false
</pre></div>


<p>That will give the $user2 the Editor access to $user1&#8217;s calendar with the privilege to view Private items as well. </p>The post <a href="https://www.kjctech.net/sharing-calendar-with-private-item-viewing-rights-in-office-365/">Sharing Calendar with Private Item Viewing Rights in Office 365</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.kjctech.net/sharing-calendar-with-private-item-viewing-rights-in-office-365/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">4569</post-id>	</item>
		<item>
		<title>Why Office 365 GPO Settings Don&#8217;t Apply? And What To Do?</title>
		<link>https://www.kjctech.net/why-office-365-gpo-settings-dont-apply-and-what-to-do/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=why-office-365-gpo-settings-dont-apply-and-what-to-do</link>
					<comments>https://www.kjctech.net/why-office-365-gpo-settings-dont-apply-and-what-to-do/#respond</comments>
		
		<dc:creator><![CDATA[Kent Chen]]></dc:creator>
		<pubDate>Wed, 23 Dec 2020 19:28:57 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[group policy]]></category>
		<category><![CDATA[Office 365]]></category>
		<guid isPermaLink="false">https://www.kjctech.net/?p=4548</guid>

					<description><![CDATA[<p>I have a bunch of group policy settings that need to be enforced on a lot of new Office 365 installations. I excitedly downloaded the Administrative Template files (ADMX/ADML) package, uploaded them to the Active Directory&#8217;s PolicyDefinitions folder, and opened up Group Policy Management, put in all the policies I want to push out. Guess what? Out of the 6 [&#8230;]</p>
The post <a href="https://www.kjctech.net/why-office-365-gpo-settings-dont-apply-and-what-to-do/">Why Office 365 GPO Settings Don’t Apply? And What To Do?</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></description>
										<content:encoded><![CDATA[<p>I have a bunch of group policy settings that need to be enforced on a lot of new Office 365 installations. I excitedly downloaded the <a href="https://www.microsoft.com/en-us/download/details.aspx?id=49030" target="_blank" rel="noreferrer noopener">Administrative Template files (ADMX/ADML)</a> package, uploaded them to the Active Directory&#8217;s PolicyDefinitions folder, and opened up Group Policy Management, put in all the policies I want to push out.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="600" height="377" src="//i0.wp.com/kjctech.net/wp-content/uploads/2020/12/image-600x377.png" alt="" class="wp-image-4550" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/12/image.png?resize=600%2C377&amp;ssl=1 600w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/12/image.png?resize=450%2C283&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/12/image.png?resize=250%2C157&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/12/image.png?resize=520%2C327&amp;ssl=1 520w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/12/image.png?resize=360%2C226&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/12/image.png?resize=100%2C63&amp;ssl=1 100w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/12/image.png?w=700&amp;ssl=1 700w" sizes="auto, (max-width: 600px) 100vw, 600px" /></figure>



<p>Guess what? Out of the 6 policies I put in, only one of them gets pushed out. None of the other ones got applied.</p>



<p>The <strong>gpresult</strong> command line that checks the resulting set of policy settings enforced on the computer tells me all of them are pushed out from the Active Directory as they are supposed to. But why my Office 365 apps take none of them?</p>



<p>Turns out, something has changed since the release of Office 2013. All group policy settings pushed out from AD will be ignored on retail version of Office, including Microsoft 365 Business subscription. If you need a version that supports GPO, you need to get the volume license editions, or Microsoft 365 Business Premium, which is equivalent to Office 365 ProPlus. Essentially, you will need to pay more, a lot more, to get the functionality again.</p>



<p>I don&#8217;t find any official documents that state this requirement but I do tend to agree with <a href="https://www.jdfoxmicro.com/resource-center/articles/group-policy-office-2013/">this</a>, as it&#8217;s exactly what happened in my case.</p>



<p>Workaround?  Use Registry settings instead, not the ones under Policies key because those ones are already existed but are ignored, but the real ones under HKCU.</p>



<p>For example, if I need to <em>Allow Trusted Locations on my network</em>, I can open GPO editor on a specified GPO and go to</p>



<pre class="wp-block-preformatted">User Configuration &gt; Preferences &gt; Windows Settings &gt; Registry </pre>



<p>Right-click on the empty area at the right pane, choose New > Registry Item.</p>



<p>Select <em>Create</em> as Action, HKEY_CURRENT_USER as the Hive, with the following Key Path:</p>



<pre class="wp-block-preformatted">SOFTWARE\Microsoft\Office\16.0\Word\Security\Trusted Locations</pre>



<p>Set a Value name as <em>AllowNetworkLocation</em> with a value data as 1 in REG_DWORD type.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="400" height="455" src="//i0.wp.com/kjctech.net/wp-content/uploads/2020/12/image-1.png" alt="" class="wp-image-4552" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/12/image-1.png?w=400&amp;ssl=1 400w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/12/image-1.png?resize=250%2C284&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/12/image-1.png?resize=360%2C410&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/12/image-1.png?resize=100%2C114&amp;ssl=1 100w" sizes="auto, (max-width: 400px) 100vw, 400px" /></figure>



<p>You may also need to copy/paste to another item and change the action to Update to make sure the setting you put in is always intact.</p>



<p>It&#8217;s not as perfect as the ones pushed out via GPO but it works. If it gets changed during one session, it will get reset via next login.</p>The post <a href="https://www.kjctech.net/why-office-365-gpo-settings-dont-apply-and-what-to-do/">Why Office 365 GPO Settings Don’t Apply? And What To Do?</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.kjctech.net/why-office-365-gpo-settings-dont-apply-and-what-to-do/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">4548</post-id>	</item>
		<item>
		<title>Best Way to Deploy Office 365 Apps via A Package Deployment Tool</title>
		<link>https://www.kjctech.net/best-way-to-deploy-office-365-apps-via-a-package-deployment-tool/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=best-way-to-deploy-office-365-apps-via-a-package-deployment-tool</link>
					<comments>https://www.kjctech.net/best-way-to-deploy-office-365-apps-via-a-package-deployment-tool/#comments</comments>
		
		<dc:creator><![CDATA[Kent Chen]]></dc:creator>
		<pubDate>Fri, 13 Nov 2020 01:13:46 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Microsoft 365]]></category>
		<category><![CDATA[Office 365]]></category>
		<category><![CDATA[PDQ Deploy]]></category>
		<guid isPermaLink="false">https://www.kjctech.net/?p=4517</guid>

					<description><![CDATA[<p>The simplest way to install Office 365 apps on a computer is to run the setup.exe file downloaded from Microsoft and wait until it&#8217;s finished. Depend on your internet speed, it could take a while to finish. It&#8217;s definitely not the right way when you need to deploy the apps on hundreds of computers. If you are using a package [&#8230;]</p>
The post <a href="https://www.kjctech.net/best-way-to-deploy-office-365-apps-via-a-package-deployment-tool/">Best Way to Deploy Office 365 Apps via A Package Deployment Tool</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></description>
										<content:encoded><![CDATA[<p>The simplest way to install Office 365 apps on a computer is to run the <strong>setup.exe</strong> file downloaded from Microsoft and wait until it&#8217;s finished. Depend on your internet speed, it could take a while to finish. It&#8217;s definitely not the right way when you need to deploy the apps on hundreds of computers.</p>



<p>If you are using a package deployment tool such as PDF Deploy, following <a href="https://www.pdq.com/blog/deploying-office-365-the-right-way/" target="_blank" rel="noreferrer noopener">the right way</a> is the best approach. When setting up right, deploying the Office 365 apps on a bunch of computers is a breeze of air that you will enjoy. It uninstalls whatever the version of Office you have installed and installs the Office 365 apps right after. All process could be finished within minutes, believe it or not.</p>



<p>Here is the simplified version of the process.</p>



<h2 class="wp-block-heading">Step 1 &#8211; generating the Office 365 config file</h2>



<p>Go to <a href="https://config.office.com/" target="_blank" rel="noreferrer noopener">Office Customization Tool</a> and click <strong>Create</strong> button to start creating a new configuration.</p>



<p>Finish every section carefully, especially the following sections</p>



<ul class="wp-block-list"><li>Select proper Products and the right <strong>Update channe</strong>l.  Semi-Annual is my go-to channel. Anything less is too frequent to me to manage.</li><li>Unselect the apps that you don&#8217;t want install, such as Skype for Business.</li><li>Select <strong>Local source</strong> with a specified network path as the Installation options.</li><li>Make sure <strong>Uninstall any previous version</strong> option is checked.</li><li>Select a Product activation method, either <a href="https://docs.microsoft.com/en-us/deployoffice/overview-licensing-activation-microsoft-365-apps" target="_blank" rel="noreferrer noopener">User based</a> or <a href="https://docs.microsoft.com/en-us/deployoffice/overview-shared-computer-activation" target="_blank" rel="noreferrer noopener">Shared</a>.</li></ul>



<p> And export the configuration file in XML format once done.</p>



<h2 class="wp-block-heading">Step 2 &#8211; downloading the Office 365 installation source files</h2>



<p>Easy-peasy once you have the configuration file ready. Run the following in the command prompt window.</p>



<pre class="wp-block-preformatted">.\setup.exe /download ./configuration.xml</pre>



<p>If everything goes as planned, you will see an Office folder shows up with all the source files needed for the installation.</p>



<figure class="wp-block-image size-large"><a href="//i0.wp.com/kjctech.net/wp-content/uploads/2020/11/image.png" data-rel="lightbox-image-0" data-rl_title="" data-rl_caption="" title=""><img loading="lazy" decoding="async" width="600" height="148" src="//i0.wp.com/kjctech.net/wp-content/uploads/2020/11/image-600x148.png" alt="" class="wp-image-4518" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/11/image.png?resize=600%2C148&amp;ssl=1 600w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/11/image.png?resize=450%2C111&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/11/image.png?resize=250%2C62&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/11/image.png?resize=520%2C128&amp;ssl=1 520w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/11/image.png?resize=360%2C89&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/11/image.png?resize=100%2C25&amp;ssl=1 100w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/11/image.png?w=646&amp;ssl=1 646w" sizes="auto, (max-width: 600px) 100vw, 600px" /></a></figure>



<h2 class="wp-block-heading">Step 3 &#8211; building the deploy package</h2>



<p>For example, here is what to do in PDQ Deploy:</p>



<ol class="wp-block-list"><li>Set the install file to setup.exe.</li><li>Add the parameter “/configure configuration.xml”.</li><li>Add the configuration.xml file as an Additional File.</li></ol>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="600" height="337" src="//i0.wp.com/kjctech.net/wp-content/uploads/2020/11/image-1-600x337.png" alt="" class="wp-image-4519" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/11/image-1.png?resize=600%2C337&amp;ssl=1 600w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/11/image-1.png?resize=450%2C253&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/11/image-1.png?resize=250%2C140&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/11/image-1.png?resize=768%2C431&amp;ssl=1 768w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/11/image-1.png?resize=700%2C393&amp;ssl=1 700w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/11/image-1.png?resize=520%2C292&amp;ssl=1 520w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/11/image-1.png?resize=360%2C202&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/11/image-1.png?resize=100%2C56&amp;ssl=1 100w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/11/image-1.png?w=887&amp;ssl=1 887w" sizes="auto, (max-width: 600px) 100vw, 600px" /></figure>



<p>And that&#8217;s it.</p>



<p>I also should mention that doing so via PDQ Deploy is completely free.</p>The post <a href="https://www.kjctech.net/best-way-to-deploy-office-365-apps-via-a-package-deployment-tool/">Best Way to Deploy Office 365 Apps via A Package Deployment Tool</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.kjctech.net/best-way-to-deploy-office-365-apps-via-a-package-deployment-tool/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">4517</post-id>	</item>
		<item>
		<title>How To Add Microsoft 365 Email Account to Gmail as Send Mail As</title>
		<link>https://www.kjctech.net/how-to-add-microsoft-365-email-account-to-gmail-as-send-mail-as/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-add-microsoft-365-email-account-to-gmail-as-send-mail-as</link>
					<comments>https://www.kjctech.net/how-to-add-microsoft-365-email-account-to-gmail-as-send-mail-as/#comments</comments>
		
		<dc:creator><![CDATA[Kent Chen]]></dc:creator>
		<pubDate>Thu, 22 Oct 2020 23:07:17 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[Microsoft 365]]></category>
		<category><![CDATA[Office 365]]></category>
		<guid isPermaLink="false">https://www.kjctech.net/?p=4508</guid>

					<description><![CDATA[<p>Gmail has a feature that lets you use Gmail to send emails from your other email addresses. For example, you own another email address like me@mydomain.com and you want to send an email from that address right from your personal Gmail account. It typically works like this: Email gets automatically forwarded from me@mydomain.com to your Gmail account. When you reply [&#8230;]</p>
The post <a href="https://www.kjctech.net/how-to-add-microsoft-365-email-account-to-gmail-as-send-mail-as/">How To Add Microsoft 365 Email Account to Gmail as Send Mail As</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></description>
										<content:encoded><![CDATA[<p>Gmail has a feature that lets you use Gmail to send emails from your other email addresses. For example, you own another email address like <em>me@mydomain.com</em> and you want to send an email from that address right from your personal Gmail account.</p>



<p>It typically works like this:</p>



<ul class="wp-block-list"><li>Email gets automatically forwarded from <em>me@mydomain.com</em> to your Gmail account.</li><li>When you reply to emails sent <em>me@mydomain.com</em> you are using <em>me@mydomain.com</em> instead of your Gmail address.</li><li>When you send a new email in Gmail, you have the options to choose which email address to use as the sender.</li></ul>



<p>To set it up, you basically go to the <a href="https://mail.google.com/mail/u/0/#settings/accounts" target="_blank" rel="noreferrer noopener">Gmail Accounts setting</a> page, click <em>Add another email address</em> in the <strong>Send mail as</strong> section, and follow the instruction on the screen.</p>



<figure class="wp-block-image size-large"><a href="//i0.wp.com/kjctech.net/wp-content/uploads/2020/10/image.png" data-rel="lightbox-image-0" data-rl_title="" data-rl_caption="" title=""><img data-recalc-dims="1" loading="lazy" decoding="async" width="600" height="336" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/10/image.png?resize=600%2C336&#038;ssl=1" alt="" class="wp-image-4509" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/10/image.png?resize=600%2C336&amp;ssl=1 600w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/10/image.png?resize=450%2C252&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/10/image.png?resize=250%2C140&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/10/image.png?resize=520%2C291&amp;ssl=1 520w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/10/image.png?resize=360%2C201&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/10/image.png?resize=100%2C56&amp;ssl=1 100w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/10/image.png?w=622&amp;ssl=1 622w" sizes="auto, (max-width: 600px) 100vw, 600px" /></a></figure>



<p>If you are adding a Microsoft 365 email account as another sender in Gmail, there are two main hurdles to overcome.</p>



<h2 class="wp-block-heading">Microsoft 365 email auto-forward</h2>



<p>The email auto-forwarding to an external email address used to be working out of the box, whether it&#8217;s set in the Outlook app level or the mail account level. But things have changed lately.</p>



<p>Now, external forwarding is disabled by default in Office 365. While usually it&#8217;s a good practice in general, it doesn&#8217;t help in this case. However, Microsoft still leaves a door open so you can change that if you need to, given that you understand the danger of it.</p>



<p>So, to re-enable external forwarding, go to the <a href="https://security.microsoft.com/securitypolicies" target="_blank" rel="noreferrer noopener">Anti-spam policy page</a> on Microsoft 365 security page, and turn on <strong>Automatica forwarding</strong> under <strong>Outbound spam filter</strong> policy.</p>



<figure class="wp-block-image size-large"><a href="//i0.wp.com/kjctech.net/wp-content/uploads/2020/10/image-1.png" data-rel="lightbox-image-1" data-rl_title="" data-rl_caption="" title=""><img data-recalc-dims="1" loading="lazy" decoding="async" width="600" height="149" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/10/image-1.png?resize=600%2C149&#038;ssl=1" alt="" class="wp-image-4510" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/10/image-1.png?resize=600%2C149&amp;ssl=1 600w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/10/image-1.png?resize=450%2C112&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/10/image-1.png?resize=250%2C62&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/10/image-1.png?resize=768%2C191&amp;ssl=1 768w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/10/image-1.png?resize=700%2C174&amp;ssl=1 700w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/10/image-1.png?resize=520%2C129&amp;ssl=1 520w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/10/image-1.png?resize=360%2C89&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/10/image-1.png?resize=100%2C25&amp;ssl=1 100w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/10/image-1.png?w=1026&amp;ssl=1 1026w" sizes="auto, (max-width: 600px) 100vw, 600px" /></a></figure>



<h2 class="wp-block-heading">Enable SMTP Client Authentication</h2>



<p>Again, Microsoft doesn&#8217;t mess around. The SMTP Authentication is disabled by default in Microsoft 365.</p>



<p>To disable, we need the help from PowerShell.</p>



<p>First, install ExchangePowerShell module if you haven&#8217;t done so.</p>



<pre class="wp-block-preformatted">Install-Module ExchangePowerShell</pre>



<p>Then, connect to Exchange Online using</p>



<pre class="wp-block-preformatted">Connect-ExchangeOnline</pre>



<p>And then, to enable SMTP client authentication, you need to enable it at organization level,</p>



<pre class="wp-block-preformatted">Set-TransportConfig -SmtpClientAuthenticationDisabled $false</pre>



<p>as well as at the mailbox level,</p>



<pre class="wp-block-preformatted">Set-CASMailbox &lt;MailboxIdentity&gt; -SmtpClientAuthenticationDisabled $false</pre>



<p>Once these two hurdles are solved, you can then move on to finish setting it up.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="600" height="370" src="//i0.wp.com/kjctech.net/wp-content/uploads/2020/10/image-2-600x370.png" alt="" class="wp-image-4511" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/10/image-2.png?resize=600%2C370&amp;ssl=1 600w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/10/image-2.png?resize=450%2C278&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/10/image-2.png?resize=250%2C154&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/10/image-2.png?resize=520%2C321&amp;ssl=1 520w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/10/image-2.png?resize=360%2C222&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/10/image-2.png?resize=100%2C62&amp;ssl=1 100w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/10/image-2.png?w=622&amp;ssl=1 622w" sizes="auto, (max-width: 600px) 100vw, 600px" /></figure>The post <a href="https://www.kjctech.net/how-to-add-microsoft-365-email-account-to-gmail-as-send-mail-as/">How To Add Microsoft 365 Email Account to Gmail as Send Mail As</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.kjctech.net/how-to-add-microsoft-365-email-account-to-gmail-as-send-mail-as/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">4508</post-id>	</item>
		<item>
		<title>Office 365 Counting License Usage Details in PowerShell</title>
		<link>https://www.kjctech.net/office-365-counting-license-usage-details-in-powershell/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=office-365-counting-license-usage-details-in-powershell</link>
					<comments>https://www.kjctech.net/office-365-counting-license-usage-details-in-powershell/#respond</comments>
		
		<dc:creator><![CDATA[Kent Chen]]></dc:creator>
		<pubDate>Sun, 07 Jul 2019 06:58:03 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Office 365]]></category>
		<category><![CDATA[powershell]]></category>
		<guid isPermaLink="false">https://www.kjctech.net/?p=4387</guid>

					<description><![CDATA[<p>Counting the licensing usages and checking out the license details in Office 365 using PowerShell is a lot easier than going through the admin console. First, install the module if you haven&#8217;t done, and connect to Azure AD with your Office 365 subscription. Install-Module msonline Connect-MsolServie To list of the licensing plans available in my tenant: Get-MsolAccountsku To view a [&#8230;]</p>
The post <a href="https://www.kjctech.net/office-365-counting-license-usage-details-in-powershell/">Office 365 Counting License Usage Details in PowerShell</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></description>
										<content:encoded><![CDATA[<p>Counting the licensing usages and checking out the license details in Office 365 using PowerShell is a lot easier than going through the admin console.</p>



<p>First, install the module if you haven&#8217;t done, and connect to Azure AD with your Office 365 subscription.</p>



<pre class="wp-block-preformatted">Install-Module msonline
Connect-MsolServie</pre>



<p>To list of the licensing plans available in my tenant:</p>



<pre class="wp-block-preformatted">Get-MsolAccountsku</pre>



<p>To view a full list of licensed accounts:</p>



<pre class="wp-block-preformatted">Get-MsolUser | Where {$_.IsLicensed}</pre>



<p>How many of my users are licensed in Premium?</p>



<pre class="wp-block-preformatted">Get-MsolUser | Where {($_.Licenses).AccountSkuID -eq $accountskuid}</pre>



<p>Where $accountskuid can be found in the cmdlet Get-MsolAccountsku described above.</p>



<p>Need to export the result in CSV for reporting purpose?</p>



<pre class="wp-block-preformatted">Get-MsolUser | Where {($_.Licenses).AccountSkuID -eq $accountskuid} | Export-CSV "path\csvname"</pre>The post <a href="https://www.kjctech.net/office-365-counting-license-usage-details-in-powershell/">Office 365 Counting License Usage Details in PowerShell</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.kjctech.net/office-365-counting-license-usage-details-in-powershell/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">4387</post-id>	</item>
		<item>
		<title>Office 365 Importing IMAP Mailboxes</title>
		<link>https://www.kjctech.net/office-365-importing-imap-mailboxes/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=office-365-importing-imap-mailboxes</link>
					<comments>https://www.kjctech.net/office-365-importing-imap-mailboxes/#respond</comments>
		
		<dc:creator><![CDATA[Kent Chen]]></dc:creator>
		<pubDate>Sun, 07 Jul 2019 06:30:22 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Office 365]]></category>
		<guid isPermaLink="false">https://www.kjctech.net/?p=4382</guid>

					<description><![CDATA[<p>There are ways migrating mailboxes from one provider to Office 365. Importing through IMAP-enabled mailbox is one of them. And here is a quick run-down of what the steps are. First, verify the ownership of the domain and get all the mailboxes ready in Office 365. Then, prepare a CSV file in the following format: EmailAddress,UserName,Password terrya@contoso.edu,contoso\terry.admin,password12345 The first row [&#8230;]</p>
The post <a href="https://www.kjctech.net/office-365-importing-imap-mailboxes/">Office 365 Importing IMAP Mailboxes</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></description>
										<content:encoded><![CDATA[<p>There are ways migrating mailboxes from one provider to Office 365. Importing through IMAP-enabled mailbox is one of them. And here is a quick run-down of what the steps are.</p>



<p>First, verify the ownership of the domain and get all the mailboxes ready in Office 365.</p>



<p>Then, prepare a CSV file in the following format:</p>



<pre class="wp-block-preformatted">EmailAddress,UserName,Password
terrya@contoso.edu,contoso\terry.admin,password12345</pre>



<p>The first row is the header, obviously. And each row under the header represents one user, which is the EmailAddress registered in Office 365, and the IMAP credential that will be used to migrate that user&#8217;s mailbox.</p>



<p>Now, create a migration endpoint for the migration. Go to <strong>Recipients</strong> in <strong>Exchange admin center</strong>. Switch to <strong>migration</strong> tab, click the <strong>&#8230;</strong> and choose <strong>migration endpoints</strong>.</p>



<figure class="wp-block-image"><img data-recalc-dims="1" loading="lazy" decoding="async" width="526" height="192" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/07/image.png?resize=526%2C192&#038;ssl=1" alt="" class="wp-image-4383" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/07/image.png?w=526&amp;ssl=1 526w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/07/image.png?resize=250%2C91&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/07/image.png?resize=450%2C164&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/07/image.png?resize=520%2C190&amp;ssl=1 520w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/07/image.png?resize=360%2C131&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/07/image.png?resize=100%2C37&amp;ssl=1 100w" sizes="auto, (max-width: 526px) 100vw, 526px" /></figure>



<p>Click + sign, select IMAP and fill in the IMAP server info to create a migration point for import.</p>



<p>Once done, it&#8217;s ready to create a new import job to use that newly created migration endpoint. Click the + sign in migration and choose <strong>Migrate to Exchange Online</strong>.</p>



<figure class="wp-block-image"><img data-recalc-dims="1" loading="lazy" decoding="async" width="511" height="214" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/07/image-1.png?resize=511%2C214&#038;ssl=1" alt="" class="wp-image-4384" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/07/image-1.png?w=511&amp;ssl=1 511w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/07/image-1.png?resize=250%2C105&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/07/image-1.png?resize=450%2C188&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/07/image-1.png?resize=360%2C151&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2019/07/image-1.png?resize=100%2C42&amp;ssl=1 100w" sizes="auto, (max-width: 511px) 100vw, 511px" /></figure>



<p>Select<strong> IMAP migration</strong>, choose the CSV file prepared earlier, and off you go.</p>



<p>The actual process could take quite some time to finish. Meanwhile, you can check the status of the process at any time by highlighting the job and clicking the <strong>View details</strong> on the right.</p>



<p>Finally, you can flip the switch and change the MX records to finally redirect the mail to Office 365.</p>The post <a href="https://www.kjctech.net/office-365-importing-imap-mailboxes/">Office 365 Importing IMAP Mailboxes</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.kjctech.net/office-365-importing-imap-mailboxes/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">4382</post-id>	</item>
	</channel>
</rss>
