<?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>SharePoint Online | KC's Blog</title>
	<atom:link href="https://www.kjctech.net/tag/sharepoint-online/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.kjctech.net</link>
	<description></description>
	<lastBuildDate>Sat, 24 Jun 2023 06:51:47 +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>SharePoint Online | 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>Deal with Deleted Sites that Can&#8217;t be Permenately Deleted in SharePoint Online</title>
		<link>https://www.kjctech.net/deal-with-deleted-sites-that-cant-be-permenately-deleted-in-sharepoint-online/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=deal-with-deleted-sites-that-cant-be-permenately-deleted-in-sharepoint-online</link>
					<comments>https://www.kjctech.net/deal-with-deleted-sites-that-cant-be-permenately-deleted-in-sharepoint-online/#respond</comments>
		
		<dc:creator><![CDATA[Kent Chen]]></dc:creator>
		<pubDate>Sat, 24 Jun 2023 06:51:44 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[SharePoint Online]]></category>
		<guid isPermaLink="false">https://www.kjctech.net/?p=5091</guid>

					<description><![CDATA[<p>In SharePoint Online, deleted sites will be permanently deleted automatically after a certain period of time so normally you don&#8217;t really need to worry about it. If you need to get rid of them now so you can reuse the URL right away, you can permanently delete them right from Deleted Sites on the SharePoint Online Admin portal. But what [&#8230;]</p>
The post <a href="https://www.kjctech.net/deal-with-deleted-sites-that-cant-be-permenately-deleted-in-sharepoint-online/">Deal with Deleted Sites that Can’t be Permenately Deleted in SharePoint Online</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></description>
										<content:encoded><![CDATA[<p>In SharePoint Online, deleted sites will be permanently deleted automatically after a certain period of time so normally you don&#8217;t really need to worry about it. If you need to get rid of them now so you can reuse the URL right away, you can permanently delete them right from Deleted Sites on the SharePoint Online Admin portal.</p>



<p>But what if the Permanently delete option is greyed out like this?</p>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" fetchpriority="high" decoding="async" width="600" height="283" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-5.png?resize=600%2C283&#038;ssl=1" alt="" class="wp-image-5093" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-5.png?resize=600%2C283&amp;ssl=1 600w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-5.png?resize=450%2C212&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-5.png?resize=250%2C118&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-5.png?resize=768%2C362&amp;ssl=1 768w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-5.png?resize=700%2C330&amp;ssl=1 700w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-5.png?resize=520%2C245&amp;ssl=1 520w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-5.png?resize=360%2C170&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-5.png?resize=100%2C47&amp;ssl=1 100w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-5.png?w=871&amp;ssl=1 871w" sizes="(max-width: 600px) 100vw, 600px" /></figure>



<p>That&#8217;s because the Primary admin of the site is still set as the Group owners. You can&#8217;t purge the sites that still have any connections to the M365 groups. So, you can either restore the site and change the primary owner to an individual user and then delete it again, or better, you can take advantage of the power of PowerShell.</p>



<pre class="wp-block-preformatted">Install-Module -Name Microsoft.Online.SharePoint.PowerShell
Connect-SPOService -Url https://tenent-name.sharepoint.com
Remove-SPODeletedSite -Identity site_url</pre>



<p>It works like a charm, except if you are trying it in PowerShell 7, in which you won&#8217;t be able to connect to the SharePoint Online service. Check out <a href="https://www.kjctech.net/using-sharepoint-online-management-shell-with-powershell-7/" target="_blank" rel="noopener" title="Using SharePoint Online Management Shell with PowerShell 7">this</a> to see how to get around it.</p>The post <a href="https://www.kjctech.net/deal-with-deleted-sites-that-cant-be-permenately-deleted-in-sharepoint-online/">Deal with Deleted Sites that Can’t be Permenately Deleted in SharePoint Online</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.kjctech.net/deal-with-deleted-sites-that-cant-be-permenately-deleted-in-sharepoint-online/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">5091</post-id>	</item>
		<item>
		<title>Using SharePoint Online Management Shell with PowerShell 7</title>
		<link>https://www.kjctech.net/using-sharepoint-online-management-shell-with-powershell-7/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=using-sharepoint-online-management-shell-with-powershell-7</link>
					<comments>https://www.kjctech.net/using-sharepoint-online-management-shell-with-powershell-7/#respond</comments>
		
		<dc:creator><![CDATA[Kent Chen]]></dc:creator>
		<pubDate>Sat, 24 Jun 2023 06:49:34 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[SharePoint Online]]></category>
		<guid isPermaLink="false">https://www.kjctech.net/?p=5096</guid>

					<description><![CDATA[<p>To start using SharePoint Online Management shell, you just need to install the module or import it if you already had it installed, and then start enjoying it. Install-Module -Name Microsoft.Online.SharePoint.PowerShell It works perfectly in PowerShell 5 but failed miserably in PowerShell 7. It throws an error when trying to connect to SharePoint Online. The workaround is to use import [&#8230;]</p>
The post <a href="https://www.kjctech.net/using-sharepoint-online-management-shell-with-powershell-7/">Using SharePoint Online Management Shell with PowerShell 7</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></description>
										<content:encoded><![CDATA[<p>To start using SharePoint Online Management shell, you just need to install the module or import it if you already had it installed, and then start enjoying it.</p>



<pre class="wp-block-preformatted">Install-Module -Name Microsoft.Online.SharePoint.PowerShell</pre>



<figure class="wp-block-image size-large"><a href="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-6.png?ssl=1" data-rel="lightbox-image-0" data-rl_title="" data-rl_caption="" title=""><img data-recalc-dims="1" decoding="async" width="600" height="144" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-6.png?resize=600%2C144&#038;ssl=1" alt="" class="wp-image-5097" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-6.png?resize=600%2C144&amp;ssl=1 600w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-6.png?resize=450%2C108&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-6.png?resize=250%2C60&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-6.png?resize=768%2C185&amp;ssl=1 768w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-6.png?resize=700%2C168&amp;ssl=1 700w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-6.png?resize=520%2C125&amp;ssl=1 520w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-6.png?resize=360%2C87&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-6.png?resize=100%2C24&amp;ssl=1 100w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-6.png?w=981&amp;ssl=1 981w" sizes="(max-width: 600px) 100vw, 600px" /></a></figure>



<p>It works perfectly in PowerShell 5 but failed miserably in PowerShell 7. It throws an error when trying to connect to SharePoint Online.</p>



<figure class="wp-block-image size-large"><a href="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-7.png?ssl=1" data-rel="lightbox-image-1" data-rl_title="" data-rl_caption="" title=""><img data-recalc-dims="1" decoding="async" width="600" height="78" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-7.png?resize=600%2C78&#038;ssl=1" alt="" class="wp-image-5098" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-7.png?resize=600%2C78&amp;ssl=1 600w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-7.png?resize=450%2C58&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-7.png?resize=250%2C32&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-7.png?resize=520%2C68&amp;ssl=1 520w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-7.png?resize=360%2C47&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-7.png?resize=100%2C13&amp;ssl=1 100w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-7.png?w=701&amp;ssl=1 701w" sizes="(max-width: 600px) 100vw, 600px" /></a></figure>



<p>The workaround is to use import the module in a compatible mode.</p>



<pre class="wp-block-preformatted">Import-Module Microsoft.Online.SharePoint.PowerShell -UseWindowsPowerShell</pre>



<p>But if you only have PowerShell 7 or install the module in PowerShell 7, you won&#8217;t be able to import the module in the compatible mode, because no valid module file was found in any module directory.l</p>



<figure class="wp-block-image size-large"><a href="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-8.png?ssl=1" data-rel="lightbox-image-2" data-rl_title="" data-rl_caption="" title=""><img data-recalc-dims="1" loading="lazy" decoding="async" width="600" height="44" src="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-8.png?resize=600%2C44&#038;ssl=1" alt="" class="wp-image-5099" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-8.png?resize=600%2C44&amp;ssl=1 600w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-8.png?resize=450%2C33&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-8.png?resize=250%2C18&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-8.png?resize=768%2C56&amp;ssl=1 768w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-8.png?resize=700%2C51&amp;ssl=1 700w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-8.png?resize=520%2C38&amp;ssl=1 520w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-8.png?resize=360%2C26&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-8.png?resize=100%2C7&amp;ssl=1 100w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2023/06/image-8.png?w=1096&amp;ssl=1 1096w" sizes="auto, (max-width: 600px) 100vw, 600px" /></a></figure>



<p>You will have to specify the location of the module file to import it. By default, you should be able to locate the installed module from the following location.</p>



<pre class="wp-block-preformatted">%userprofile%\Documents\PowerShell\Modules\</pre>



<p>Then run the following cmdlet and you should be all set.</p>



<pre class="wp-block-preformatted">import-Module "%userprofile%\Documents\PowerShell\Modules\Microsoft.Online.SharePoint.PowerShell\16.0.23710.12000\Microsoft.Online.SharePoint.PowerShell.psd1" -UseWindowsPowerShell</pre>The post <a href="https://www.kjctech.net/using-sharepoint-online-management-shell-with-powershell-7/">Using SharePoint Online Management Shell with PowerShell 7</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.kjctech.net/using-sharepoint-online-management-shell-with-powershell-7/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">5096</post-id>	</item>
		<item>
		<title>How Much Free Space Left in My SharePoint Online and What&#8217;s the Detail Usage?</title>
		<link>https://www.kjctech.net/how-much-free-space-left-in-my-sharepoint-online-and-whats-the-detail-usage/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-much-free-space-left-in-my-sharepoint-online-and-whats-the-detail-usage</link>
					<comments>https://www.kjctech.net/how-much-free-space-left-in-my-sharepoint-online-and-whats-the-detail-usage/#respond</comments>
		
		<dc:creator><![CDATA[Kent Chen]]></dc:creator>
		<pubDate>Mon, 27 Jun 2022 05:54:20 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Microsoft 365]]></category>
		<category><![CDATA[SharePoint Online]]></category>
		<guid isPermaLink="false">https://www.kjctech.net/?p=4762</guid>

					<description><![CDATA[<p>I got a warning email from Microsoft stating that my organization is out of SharePoint Online storage. I was surprised at first, and even thought it was spam. But turns out, that running out of space on SharePoint Online is a thing. To view the total and available free storage space currently for your organization, go to Active sites in [&#8230;]</p>
The post <a href="https://www.kjctech.net/how-much-free-space-left-in-my-sharepoint-online-and-whats-the-detail-usage/">How Much Free Space Left in My SharePoint Online and What’s the Detail Usage?</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></description>
										<content:encoded><![CDATA[<p>I got a warning email from Microsoft stating that my organization is out of SharePoint Online storage. I  was surprised at first, and even thought it was spam. But turns out, that running out of space on SharePoint Online is a thing.</p>



<p>To view the total and available free storage space currently for your organization, go to <a href="https://go.microsoft.com/fwlink/?linkid=2185220" target="_blank" rel="noreferrer noopener">Active sites in the SharePoint admin center</a>, and check the numbers at the top right corner of the page.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="266" height="176" src="//i0.wp.com/kjctech.net/wp-content/uploads/2022/06/image-1.png" alt="" class="wp-image-4763" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2022/06/image-1.png?w=266&amp;ssl=1 266w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2022/06/image-1.png?resize=250%2C165&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2022/06/image-1.png?resize=100%2C66&amp;ssl=1 100w" sizes="auto, (max-width: 266px) 100vw, 266px" /></figure>



<p>So how is the total number calculated in the first place?</p>



<p>According to <a href="https://docs.microsoft.com/en-us/office365/servicedescriptions/sharepoint-online-service-description/sharepoint-online-limits" target="_blank" rel="noreferrer noopener">SharePoint Limits</a>, if you are a small business, you probably get 1 TB plus 10 GB per license purchased. But the math doesn&#8217;t really add up here. I don&#8217;t actually have 170 licensed users in this tenant. So it still seems to be a mystery to me.</p>



<p>Now that I am almost out of the space. I have two choices, either pay an additional monthly fee to get more space or delete some old sites to free up more space.</p>



<p>If you choose to go with the latter, you will need a detailed usage report to see where to begin the process.</p>



<p>In Admin Dashboard, go to <strong>Reports > Usage</strong>, and click View More under SharePoint activity.</p>



<p>Switch to<strong> Site Usage</strong>, and you will see the detailed usage of each site listed a little bit down the page.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="600" height="334" src="//i0.wp.com/kjctech.net/wp-content/uploads/2022/06/image-2-600x334.png" alt="" class="wp-image-4764" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2022/06/image-2.png?resize=600%2C334&amp;ssl=1 600w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2022/06/image-2.png?resize=450%2C250&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2022/06/image-2.png?resize=250%2C139&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2022/06/image-2.png?resize=520%2C289&amp;ssl=1 520w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2022/06/image-2.png?resize=360%2C200&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2022/06/image-2.png?resize=100%2C56&amp;ssl=1 100w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2022/06/image-2.png?w=669&amp;ssl=1 669w" sizes="auto, (max-width: 600px) 100vw, 600px" /></figure>



<p>However, for privacy concerns, both Site URL and Site owner columns are concealed. The report actually is useless with all concealed numbers and letters. To avoid that, you will need to go to Settings > Org settings, click on Reports, and uncheck the option &#8220;Display concealed user, group, and site names in all reports&#8221;.</p>



<p>Once done, refresh the Site Usage page and click on the <strong>Export</strong> button to download the usage list.</p>The post <a href="https://www.kjctech.net/how-much-free-space-left-in-my-sharepoint-online-and-whats-the-detail-usage/">How Much Free Space Left in My SharePoint Online and What’s the Detail Usage?</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.kjctech.net/how-much-free-space-left-in-my-sharepoint-online-and-whats-the-detail-usage/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">4762</post-id>	</item>
	</channel>
</rss>
