<?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 2016 Archives - Blog IT</title>
	<atom:link href="https://blogit.create.pt/category/sharepoint/sharepoint-2016/feed/" rel="self" type="application/rss+xml" />
	<link>https://blogit.create.pt/category/sharepoint/sharepoint-2016/</link>
	<description>Create IT blogger community</description>
	<lastBuildDate>Tue, 30 May 2023 14:54:06 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>
	<item>
		<title>How to install SharePoint Cumulative Updates In Less Than An Hour in a SharePoint Farm Step by Step</title>
		<link>https://blogit.create.pt/miguelisidoro/2019/05/02/how-to-speed-up-the-installation-of-sharepoint-cumulative-updates-using-powershell-step-by-step/</link>
					<comments>https://blogit.create.pt/miguelisidoro/2019/05/02/how-to-speed-up-the-installation-of-sharepoint-cumulative-updates-using-powershell-step-by-step/#comments</comments>
		
		<dc:creator><![CDATA[Miguel Isidoro]]></dc:creator>
		<pubDate>Wed, 01 May 2019 23:20:43 +0000</pubDate>
				<category><![CDATA[SharePoint 2019]]></category>
		<category><![CDATA[SharePoint 2016]]></category>
		<category><![CDATA[SharePoint 2013]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Collaboration]]></category>
		<category><![CDATA[sharepoint]]></category>
		<guid isPermaLink="false">https://blogit.create.pt/?p=9567</guid>

					<description><![CDATA[<p>This post will explain how you can speed up the installation of Cumulative Updates in a SharePoint farm step by step using PowerShell. Using PowerShell, you can greatly reduce the time it takes to update your SharePoint farm which can take several hours to complete if you use the traditional method of installing Cumulative Updates. [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2019/05/02/how-to-speed-up-the-installation-of-sharepoint-cumulative-updates-using-powershell-step-by-step/">How to install SharePoint Cumulative Updates In Less Than An Hour in a SharePoint Farm Step by Step</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>This post will explain how you can speed up the installation of Cumulative Updates in a SharePoint farm step by step using PowerShell. Using PowerShell, you can greatly reduce the time it takes to update your SharePoint farm which can take several hours to complete if you use the traditional method of installing Cumulative Updates. The steps described in this post are valid for SharePoint 2013, SharePoint 2016 and SharePoint 2019.</p>



<p>This post assumes a single SharePoint server but if you have multiple SharePoint servers, you must follow these steps on all SharePoint servers in your farm.</p>



<h2 class="wp-block-heading">Introduction</h2>



<p>The SharePoint world is rapidly moving into the Cloud with SharePoint Online and Office 365, but some organizations are still not ready to move completely to Office 365 and SharePoint Online.</p>



<p>Upgrading to SharePoint 2019 that has support for a hybrid scenario can be a valid solution to allow a gradual move to the cloud.  </p>



<p>Installing a SharePoint 2019 farm can be done in an automated way using PowerShell and <a href="https://autospinstaller.com/" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">AutoSPInstaller.</a> One additional advantage of this installation process ensures that the SharePoint farm is installed with the latest updates, leaving the SharePoint farm updated and working properly (if you want to learn how to install a SharePoint 2019 farm in an automated way, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a>&nbsp;and&nbsp;<a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a><a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">)</a>.</p>



<p>To ensure that after the installation, the SharePoint server is kept always updated, we must ensure that both the Windows Updates and specially the SharePoint Cumulative Updates are properly installed.</p>



<h2 class="wp-block-heading">Installing SharePoint Updates</h2>



<p>To install the latest SharePoint Cumulative Updates in your farm, follow the following steps:</p>



<ul class="wp-block-list">
<li>Download the SharePoint Cumulative Updates </li>



<li>Backup SharePoint Farm and Configurations</li>



<li>Install the Cumulative Updates in the SharePoint Farm (using PowerShell)</li>



<li>Run SharePoint Products and Configuration Wizard</li>



<li>Post-Installation Steps</li>
</ul>



<h3 class="wp-block-heading">Download the SharePoint Cumulative Updates </h3>



<p>All starts by downloading the latest SharePoint Cumulative Updates. To do that, you must download:</p>



<ul class="wp-block-list">
<li>SharePoint 2016 and SharePoint 2019:
<ul class="wp-block-list">
<li>The latest language independent SharePoint updates</li>



<li>The latest language dependent SharePoint updates (even if you just have the English language pack installed in your farm)</li>
</ul>
</li>



<li>SharePoint 2013:
<ul class="wp-block-list">
<li>The latest SharePoint 2013 Server updates (if you have SharePoint 2013 Server installed)</li>



<li>The latest SharePoint Foundation 2013 updates (if you have only SharePoint Foundation 2013 installed). This update is not necessary if you have SharePoint 2013 Server since SharePoint Foundation 2013 is included in SharePoint 2013 Server</li>
</ul>
</li>
</ul>



<p>To stay up to date and download the latest updates, click <a href="https://www.toddklindt.com/blog/Builds/SharePoint-2019-Builds.aspx" target="_blank" rel="noreferrer noopener">here</a> for SharePoint 2019, <a href="https://www.toddklindt.com/blog/Builds/SharePoint-2016-Builds.aspx" target="_blank" rel="noreferrer noopener">here</a> for SharePoint 2016 and <a href="https://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=346" target="_blank" rel="noreferrer noopener">here</a> for SharePoint 2013.</p>



<h3 class="wp-block-heading">Backup SharePoint Farm and Configurations</h3>



<p>Before applying the updates, you should perform the following backups:</p>



<ul class="wp-block-list">
<li>Backup the SharePoint farm by running the following command:  <br><strong><em>Backup-SPFarm -Directory &lt;BackupFolder&gt; -BackupMethod Full -Verbose</em></strong></li>
</ul>



<p>           The backup folder should be a shared folder on the network, accessible by both SharePoint and database servers.</p>



<p>           Ensure the SharePoint Server VSS Writer service is started on the SharePoint server (not started automatically).</p>



<p>           Ensure the SQL Server VSS Writer service is started on the database server.</p>



<p>           For more details about SharePoint farm backup, click <a href="https://docs.microsoft.com/en-us/SharePoint/administration/prepare-to-back-up-and-restore" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">here</a>, <a rel="noreferrer noopener" href="https://docs.microsoft.com/en-us/sharepoint/administration/back-up-a-farm" target="_blank">here </a>and <a rel="noreferrer noopener" href="https://docs.microsoft.com/en-us/sharepoint/administration/best-practices-for-backup-and-restore" target="_blank">here</a></p>



<ul class="wp-block-list">
<li>Backup all SharePoint databases in the database server that supports the SharePoint farm using SQL Server Enterprise tools</li>



<li>Backup the web.config files for all web applications</li>



<li>If you have custom developed solutions using server-side code, backup the solutions. To make this easier, you can download a <a rel="noreferrer noopener" href="https://github.com/miguelisidoro/SharePoint/blob/master/PowerShell/SharePoint2019/Export-WSP.ps1" target="_blank">PowerShell script</a> from my GitHub repository  </li>
</ul>



<h3 class="wp-block-heading">Install the Cumulative Updates in the SharePoint Farm (using PowerShell) </h3>



<p>After downloading the latest updates and taking the necessary precautions, you are ready to install them in your SharePoint farm.</p>



<p>If you want to use the traditional method to update your farm, click <a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="https://blogit.create.pt////miguelisidoro/2019/04/08/how-to-install-sharepoint-cumulative-updates-in-a-sharepoint-farm-step-by-step/" target="_blank">here</a>. If you want to learn the PowerShell way and speed up the installation of the Cumulative Updates in your SharePoint farm, read on!</p>



<p>To download the SharePoint Patch PowerShell script, click <a href="https://www.powershellgallery.com/packages/SharePointPatchScript/1.0/Content/SharePointPatchScript.psm1" target="_blank" rel="noreferrer noopener">here</a>. This script, written by Trevor Seward, is an improved version of a <a aria-label=" (opens in a new tab)" href="https://blog.russmax.com/why-sharepoint-2013-cumulative-update-takes-5-hours-to-install/" target="_blank" rel="noreferrer noopener">PowerShell script</a> originally created by Russ Maxwell for SharePoint 2013.</p>



<p>The way this PowerShell script ensures that the SharePoint patch process time is reduced from 4 to 5 hours to less than one hour is by doing the following:</p>



<ul class="wp-block-list">
<li>If you choose to (use the -Pause switch parameter), suspends the Search Service Application. This is very important since if a search crawl was triggered during the installation of the Cumulative Update, the Search Application could get corrupted and you could be forced to rebuild the entire Search Service Application, recreate any custom managed properties and perform a Full Crawl again to ensure you have search results and all search based solutions work properly</li>



<li>For SharePoint 2013 (not necessary for SharePoint 2016 and SharePoint 2019), the following services will be disabled and then stopped:
<ul class="wp-block-list">
<li>Search services are disabled</li>



<li>Search services are stopped</li>



<li>IISAdmin and SPTimerV4 services are disabled</li>



<li>IISAdmin and SPTimerV4 services are stopped</li>
</ul>
</li>



<li>If you choose to, the Cumulative Updates are installed in passive mode (without any necessary user interaction) but you can still see the installation process in the UI</li>



<li>When the installation of the Cumulative Updates is complete:
<ul class="wp-block-list">
<li>For SharePoint 2013 (not necessary for SharePoint 2016 and SharePoint 2019), the following services will be set to automatic:
<ul class="wp-block-list">
<li> Search services</li>



<li> IISAdmin and SPTimerV4 services</li>
</ul>
</li>



<li> If you choose to use the -Pause switch parameter, the Search Service Application will be resumed</li>
</ul>
</li>
</ul>



<p>To start the installation process, open the SharePoint PowerShell window (run as administrator) and execute the following commands:</p>



<ul class="wp-block-list">
<li>Import-Module .\SharePointPatchScript.psm1</li>



<li>Install-SPPatch -Path  -Pause
<ul class="wp-block-list">
<li>Example: Install-SPPatch -Path D:\SharePoint\Updates -Pause</li>
</ul>
</li>
</ul>



<p>For SharePoint 2016 and 2019, a monthly Cumulative Update typically contains both the language independent (&#8220;sts&#8221; file) and the language dependent (&#8220;wssloc&#8221; file) packages. Sometimes, a Cumulative Update only includes the language independent package. If that is the case, and you already have the latest language dependent package installed, you can run the PowerShell command with the -OnlySTS switch parameter:</p>



<ul class="wp-block-list">
<li>Import-Module .\SharePointPatchScript.psm1</li>



<li>Install-SPPatch <strong>-OnlySTS</strong> -Path  -Pause
<ul class="wp-block-list">
<li>Example: Install-SPPatch <strong>-OnlySTS</strong> -Path D:\SharePoint\Updates -Pause</li>
</ul>
</li>
</ul>



<p>This will start the SharePoint farm update process (examples for SharePoint 2013 and SharePoint 2019).</p>



<p>For SharePoint 2013, SharePoint Server or SharePoint Foundation packages will be detected automatically and installed. The example below is for SharePoint 2013 Server.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img fetchpriority="high" decoding="async" width="680" height="544" src="https://blogit.create.pt////wp-content/uploads/2019/05/SP2013_ApplyUpdateSP.png" alt="" class="wp-image-9824" srcset="https://blogit.create.pt/wp-content/uploads/2019/05/SP2013_ApplyUpdateSP.png 680w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2013_ApplyUpdateSP-300x240.png 300w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2013_ApplyUpdateSP-525x420.png 525w" sizes="(max-width: 680px) 100vw, 680px" /></figure>
</div>


<p>For SharePoint 2016 and SharePoint 2019, both language independent and language dependent packages will be detected automatically and installed.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="979" height="513" src="https://blogit.create.pt////wp-content/uploads/2019/05/SP2019_ApplyUpdate.png" alt="" class="wp-image-9606" srcset="https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_ApplyUpdate.png 979w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_ApplyUpdate-300x157.png 300w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_ApplyUpdate-768x402.png 768w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_ApplyUpdate-696x365.png 696w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_ApplyUpdate-802x420.png 802w" sizes="(max-width: 979px) 100vw, 979px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="478" height="163" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2019_Install_Update_Progress.png" alt="" class="wp-image-9412" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_Progress.png 478w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_Progress-300x102.png 300w" sizes="(max-width: 478px) 100vw, 478px" /><figcaption class="wp-element-caption"> <em>SharePoint 2019 farm update using PowerShell</em><br></figcaption></figure>
</div>


<p>Instead of taking hours to perform, the updates should be installed in less than one hour.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="976" height="513" src="https://blogit.create.pt////wp-content/uploads/2019/05/SP2019_ApplyUpdate_Finish.png" alt="" class="wp-image-9613" srcset="https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_ApplyUpdate_Finish.png 976w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_ApplyUpdate_Finish-300x158.png 300w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_ApplyUpdate_Finish-768x404.png 768w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_ApplyUpdate_Finish-696x366.png 696w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_ApplyUpdate_Finish-799x420.png 799w" sizes="(max-width: 976px) 100vw, 976px" /><figcaption class="wp-element-caption"> <em>SharePoint 2019 farm update using PowerShell</em> (installation complete)</figcaption></figure>
</div>


<p>A reboot to the server may be necessary.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="407" height="137" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2019_Install_Update_Reboot.png" alt="" class="wp-image-9414" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_Reboot.png 407w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_Reboot-300x101.png 300w" sizes="(max-width: 407px) 100vw, 407px" /><figcaption class="wp-element-caption">Reboot to the server after Installation of the Cumulative Updates</figcaption></figure>
</div>


<h3 class="wp-block-heading">Run SharePoint Products and Configuration Wizard</h3>



<p>To finish the farm update process, you must ensure that after the updates are properly installed, you execute the SharePoint Products and Configuration Wizard that will ensure the following:</p>



<ul class="wp-block-list">
<li>The database schema for all SharePoint databases is updated to the latest version</li>



<li>Copies the required binaries from the install location into the _app_bin directories of all web applications<br></li>



<li>Fixes security settings on the file system to match SharePoint&#8217;s needs</li>



<li>Updates features registrations with SharePoint</li>
</ul>



<p>To start, run the SharePoint Products and Configuration Wizard and select Yes when prompted to reset IIS, SharePoint Administration and SharePoint Timer services.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="615" height="531" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigStart.png" alt="" class="wp-image-9429" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigStart.png 615w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigStart-300x259.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigStart-534x462.png 534w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigStart-486x420.png 486w" sizes="(max-width: 615px) 100vw, 615px" /><figcaption class="wp-element-caption"> SharePoint Products and Configuration Wizard </figcaption></figure>
</div>


<p>Depending on your environment, the process will take some minutes to execute the 10 steps of the process.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="619" height="534" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigProgress.png" alt="" class="wp-image-9432" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigProgress.png 619w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigProgress-300x259.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigProgress-534x462.png 534w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigProgress-487x420.png 487w" sizes="(max-width: 619px) 100vw, 619px" /><figcaption class="wp-element-caption"><em>SharePoint Products and Configuration Wizard </em> (Running)</figcaption></figure>
</div>


<p>After a few minutes, the SharePoint Products Configuration Wizard will finish executing, hopefully with success.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="609" height="527" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigFinish.png" alt="" class="wp-image-9435" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigFinish.png 609w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigFinish-300x260.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigFinish-534x462.png 534w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigFinish-485x420.png 485w" sizes="(max-width: 609px) 100vw, 609px" /><figcaption class="wp-element-caption"> <em>SharePoint Products and Configuration Wizard  (Finished Successfully)</em></figcaption></figure>
</div>


<p>After clicking on Finish, the Central Administration will automatically be launched.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="1188" height="779" src="https://i1.wp.com/blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin.png?fit=696%2C456&amp;ssl=1" alt="" class="wp-image-9439" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin.png 1188w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin-300x197.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin-768x504.png 768w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin-1024x671.png 1024w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin-696x456.png 696w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin-741x486.png 741w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin-1068x700.png 1068w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin-641x420.png 641w" sizes="(max-width: 1188px) 100vw, 1188px" /><figcaption class="wp-element-caption"> <em>SharePoint 2019 Central Administration</em></figcaption></figure>
</div>


<h3 class="wp-block-heading">Post-Installation Steps</h3>



<p>To ensure that the farm was successfully updated, it is important to check that the Databases Upgrade Status page.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="1230" height="566" src="https://i2.wp.com/blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade.png?fit=696%2C320&amp;ssl=1" alt="" class="wp-image-9449" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade.png 1230w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade-300x138.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade-768x353.png 768w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade-1024x471.png 1024w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade-696x320.png 696w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade-1068x491.png 1068w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade-913x420.png 913w" sizes="(max-width: 1230px) 100vw, 1230px" /><figcaption class="wp-element-caption"> <em>SharePoint 2019 Central Administration</em> (Databases Upgrade Status &#8211; databases needing upgrade)d</figcaption></figure>
</div>


<p>If the page shows any database still needing upgrade (showing the &#8220;Database is in compatibility range and upgrade is recommended&#8221; status), some additional steps must be followed.</p>



<p>These steps must also be followed if you encounter the error below while running SharePoint Products and Configuration Wizard, saying that there is a mismatch between SharePoint installed version (after updating the farm) and the database schema version.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="613" height="527" src="https://blogit.create.pt////wp-content/uploads/2019/05/SP2019_Install_Update_PSConfig_DBMismatch_Error-1.png" alt="" class="wp-image-9778" srcset="https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_Install_Update_PSConfig_DBMismatch_Error-1.png 613w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_Install_Update_PSConfig_DBMismatch_Error-1-300x258.png 300w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_Install_Update_PSConfig_DBMismatch_Error-1-489x420.png 489w" sizes="(max-width: 613px) 100vw, 613px" /></figure>
</div>


<p>To ensure all databases are properly upgraded, follow the following steps:</p>



<ul class="wp-block-list">
<li>Upgrade the content databases by executing the following PowerShell command (executed with “run as administrator”):</li>
</ul>



<p><strong>           Get-SPContentDatabase | Upgrade-SPContentDatabase</strong></p>



<ul class="wp-block-list">
<li>Upgrade the remaining content databases, executing the following command (in command prompt with &#8220;run as administrator&#8221;):</li>
</ul>



<p><strong>           Psconfig.exe -cmd upgrade -inplace b2b -wait -force</strong></p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="680" height="629" src="https://blogit.create.pt////wp-content/uploads/2019/05/SP2016_UpdateFarm_DB_UpdateDatabases_CommandPrompt-1.png" alt="" class="wp-image-9790" srcset="https://blogit.create.pt/wp-content/uploads/2019/05/SP2016_UpdateFarm_DB_UpdateDatabases_CommandPrompt-1.png 680w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2016_UpdateFarm_DB_UpdateDatabases_CommandPrompt-1-300x278.png 300w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2016_UpdateFarm_DB_UpdateDatabases_CommandPrompt-1-454x420.png 454w" sizes="(max-width: 680px) 100vw, 680px" /></figure>
</div>


<ul class="wp-block-list">
<li>Run the SharePoint Products and Configuration Wizard (PSCONFIGUI.EXE) again. After running SharePoint Products and Configuration Wizard again, it should run without errors.</li>
</ul>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="609" height="527" src="https://blogit.create.pt////wp-content/uploads/2019/05/SP2019_Install_Update_PSConfigFinish-1.png" alt="" class="wp-image-9780" srcset="https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_Install_Update_PSConfigFinish-1.png 609w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_Install_Update_PSConfigFinish-1-300x260.png 300w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_Install_Update_PSConfigFinish-1-534x462.png 534w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_Install_Update_PSConfigFinish-1-485x420.png 485w" sizes="(max-width: 609px) 100vw, 609px" /></figure>
</div>


<p>To confirm the databases upgrade was successful, go back to the Databases Upgrade Status page. After the previous steps, all SharePoint databases were successfully upgraded.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="974" height="566" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgraded.png" alt="" class="wp-image-9461" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgraded.png 974w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgraded-300x174.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgraded-768x446.png 768w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgraded-696x404.png 696w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgraded-723x420.png 723w" sizes="(max-width: 974px) 100vw, 974px" /><figcaption class="wp-element-caption"> <em>SharePoint 2019 Central Administration (Databases Upgrade Status &#8211; Databases Upgraded)</em></figcaption></figure>
</div>


<p>To ensure the upgrade process was successfully finished, go to the Patch Status page and the Upgrade Status page. </p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="872" height="681" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2016_UpdateFarm_Farm_Upgrade_Patch_Status.png" alt="" class="wp-image-9464" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_Farm_Upgrade_Patch_Status.png 872w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_Farm_Upgrade_Patch_Status-300x234.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_Farm_Upgrade_Patch_Status-768x600.png 768w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_Farm_Upgrade_Patch_Status-696x544.png 696w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_Farm_Upgrade_Patch_Status-538x420.png 538w" sizes="(max-width: 872px) 100vw, 872px" /><figcaption class="wp-element-caption"> <em>SharePoint 2019 Central Administration (Patch Status)</em> </figcaption></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="824" height="228" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgrade_Status.png" alt="" class="wp-image-9468" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgrade_Status.png 824w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgrade_Status-300x83.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgrade_Status-768x213.png 768w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgrade_Status-696x193.png 696w" sizes="(max-width: 824px) 100vw, 824px" /><figcaption class="wp-element-caption"> <em>SharePoint 2019 Central Administration (Upgrade Status) </em></figcaption></figure>
</div>


<h4 class="wp-block-heading">Important Notes</h4>



<p>Some important notes on using SharePoint Products and Configuration Wizard (PSCONFIGUI.EXE) and PSCONFIG.EXE (command line version):</p>



<ul class="wp-block-list">
<li>You should not run PSCONFIG.EXE as a replacement of SharePoint Products and Configuration Wizard (PSCONFIGUI.EXE)
<ul class="wp-block-list">
<li>PSCONFIGUI.EXE is the UI based configuration wizard which performs several tasks one after the other after installing fixes. It is the preferred option to ensure that the SharePoint farm update is completed after installing updates in your SharePoint farm</li>



<li>PSCONFIG.EXE is the command line tool which gives users granular control over all tasks that are executed and which is therefore often quicker than PSCONFIGUI.EXE but if misused will not make all the necessary tasks required after installing updates in your SharePoint farm</li>



<li>If you want to run PSCONFIG.EXE, ensure you run it with the correct parameters: &#8220;PSConfig.exe -cmd upgrade -inplace b2b -wait -cmd applicationcontent -install -cmd installfeatures -cmd secureresources -cmd services -install&#8221;
<ul class="wp-block-list">
<li>Above, I used &#8220;Psconfig.exe -cmd upgrade -inplace b2b -wait -force&#8221; since I already had used  <br>SharePoint Products and Configuration Wizard (PSCONFIGUI.EXE) and the only thing I wanted to ensure was that SharePoint databases schema were upgraded</li>
</ul>
</li>
</ul>
</li>



<li>PSCONFIGUI.EXE should always be executed even when installing SharePoint security updates</li>
</ul>



<p>For more details, check Stefan Goßner&#8217;s articles <a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="https://blog.stefan-gossner.com/2015/08/20/why-i-prefer-psconfigui-exe-over-psconfig-exe/" target="_blank">here </a>and <a rel="noreferrer noopener" aria-label="here (opens in a new tab)" href="https://blog.stefan-gossner.com/2015/09/09/why-we-recommend-require-to-run-the-configuration-wizard-also-for-security-fixes/" target="_blank">here</a>.</p>



<h3 class="wp-block-heading">Troubleshooting</h3>



<p>During an update there are a few errors that can occur while the patch is being validated against your SharePoint environment before is starts being installed. The most common errors are the following:</p>



<ul class="wp-block-list">
<li>&#8220;The expected version of the product was not found on the system&#8221; &#8211; <a rel="noreferrer noopener" aria-label="This article (opens in a new tab)" href="https://blog.stefan-gossner.com/2013/11/20/common-error-message-the-expected-version-of-the-product-was-not-found-on-the-system/" target="_blank">this article</a> by Stefan Goßner explains the error in detail and what can cause it. Basically, SharePoint is typically composed of the following components:
<ul class="wp-block-list">
<li>SharePoint Server or SharePoint Foundation*</li>



<li>SharePoint Server or SharePoint Foundation English Language Pack*</li>



<li>Any additional SharePoint Server or SharePoint Foundation Language Packs*<br><br> * &#8211; SharePoint Foundation existed from SharePoint 2007 to SharePoint 2013 and in SharePoint 2016 and 2019, only SharePoint Server is available<br><br>To solve this error, you must ensure that all components have the same patch level. If any of the installed components has a lower patch level or doesn&#8217;t meet the Cumulative Update Prerequisites, the error above will be shown and you won&#8217;t be able to install the Cumulative Update in your SharePoint farm.<br><br>Example: Install the May 2019 Cumulative Update in a SharePoint 2013 farm that has Service Pack 1 (15.0.4571.1502 patch level). The installed components have the following patch levels:
<ul class="wp-block-list">
<li>SharePoint Server 2013 &#8211; 15.0.4571.1502 (Service Pack 1)</li>



<li>SharePoint Server 2013 English Language Pack &#8211; 15.0.4571.1502 (Service Pack 1) </li>



<li>SharePoint Server 2013 Portuguese Language Pack &#8211; 15.0.4420.1017 (RTM)<br><br>The &#8220;The expected version of the product was not found on the system&#8221; error will be shown since of one of the components (the Portuguese Language Pack) has a lower patch level. To solve this, you must install the  SharePoint Server 2013 Portuguese Language Pack Service Pack 1 (you can get the download link <a rel="noreferrer noopener" aria-label="here (opens in a new tab)" href="https://thesharepointfarm.com/2015/04/list-of-good-sharepoint-2013-service-pack-1-packages/" target="_blank">here</a>)<br><br>To help you to identify the problem, you can use <a rel="noreferrer noopener" aria-label="Roiscan&nbsp; (opens in a new tab)" href="http://technet.microsoft.com/en-us/library/hh221405(v=office.14).aspx#BKMK_DownloadScript" target="_blank">Roiscan&nbsp;</a>which generates a detailed report of all installed Office components, including SharePoint, and verify the patch level of each components.<br><br>You can also take a look at <a rel="noreferrer noopener" aria-label="this article (opens in a new tab)" href="https://blog.stefan-gossner.com/2016/08/09/sharepoint-patching-and-get-spproduct-local/" target="_blank">this article</a> that can help you ensure that the information about all installed patches is correctly updated in the SharePoint configuration database.<br> </li>
</ul>
</li>
</ul>
</li>



<li>&#8220;No product installed for contained patch&#8221; &#8211; this can occur if you are installing a Cumulative Update for the wrong version of SharePoint. The most common case is when you are trying to install the SharePoint Foundation 2013 Cumulative Update in a SharePoint Server 2013 farm. In this case, you only need to install the SharePoint 2013 Server Cumulative Update</li>
</ul>



<p>Other errors can occur while trying to run SharePoint Products and Configuration Wizard after installing the patch:</p>



<ul class="wp-block-list">
<li>&#8220;Feature is referenced in database but isn’t installed on the current farm&#8221; &#8211; this is more common in an farm upgrade scenario (ex: upgrade from SharePoint 2013 to SharePoint 2019) but can also occur while installing a SharePoint Service Pack or Cumulative Update. To learn more details about this error and how to solve it, click <a rel="noreferrer noopener" aria-label="here (opens in a new tab)" href="https://blogit.create.pt////miguelisidoro/2018/09/16/sharepoint-farm-update-how-to-solve-the-feature-is-referenced-in-database-but-isnt-installed-on-the-current-farm-error-in-a-sharepoint-2016-farm/" target="_blank">here</a>.</li>



<li>&#8220;An update conflict has occurred, and you must re-try this action.&#8221; when you run the following command &#8220;Psconfig.exe -cmd upgrade -inplace b2b -wait -force&#8221;. If you take a look at the ULS Logs, you may find messages like &#8220;PSCONFIG.EXE (0x1A8C) UpdatedConcurrencyException: The object SPUpgradeSession Name=Upgrade-20190531-122515-42 was updated by another user. Determine if these changes will conflict, resolve any differences, and reapply the second change. This error may also indicate a programming error caused by obtaining two copies of the same object in a single thread.&#8221;. To solve this problem, execute the following command:<br><br><strong>PSConfig.exe -cmd upgrade -inplace b2b -wait -cmd applicationcontent -install -cmd installfeatures -cmd secureresources</strong><br><br><strong>NOTE: </strong>After solving these issues, to finish the process, run SharePoint Products and Configuration Wizard again.</li>
</ul>



<h2 class="wp-block-heading" id="mce_24">Related Articles</h2>



<p>To learn why your business should migrate to SharePoint Online and Office 365, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-1/" target="_blank">here</a> and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-2/" target="_blank">here</a>.</p>



<p>If you want to convert your tenant&#8217;s root classic site into a modern SharePoint site, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/08/27/how-to-modernize-your-tenant-root-site-collection-in-office-365-using-invoke-spositeswap/" target="_blank">here</a>. </p>



<p>If you are a SharePoint administrator or a SharePoint developer who wants to learn more about how to install a SharePoint 2019 farm in an automated way using PowerShell, I invite you to click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a> and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a>.</p>



<p>If you prefer to use the traditional method to update your farm and want to learn all the steps and precautions necessary to successfully keep your SharePoint farm updated, click <a href="https://blogit.create.pt////miguelisidoro/2019/04/08/how-to-install-sharepoint-cumulative-updates-in-a-sharepoint-farm-step-by-step/" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">here</a>.</p>



<p>If you want to learn how to upgrade a SharePoint 2013 farm to SharePoint 2019, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-1/" target="_blank">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-2/" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">here</a>.</p>



<p>If SharePoint 2019 is still not an option, you can learn more about how to install a SharePoint 2016 farm in an automated way using PowerShell, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a>&nbsp;and&nbsp;<a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a>. </p>



<p>If you want to learn how to upgrade a SharePoint 2010 farm to SharePoint 2016, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/" target="_blank">here </a>and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/" target="_blank">here</a>.</p>



<p>If you are new to SharePoint and Office 365 and want to learn all about it, take a look at these <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/10/17/sharepoint-and-office-365-learning-resources/" target="_blank">learning resources</a>.</p>



<p>If you are work in a large organization who is using Office 365 or thinking to move to Office 365 and is considering between a single or multiple Office 365 tenants, I invite you to read <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/01/07/pros-and-cons-of-single-tenant-vs-multiple-tenants-in-office-365/" target="_blank">this article</a>.</p>



<p>If you want to know all about the latest SharePoint and Office 365 announcements from SharePoint Conference 2019, click <a rel="noreferrer noopener" aria-label="here  (opens in a new tab)" href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-1/" target="_blank">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-2/" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a>.</p>



<p>If your organization is still not ready to go all in to SharePoint Online and Office 365, a hybrid scenario may be the best choice. SharePoint 2019 RTM was recently announced and if you to learn all about SharePoint 2019 and all its features, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/11/01/meet-the-new-modern-sharepoint-server-sharepoint-2019-rtm-is-here/" target="_blank">here</a>.</p>



<p>Happy SharePointing! </p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2019/05/02/how-to-speed-up-the-installation-of-sharepoint-cumulative-updates-using-powershell-step-by-step/">How to install SharePoint Cumulative Updates In Less Than An Hour in a SharePoint Farm Step by Step</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/miguelisidoro/2019/05/02/how-to-speed-up-the-installation-of-sharepoint-cumulative-updates-using-powershell-step-by-step/feed/</wfw:commentRss>
			<slash:comments>19</slash:comments>
		
		
			</item>
		<item>
		<title>How to install SharePoint Cumulative Updates in a SharePoint Farm Step by Step</title>
		<link>https://blogit.create.pt/miguelisidoro/2019/04/08/how-to-install-sharepoint-cumulative-updates-in-a-sharepoint-farm-step-by-step/</link>
					<comments>https://blogit.create.pt/miguelisidoro/2019/04/08/how-to-install-sharepoint-cumulative-updates-in-a-sharepoint-farm-step-by-step/#comments</comments>
		
		<dc:creator><![CDATA[Miguel Isidoro]]></dc:creator>
		<pubDate>Sun, 07 Apr 2019 23:10:59 +0000</pubDate>
				<category><![CDATA[SharePoint 2019]]></category>
		<category><![CDATA[SharePoint 2016]]></category>
		<category><![CDATA[SharePoint 2013]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Collaboration]]></category>
		<category><![CDATA[sharepoint]]></category>
		<guid isPermaLink="false">https://blogit.create.pt/?p=9267</guid>

					<description><![CDATA[<p>This post will explain how you can install Cumulative Updates in your SharePoint farm step by step. The steps described in this post are valid for SharePoint 2010, SharePoint 2013, SharePoint 2016 and SharePoint 2019. This post assumes a single SharePoint server but if you have multiple SharePoint servers, you must follow these steps on [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2019/04/08/how-to-install-sharepoint-cumulative-updates-in-a-sharepoint-farm-step-by-step/">How to install SharePoint Cumulative Updates in a SharePoint Farm Step by Step</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>This post will explain how you can install Cumulative Updates in your SharePoint farm step by step. The steps described in this post are valid for SharePoint 2010, SharePoint 2013, SharePoint 2016 and SharePoint 2019.</p>



<p>This post assumes a single SharePoint server but if you have multiple SharePoint servers, you must follow these steps on all SharePoint servers in your farm.</p>



<p><strong>UPDATE 02/05/2019:</strong></p>



<p>The farm update process can take several hours. If you want to learn how to update your SharePoint farm in less than an hour, using PowerShell click <a href="https://blogit.create.pt////miguelisidoro/2019/05/02/how-to-speed-up-the-installation-of-sharepoint-cumulative-updates-using-powershell-step-by-step/" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a>.</p>



<h2 class="wp-block-heading">Introduction</h2>



<p>The SharePoint world is rapidly moving into the Cloud with SharePoint Online and Office 365, but some organizations are still not ready to move completely to Office 365 and SharePoint Online.</p>



<p>Upgrading to SharePoint 2019 that has support for a hybrid scenario can be a valid solution to allow a gradual move to the cloud.  </p>



<p>Installing a SharePoint 2019 farm can be done in an automated way using PowerShell and <a href="https://autospinstaller.com/" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">AutoSPInstaller.</a> One additional advantage of this installation process ensures that the SharePoint farm is installed with the latest updates, leaving the SharePoint farm updated and working properly (if you want to learn how to install a SharePoint 2019 farm in an automated way, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a>&nbsp;and&nbsp;<a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a><a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">)</a>.</p>



<p>To ensure that after the installation, the SharePoint server is kept always updated, we must ensure that both the Windows Updates and specially the SharePoint Cumulative Updates are properly installed.</p>



<h2 class="wp-block-heading">Installing SharePoint Updates</h2>



<p>To install the latest SharePoint Cumulative Updates in your farm, follow the following steps:</p>



<ul class="wp-block-list">
<li>Download the SharePoint Cumulative Updates </li>



<li>Backup SharePoint Farm and Configurations</li>



<li>Pre-Installation Steps</li>



<li>Install the Cumulative Updates in the SharePoint Farm</li>



<li>Run SharePoint Products and Configuration Wizard</li>



<li>Post-Installation Steps</li>
</ul>



<h3 class="wp-block-heading">Download the SharePoint Cumulative Updates </h3>



<p>All starts by downloading the latest SharePoint Cumulative Updates. To do that, you must download:</p>



<ul class="wp-block-list">
<li>SharePoint 2016 and SharePoint 2019:
<ul class="wp-block-list">
<li>The latest language independent SharePoint updates</li>



<li>The latest language dependent SharePoint updates (even if you just have the English language pack installed in your farm)</li>
</ul>
</li>



<li>SharePoint 2013:
<ul class="wp-block-list">
<li>The latest SharePoint 2013 Server updates (if you have SharePoint 2013 Server installed)</li>



<li>The latest SharePoint Foundation 2013 updates (if you have only SharePoint Foundation 2013 installed). This update is not necessary if you have SharePoint 2013 Server since SharePoint Foundation 2013 is included in SharePoint 2013 Server</li>
</ul>
</li>
</ul>



<p>To stay up to date and download the latest updates, click <a href="https://www.toddklindt.com/blog/Builds/SharePoint-2019-Builds.aspx" target="_blank" rel="noreferrer noopener">here</a> for SharePoint 2019, <a href="https://www.toddklindt.com/blog/Builds/SharePoint-2016-Builds.aspx" target="_blank" rel="noreferrer noopener">here</a> for SharePoint 2016 and <a href="https://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=346" target="_blank" rel="noreferrer noopener">here</a> for SharePoint 2013.</p>



<h3 class="wp-block-heading">Backup SharePoint Farm and Configurations</h3>



<p>Before applying the updates, you should perform the following backups:</p>



<ul class="wp-block-list">
<li>Backup the SharePoint farm by running the following command:  <br><strong><em>Backup-SPFarm -Directory &lt;BackupFolder&gt; -BackupMethod Full -Verbose</em></strong></li>
</ul>



<p>           The backup folder should be a shared folder on the network, accessible by both SharePoint and database servers.</p>



<p>           Ensure the SharePoint Server VSS Writer service is started on the SharePoint server (not started automatically).</p>



<p>           Ensure the SQL Server VSS Writer service is started on the database server.</p>



<p>           For more details about SharePoint farm backup, click <a href="https://docs.microsoft.com/en-us/SharePoint/administration/prepare-to-back-up-and-restore" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">here</a>, <a rel="noreferrer noopener" aria-label="here  (opens in a new tab)" href="https://docs.microsoft.com/en-us/sharepoint/administration/back-up-a-farm" target="_blank">here </a>and <a rel="noreferrer noopener" aria-label="here (opens in a new tab)" href="https://docs.microsoft.com/en-us/sharepoint/administration/best-practices-for-backup-and-restore" target="_blank">here</a></p>



<ul class="wp-block-list">
<li>Backup all SharePoint databases in the database server that supports the SharePoint farm using SQL Server Enterprise tools</li>



<li>Backup the web.config files for all web applications</li>



<li>If you have custom developed solutions using server-side code, backup the solutions. To make this easier, you can download a <a rel="noreferrer noopener" aria-label="PowerShell script (opens in a new tab)" href="https://github.com/miguelisidoro/SharePoint/blob/master/PowerShell/SharePoint2019/Export-WSP.ps1" target="_blank">PowerShell script</a> from my GitHub repository  </li>
</ul>



<h3 class="wp-block-heading">Pre-Installation Steps</h3>



<p>To ensure that no crawls are started or running during the Cumulative Update installation, it is very import to suspend the Search Service. If a search crawl was triggered during the installation, the Search Application could get corrupted and you could be forced to rebuild the entire Search Service Application, recreate any custom managed properties and perform a Full Crawl again to ensure you have search results and all search based solutions work properly.</p>



<p>To avoid these problems and ensure there are no search crawls running during the installation, execute the following PowerShell command:</p>



<p><strong><em>Suspend-SPEnterpriseSearchServiceApplication –Identity “&lt;Search Service Application Name&gt;”</em></strong></p>



<h3 class="wp-block-heading">Install the Cumulative Updates in the SharePoint Farm</h3>



<p>After downloading the latest updates and taking the necessary precautions, you are ready to install them in your SharePoint farm. </p>



<p>First, install the language independent update:</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="492" height="68" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2019_Install_Update.png" alt="" class="wp-image-9388" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update.png 492w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update-300x41.png 300w" sizes="(max-width: 492px) 100vw, 492px" /><figcaption class="wp-element-caption">Installing the latest language independent update </figcaption></figure>
</div>


<p>The update will take a few minutes, depending on your server capabilities.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="478" height="163" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2019_Install_Update_Progress.png" alt="" class="wp-image-9412" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_Progress.png 478w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_Progress-300x102.png 300w" sizes="(max-width: 478px) 100vw, 478px" /><figcaption class="wp-element-caption"><em>Installing the latest language independent update</em> (In Progress)</figcaption></figure>
</div>


<p>After a few minutes, the update finishes the installation and a reboot to the server is necessary.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="407" height="137" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2019_Install_Update_Reboot.png" alt="" class="wp-image-9414" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_Reboot.png 407w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_Reboot-300x101.png 300w" sizes="(max-width: 407px) 100vw, 407px" /><figcaption class="wp-element-caption"> <em>Installing the latest language independent update (Finished</em>) </figcaption></figure>
</div>


<p>If you have a language dependent update, install it after installing the language independent update:</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="497" height="68" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2019_Install_Update_Language_Pack.png" alt="" class="wp-image-9390" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_Language_Pack.png 497w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_Language_Pack-300x41.png 300w" sizes="(max-width: 497px) 100vw, 497px" /><figcaption class="wp-element-caption"> <em>Installing the latest language dependent update </em> </figcaption></figure>
</div>


<p>The update will take a few minutes, depending on your server capabilities. In my case, I installed the Portuguese (Portugal) Language Pack Cumulative Update.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="503" height="172" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2019_Install_Update_Language_Pack_Progress.png" alt="" class="wp-image-9420" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_Language_Pack_Progress.png 503w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_Language_Pack_Progress-300x103.png 300w" sizes="(max-width: 503px) 100vw, 503px" /><figcaption class="wp-element-caption"> <br><em>Installing the latest language dependent update (In Progress)</em> </figcaption></figure>
</div>


<p>After a few minutes, the update finishes the installation.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="467" height="148" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2019_Install_Update_Language_Pack_Finished.png" alt="" class="wp-image-9423" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_Language_Pack_Finished.png 467w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_Language_Pack_Finished-300x95.png 300w" sizes="(max-width: 467px) 100vw, 467px" /><figcaption class="wp-element-caption"> <em>Installing the latest language dependent update (Finished) </em> </figcaption></figure>
</div>


<h3 class="wp-block-heading">Run SharePoint Products and Configuration Wizard</h3>



<p>To finish the farm update process, you must ensure that after the updates are properly installed, you execute the SharePoint Products and Configuration Wizard that will ensure the following:</p>



<ul class="wp-block-list">
<li>The database schema for all SharePoint databases is updated to the latest version</li>



<li>Copies the required binaries from the install location into the _app_bin directories of all web applications<br></li>



<li>Fixes security settings on the file system to match SharePoint&#8217;s needs</li>



<li>Updates features registrations with SharePoint</li>
</ul>



<p>To start, run the SharePoint Products and Configuration Wizard and select Yes when prompted to reset IIS, SharePoint Administration and SharePoint Timer services.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="615" height="531" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigStart.png" alt="" class="wp-image-9429" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigStart.png 615w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigStart-300x259.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigStart-534x462.png 534w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigStart-486x420.png 486w" sizes="(max-width: 615px) 100vw, 615px" /><figcaption class="wp-element-caption"> SharePoint Products and Configuration Wizard </figcaption></figure>
</div>


<p>Depending on your environment, the process will take some minutes to execute the 10 steps of the process.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="619" height="534" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigProgress.png" alt="" class="wp-image-9432" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigProgress.png 619w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigProgress-300x259.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigProgress-534x462.png 534w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigProgress-487x420.png 487w" sizes="(max-width: 619px) 100vw, 619px" /><figcaption class="wp-element-caption"><em>SharePoint Products and Configuration Wizard </em> (Running)</figcaption></figure>
</div>


<p>After a few minutes, the SharePoint Products Configuration Wizard will finish executing, hopefully with success.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="609" height="527" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigFinish.png" alt="" class="wp-image-9435" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigFinish.png 609w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigFinish-300x260.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigFinish-534x462.png 534w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_Install_Update_PSConfigFinish-485x420.png 485w" sizes="(max-width: 609px) 100vw, 609px" /><figcaption class="wp-element-caption"> <em>SharePoint Products and Configuration Wizard  (Finished Successfully)</em></figcaption></figure>
</div>


<p>After clicking on Finish, the Central Administration will automatically be launched.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="1188" height="779" src="https://i1.wp.com/blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin.png?fit=696%2C456&amp;ssl=1" alt="" class="wp-image-9439" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin.png 1188w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin-300x197.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin-768x504.png 768w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin-1024x671.png 1024w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin-696x456.png 696w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin-741x486.png 741w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin-1068x700.png 1068w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2019_CentralAdmin-641x420.png 641w" sizes="(max-width: 1188px) 100vw, 1188px" /><figcaption class="wp-element-caption"> <em>SharePoint 2019 Central Administration</em></figcaption></figure>
</div>


<h3 class="wp-block-heading" id="mce_17">Post-Installation Steps</h3>



<p>To ensure that the farm was successfully updated, it is important to check that the Databases Upgrade Status page.</p>



<figure class="wp-block-image"><img decoding="async" width="1230" height="566" src="https://i2.wp.com/blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade.png?fit=696%2C320&amp;ssl=1" alt="" class="wp-image-9449" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade.png 1230w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade-300x138.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade-768x353.png 768w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade-1024x471.png 1024w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade-696x320.png 696w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade-1068x491.png 1068w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_NeedUpgrade-913x420.png 913w" sizes="(max-width: 1230px) 100vw, 1230px" /><figcaption class="wp-element-caption"> <em>SharePoint 2019 Central Administration</em> (Databases Upgrade Status &#8211; databases needing upgrade)d</figcaption></figure>



<p>If the page shows any database still needing upgrade (showing the &#8220;Database is in compatibility range and upgrade is recommended&#8221; status), some additional steps must be followed.</p>



<p>These steps must also be followed if you encounter the error below while running SharePoint Products and Configuration Wizard, saying that there is a mismatch between SharePoint installed version (after updating the farm) and the database schema version.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="613" height="527" src="https://blogit.create.pt////wp-content/uploads/2019/05/SP2019_Install_Update_PSConfig_DBMismatch_Error-2.png" alt="" class="wp-image-9782" srcset="https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_Install_Update_PSConfig_DBMismatch_Error-2.png 613w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_Install_Update_PSConfig_DBMismatch_Error-2-300x258.png 300w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_Install_Update_PSConfig_DBMismatch_Error-2-489x420.png 489w" sizes="(max-width: 613px) 100vw, 613px" /></figure>
</div>


<p>To ensure all databases are properly upgraded, follow the following steps:</p>



<ul class="wp-block-list">
<li>Upgrade the content databases by executing the following PowerShell command (executed with “run as administrator”):</li>
</ul>



<p><strong>           Get-SPContentDatabase | Upgrade-SPContentDatabase</strong></p>



<ul class="wp-block-list">
<li>Upgrade the remaining content databases, executing the following command (in command prompt with &#8220;run as administrator&#8221;):</li>
</ul>



<p><strong>           Psconfig.exe -cmd upgrade -inplace b2b -wait -force</strong></p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="680" height="629" src="https://blogit.create.pt////wp-content/uploads/2019/05/SP2016_UpdateFarm_DB_UpdateDatabases_CommandPrompt.png" alt="" class="wp-image-9788" srcset="https://blogit.create.pt/wp-content/uploads/2019/05/SP2016_UpdateFarm_DB_UpdateDatabases_CommandPrompt.png 680w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2016_UpdateFarm_DB_UpdateDatabases_CommandPrompt-300x278.png 300w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2016_UpdateFarm_DB_UpdateDatabases_CommandPrompt-454x420.png 454w" sizes="(max-width: 680px) 100vw, 680px" /></figure>
</div>


<ul class="wp-block-list">
<li>Run the SharePoint Products and Configuration Wizard (PSCONFIGUI.EXE) again. After running SharePoint Products and Configuration Wizard again, it should run without errors.</li>
</ul>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="609" height="527" src="https://blogit.create.pt////wp-content/uploads/2019/05/SP2019_Install_Update_PSConfigFinish-2.png" alt="" class="wp-image-9784" srcset="https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_Install_Update_PSConfigFinish-2.png 609w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_Install_Update_PSConfigFinish-2-300x260.png 300w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_Install_Update_PSConfigFinish-2-534x462.png 534w, https://blogit.create.pt/wp-content/uploads/2019/05/SP2019_Install_Update_PSConfigFinish-2-485x420.png 485w" sizes="(max-width: 609px) 100vw, 609px" /></figure>
</div>


<p>To confirm the databases upgrade was successful, go back to the Databases Upgrade Status page. After the previous steps, all SharePoint databases were successfully upgraded.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="974" height="566" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgraded.png" alt="" class="wp-image-9461" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgraded.png 974w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgraded-300x174.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgraded-768x446.png 768w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgraded-696x404.png 696w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgraded-723x420.png 723w" sizes="(max-width: 974px) 100vw, 974px" /><figcaption class="wp-element-caption"> <em>SharePoint 2019 Central Administration (Databases Upgrade Status &#8211; Databases Upgraded)</em></figcaption></figure>
</div>


<p>To ensure the upgrade process was successfully finished, go to the Patch Status page and the Upgrade Status page. </p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="872" height="681" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2016_UpdateFarm_Farm_Upgrade_Patch_Status.png" alt="" class="wp-image-9464" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_Farm_Upgrade_Patch_Status.png 872w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_Farm_Upgrade_Patch_Status-300x234.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_Farm_Upgrade_Patch_Status-768x600.png 768w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_Farm_Upgrade_Patch_Status-696x544.png 696w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_Farm_Upgrade_Patch_Status-538x420.png 538w" sizes="(max-width: 872px) 100vw, 872px" /><figcaption class="wp-element-caption"> <em>SharePoint 2019 Central Administration (Patch Status)</em> </figcaption></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="824" height="228" src="https://blogit.create.pt////wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgrade_Status.png" alt="" class="wp-image-9468" srcset="https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgrade_Status.png 824w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgrade_Status-300x83.png 300w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgrade_Status-768x213.png 768w, https://blogit.create.pt/wp-content/uploads/2019/04/SP2016_UpdateFarm_DB_Upgrade_Status-696x193.png 696w" sizes="(max-width: 824px) 100vw, 824px" /><figcaption class="wp-element-caption"> <em>SharePoint 2019 Central Administration (Upgrade Status) </em> </figcaption></figure>
</div>


<p>Finally, after the farm is updated, you can resume the Search Service Application, running the following PowerShell command:</p>



<p><strong><em>Resume-SPEnterpriseSearchServiceApplication –Identity “&lt;Search Service Application Name&gt;”</em></strong></p>



<h4 class="wp-block-heading">Important Notes</h4>



<p>Some important notes on using SharePoint Products and Configuration Wizard (PSCONFIGUI.EXE) and PSCONFIG.EXE (command line version):</p>



<ul class="wp-block-list">
<li>You should not run PSCONFIG.EXE as a replacement of SharePoint Products and Configuration Wizard (PSCONFIGUI.EXE)
<ul class="wp-block-list">
<li>PSCONFIGUI.EXE is the UI based configuration wizard which performs several tasks one after the other after installing fixes. It is the preferred option to ensure that the SharePoint farm update is completed after installing updates in your SharePoint farm</li>



<li>PSCONFIG.EXE is the command line tool which gives users granular control over all tasks that are executed and which is therefore often quicker than PSCONFIGUI.EXE but if misused will not make all the necessary tasks required after installing updates in your SharePoint farm</li>



<li>If you want to run PSCONFIG.EXE, ensure you run it with the correct parameters: &#8220;PSConfig.exe -cmd upgrade -inplace b2b -wait -cmd applicationcontent -install -cmd installfeatures -cmd secureresources -cmd services -install&#8221;
<ul class="wp-block-list">
<li>Above, I used &#8220;Psconfig.exe -cmd upgrade -inplace b2b -wait -force&#8221; since I already had used  <br>SharePoint Products and Configuration Wizard (PSCONFIGUI.EXE) and the only thing I wanted to ensure was that SharePoint databases schema were upgraded</li>
</ul>
</li>
</ul>
</li>



<li>PSCONFIGUI.EXE should always be executed even when installing SharePoint security updates</li>
</ul>



<p>For more details, check Stefan Goßner&#8217;s articles <a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="https://blog.stefan-gossner.com/2015/08/20/why-i-prefer-psconfigui-exe-over-psconfig-exe/" target="_blank">here </a>and <a rel="noreferrer noopener" aria-label="here (opens in a new tab)" href="https://blog.stefan-gossner.com/2015/09/09/why-we-recommend-require-to-run-the-configuration-wizard-also-for-security-fixes/" target="_blank">here</a>.</p>



<h3 class="wp-block-heading">Troubleshooting</h3>



<p>During an update there are a few errors that can occur while the patch is being validated against your SharePoint environment before is starts being installed. The most common errors are the following:</p>



<ul class="wp-block-list">
<li>&#8220;The expected version of the product was not found on the system&#8221; &#8211; <a rel="noreferrer noopener" href="https://blog.stefan-gossner.com/2013/11/20/common-error-message-the-expected-version-of-the-product-was-not-found-on-the-system/" target="_blank">this article</a> by Stefan Goßner explains the error in detail and what can cause it. Basically, SharePoint is typically composed of the following components:
<ul class="wp-block-list">
<li>SharePoint Server or SharePoint Foundation*</li>



<li>SharePoint Server or SharePoint Foundation English Language Pack*</li>



<li>Any additional SharePoint Server or SharePoint Foundation Language Packs*<br><br> * &#8211; SharePoint Foundation existed from SharePoint 2007 to SharePoint 2013 and in SharePoint 2016 and 2019, only SharePoint Server is available<br><br>To solve this error, you must ensure that all components have the same patch level. If any of the installed components has a lower patch level or doesn&#8217;t meet the Cumulative Update Prerequisites, the error above will be shown and you won&#8217;t be able to install the Cumulative Update in your SharePoint farm.<br><br>Example: Install the May 2019 Cumulative Update in a SharePoint 2013 farm that has Service Pack 1 (15.0.4571.1502 patch level). The installed components have the following patch levels:SharePoint Server 2013 &#8211; 15.0.4571.1502 (Service Pack 1)<br>SharePoint Server 2013 English Language Pack &#8211; 15.0.4571.1502 (Service Pack 1) <br>SharePoint Server 2013 Portuguese Language Pack &#8211; 15.0.4420.1017 (RTM)<br><br>The &#8220;The expected version of the product was not found on the system&#8221; error will be shown since of one of the components (the Portuguese Language Pack) has a lower patch level. To solve this, you must install the  SharePoint Server 2013 Portuguese Language Pack Service Pack 1 (you can get the download link <a rel="noreferrer noopener" href="https://thesharepointfarm.com/2015/04/list-of-good-sharepoint-2013-service-pack-1-packages/" target="_blank">here</a>)<br><br>To help you to identify the problem, you can use <a rel="noreferrer noopener" href="http://technet.microsoft.com/en-us/library/hh221405(v=office.14).aspx#BKMK_DownloadScript" target="_blank">Roiscan&nbsp;</a>which generates a detailed report of all installed Office components, including SharePoint, and verify the patch level of each components.<br><br>You can also take a look at <a rel="noreferrer noopener" href="https://blog.stefan-gossner.com/2016/08/09/sharepoint-patching-and-get-spproduct-local/" target="_blank">this article</a> that can help you ensure that the information about all installed patches is correctly updated in the SharePoint configuration database. </li>
</ul>
</li>



<li>&#8220;No product installed for contained patch&#8221; &#8211; this can occur if you are installing a Cumulative Update for the wrong version of SharePoint. The most common case is when you are trying to install the SharePoint Foundation 2013 Cumulative Update in a SharePoint Server 2013 farm. In this case, you only need to install the SharePoint 2013 Server Cumulative Update </li>
</ul>



<p>Other errors can occur while trying to run SharePoint Products and Configuration Wizard after installing the patch:</p>



<ul class="wp-block-list">
<li>&#8220;Feature is referenced in database but isn’t installed on the current farm&#8221; &#8211; this is more common in an farm upgrade scenario (ex: upgrade from SharePoint 2013 to SharePoint 2019) but can also occur while installing a SharePoint Service Pack or Cumulative Update. To learn more details about this error and how to solve it, click <a rel="noreferrer noopener" aria-label="here (opens in a new tab)" href="https://blogit.create.pt////miguelisidoro/2018/09/16/sharepoint-farm-update-how-to-solve-the-feature-is-referenced-in-database-but-isnt-installed-on-the-current-farm-error-in-a-sharepoint-2016-farm/" target="_blank">here</a>.</li>



<li>&#8220;An update conflict has occurred, and you must re-try this action.&#8221; when you run the following command &#8220;Psconfig.exe -cmd upgrade -inplace b2b -wait -force&#8221;. If you take a look at the ULS Logs, you may find messages like &#8220;PSCONFIG.EXE (0x1A8C) UpdatedConcurrencyException: The object SPUpgradeSession Name=Upgrade-20190531-122515-42 was updated by another user. Determine if these changes will conflict, resolve any differences, and reapply the second change. This error may also indicate a programming error caused by obtaining two copies of the same object in a single thread.&#8221;. To solve this problem, execute the following command:<br><br><strong>PSConfig.exe -cmd upgrade -inplace b2b -wait -cmd applicationcontent -install -cmd installfeatures -cmd secureresources</strong><br><br><strong>NOTE: </strong>After solving these issues, to finish the process, run SharePoint Products and Configuration Wizard again.</li>
</ul>



<h2 class="wp-block-heading" id="mce_24">Related Articles</h2>



<p>To learn why your business should migrate to SharePoint Online and Office 365, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-1/" target="_blank">here</a> and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-2/" target="_blank">here</a>.</p>



<p>If you want to convert your tenant&#8217;s root classic site into a modern SharePoint site, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/08/27/how-to-modernize-your-tenant-root-site-collection-in-office-365-using-invoke-spositeswap/" target="_blank">here</a>.</p>



<p>If you are a SharePoint administrator or a SharePoint developer who wants to learn more about how to install a SharePoint 2019 farm in an automated way using PowerShell, I invite you to click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a> and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a>.</p>



<p>If you learn how to greatly speed up your SharePoint farm update process to ensure your SharePoint farm keeps updated and you stay one step closer to start your move to the cloud, click <a href="https://blogit.create.pt////miguelisidoro/2019/05/02/how-to-speed-up-the-installation-of-sharepoint-cumulative-updates-using-powershell-step-by-step/" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a>.</p>



<p>If you want to learn how to upgrade a SharePoint 2013 farm to SharePoint 2019, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-1/" target="_blank">here </a>and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-2/" target="_blank">here</a>.</p>



<p>If SharePoint 2019 is still not an option, you can learn more about how to install a SharePoint 2016 farm in an automated way using PowerShell, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a>&nbsp;and&nbsp;<a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a>. </p>



<p>If you want to learn how to upgrade a SharePoint 2010 farm to SharePoint 2016, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/" target="_blank">here </a>and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/" target="_blank">here</a>.</p>



<p>If you are new to SharePoint and Office 365 and want to learn all about it, take a look at these <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/10/17/sharepoint-and-office-365-learning-resources/" target="_blank">learning resources</a>.</p>



<p>If you are work in a large organization who is using Office 365 or thinking to move to Office 365 and is considering between a single or multiple Office 365 tenants, I invite you to read <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/01/07/pros-and-cons-of-single-tenant-vs-multiple-tenants-in-office-365/" target="_blank">this article</a>.</p>



<p> If you want to know all about the latest SharePoint and Office 365 announcements from SharePoint Conference 2019, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-1/" target="_blank">here </a>and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-2/" target="_blank">here</a>. </p>



<p>If your organization is still not ready to go all in to SharePoint Online and Office 365, a hybrid scenario may be the best choice. SharePoint 2019 RTM was recently announced and if you to learn all about SharePoint 2019 and all its features, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/11/01/meet-the-new-modern-sharepoint-server-sharepoint-2019-rtm-is-here/" target="_blank">here</a>.</p>



<p>Happy SharePointing! </p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2019/04/08/how-to-install-sharepoint-cumulative-updates-in-a-sharepoint-farm-step-by-step/">How to install SharePoint Cumulative Updates in a SharePoint Farm Step by Step</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/miguelisidoro/2019/04/08/how-to-install-sharepoint-cumulative-updates-in-a-sharepoint-farm-step-by-step/feed/</wfw:commentRss>
			<slash:comments>12</slash:comments>
		
		
			</item>
		<item>
		<title>How to upgrade from SharePoint 2010 to SharePoint 2016 Step by Step (Part 2)</title>
		<link>https://blogit.create.pt/miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/</link>
					<comments>https://blogit.create.pt/miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/#respond</comments>
		
		<dc:creator><![CDATA[Miguel Isidoro]]></dc:creator>
		<pubDate>Mon, 04 Feb 2019 00:43:15 +0000</pubDate>
				<category><![CDATA[SharePoint 2016]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Upgrade]]></category>
		<guid isPermaLink="false">https://blogit.create.pt/?p=8809</guid>

					<description><![CDATA[<p>This post is the second part of a two part step by step tutorial on how to migrate a SharePoint 2010 farm to SharePoint 2016. To read the first part, click here. Introduction The SharePoint world is rapidly moving into the Cloud with SharePoint Online and Office 365, but some organizations are still not ready [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/">How to upgrade from SharePoint 2010 to SharePoint 2016 Step by Step (Part 2)</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>This post is the second part of a two part step by step tutorial on how to migrate a SharePoint 2010 farm to SharePoint 2016.</p>



<p>To read the first part, click <a rel="noreferrer noopener" aria-label="here (opens in a new tab)" href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/" target="_blank">her</a><a href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/" target="_blank" rel="noreferrer noopener" aria-label="e (opens in a new tab)">e</a>.</p>



<h2 class="wp-block-heading">Introduction</h2>



<p>The SharePoint world is rapidly moving into the Cloud with SharePoint Online and Office 365, but some organizations are still not ready to move completely to Office 365 and SharePoint Online.</p>



<p>Upgrading to SharePoint 2016 or SharePoint 2019 that have support for hybrid scenarios can be a valid solution.</p>



<p>This post is based on upgrading a SharePoint 2010 farm into SharePoint 2016 using the database attach approach but should also be valid if you want to upgrade to SharePoint 2019. This post assumes that the we will only migrate the content database(s) from the source SharePoint 2010 to SharePoint 2016 and all other SharePoint databases are created in the target SharePoint 2016 farm during its installation process.</p>



<p>If you want to learn more about how to install a SharePoint 2016 farm in an automated way using PowerShell, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a>&nbsp;and&nbsp;<a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a>. </p>



<p>There is another valid migration approach to migrate from SharePoint 2010 to SharePoint 2016 by using content migration. In this approach, the upgrade is not based in a database upgrade process but on content migration and typically a 3rd party solution is necessary to do the content migration. A few 3rd party solutions that can do the job are <a rel="noreferrer noopener" href="https://sharegate.com/products/sharegate-desktop" target="_blank">ShareGate</a>, <a rel="noreferrer noopener" href="https://www.avepoint.com/products/hybrid/office-365-migration/" target="_blank">AvePoint</a> and <a rel="noreferrer noopener" href="https://www.quest.com/metalogix/" target="_blank">Metalogix</a>. </p>



<p>Upgrading a SharePoint farm using the database attach approach can be a complex task and the upgrade process is composed by a series of steps:</p>



<ul class="wp-block-list"><li>Migrating Custom Developed Solutions from SharePoint 2010 to SharePoint 2016 (outside of the scope of this post)</li><li>Upgrade to a temporary SharePoint 2013 farm</li><li>Upgrade to the target SharePoint 2016 farm</li></ul>



<p><strong>IMPORTANT NOTE:&nbsp;</strong>In a typical upgrade process, the below steps should be performed twice if there are custom developed solutions:</p>



<ul class="wp-block-list"><li>The first time, to test the migration process and allow custom developed solutions to be properly migrated and tested by the end users</li><li>The second time, to perform the final migration, after all custom developed solutions are migrated and tested by the end users</li></ul>



<p>This post will cover: </p>



<ul class="wp-block-list"><li>Upgrade to the target SharePoint 2016 farm</li></ul>



<h2 class="wp-block-heading">Upgrade to the target SharePoint 2016 farm</h2>



<p><strong>IMPORTANT NOTES: </strong></p>



<ul class="wp-block-list"><li>Migrating from SharePoint 2010 directly to SharePoint 2016 is not supported. To migrate from SharePoint 2010 to SharePoint 2016 we must first migrate to a temporary SharePoint 2013 farm and then migrate to SharePoint 2016</li><li>To to be able to migrate to SharePoint 2016, the temporary SharePoint 2013 farm must at least have the March 2013 Public Update installed. For more details, click <a rel="noreferrer noopener" href="https://docs.microsoft.com/en-us/sharepoint/upgrade-and-update/overview-of-the-upgrade-process" target="_blank">here</a></li></ul>



<p>The migration is performed using the database attach upgrade method (the only supported method to upgrade from SharePoint 2010 to SharePoint 2016 using a database upgrade approach). </p>



<p>In the upgrade process, for both the temporary SharePoint 2013 and the target SharePoint 2016 farms, you should create an empty web application so that a valid SharePoint content database is created. To learn more on how to install a SharePoint 2016 farm (process also valid for SharePoint 2013), click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a>&nbsp;and&nbsp;<a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a>.</p>



<p>After having all custom developed solutions migrated to SharePoint 2016 (if there are any), you should follow the following steps:</p>



<ul class="wp-block-list"><li><strong>SharePoint 2013: </strong> Go to &#8220;Manage content databases&#8221; in Central Administration, select the web application and then the option &#8220;Remove content database&#8221;. This will make the web application unattached from any web application in the temporary SharePoint 2013 farm</li></ul>



<figure class="wp-block-image"><img decoding="async" width="1021" height="742" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1.png" alt="" class="wp-image-8825" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1.png 1021w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1-300x218.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1-768x558.png 768w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1-324x235.png 324w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1-696x506.png 696w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1-578x420.png 578w" sizes="(max-width: 1021px) 100vw, 1021px" /><figcaption> <br>Remove Content Database from SharePoint 2013 farm</figcaption></figure>



<ul class="wp-block-list"><li><strong>SharePoint 2013 Database Server </strong>(<strong>final migration only</strong>)<strong>:</strong> Place the database in read-write mode so that users will be able to change content in the target SharePoint 2016 farm. This can be achieved by the following T-SQL command: ALTER DATABASE &lt;CONTENT_DB_NAME&gt; SET read_write</li><li><strong>SharePoint 2013 Database Server:</strong> Backup of the content database(s) </li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="618" height="428" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB.png" alt="" class="wp-image-8752" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB.png 618w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB-300x208.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB-100x70.png 100w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB-218x150.png 218w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB-606x420.png 606w" sizes="(max-width: 618px) 100vw, 618px" /><figcaption>Backup the SharePoint 2013 content database</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2013 (final migration only): </strong> Go to &#8220;Manage content databases&#8221; in Central Administration, select the web application, then the option &#8220;Add content database&#8221; and finally select the name of the content database previously removed. This will make the web application available again in the temporary SharePoint 2013 farm</li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="1350" height="361" src="https://i1.wp.com/blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB.png?fit=696%2C186&amp;ssl=1" alt="" class="wp-image-8972" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB.png 1350w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB-300x80.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB-768x205.png 768w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB-1024x274.png 1024w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB-696x186.png 696w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB-1068x286.png 1068w" sizes="(max-width: 1350px) 100vw, 1350px" /><figcaption>Add content database</figcaption></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="1311" height="569" src="https://i0.wp.com/blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB_Confirm.png?fit=696%2C302&amp;ssl=1" alt="" class="wp-image-8973" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB_Confirm.png 1311w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB_Confirm-300x130.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB_Confirm-768x333.png 768w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB_Confirm-1024x444.png 1024w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB_Confirm-696x302.png 696w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB_Confirm-1068x464.png 1068w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_AddContentDB_Confirm-968x420.png 968w" sizes="(max-width: 1311px) 100vw, 1311px" /><figcaption> Add content database (confirmation) </figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2016 Database Server:</strong> Copy the database backup file from the temporary SharePoint 2013 database server to the database server that supports the target SharePoint 2016 farm</li><li><strong>SharePoint 2016:&nbsp;</strong> Go to &#8220;Manage content databases&#8221; in Central Administration, select the web application where you want to migrate to and then the option &#8220;Remove content database&#8221;. This will make the database unattached from any web application.</li></ul>



<figure class="wp-block-image"><img decoding="async" width="1411" height="761" src="https://i0.wp.com/blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB.png?fit=696%2C375&amp;ssl=1" alt="" class="wp-image-8829" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB.png 1411w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB-300x162.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB-768x414.png 768w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB-1024x552.png 1024w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB-696x375.png 696w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB-1068x576.png 1068w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_RemoveContentDB-779x420.png 779w" sizes="(max-width: 1411px) 100vw, 1411px" /><figcaption>Remove Content Database from SharePoint 2016 farm</figcaption></figure>



<ul class="wp-block-list"><li><strong>SharePoint 2016 Database Server:</strong> Restore the content database backup from the temporary SharePoint 2013 database server. The restore must replace the content database that was created during the SharePoint 2016 installation.</li></ul>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img decoding="async" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2013_Upgrade_RestoreContentDB.png" alt="" class="wp-image-8765" width="403" height="281" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RestoreContentDB.png 354w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RestoreContentDB-300x209.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RestoreContentDB-100x70.png 100w" sizes="(max-width: 403px) 100vw, 403px" /><figcaption> Restore the temporary SharePoint 2013 content database in the SharePoint 2016 database server</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2016:&nbsp;</strong> If you have custom developed farm solutions, deploy all the migrated WSPs in the target SharePoint 2016 farm.</li><li><strong>SharePoint 2016&nbsp;</strong> Execute the first of a series of PowerShell commands to associate the restored content database to the SharePoint 2016 farm (in this example the web application URL is http://sp2016): Test-SPContentDatabase -Name &lt;Content_DB_Name&gt; -WebApplication http://sp2016<br> <ul><li>This PowerShell cmdlet will test the content database against the web application to verify if all customizations referenced within the content database are also installed in the farm</li><li>In my case, I got some missing features errors but none of them are upgrade blocking </li></ul></li></ul>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img decoding="async" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2013_Upgrade_PSTestSPContentDB.png" alt="" class="wp-image-8776" width="613" height="311" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_PSTestSPContentDB.png 491w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_PSTestSPContentDB-300x152.png 300w" sizes="(max-width: 613px) 100vw, 613px" /><figcaption>Test-SPContentDatabase cmdlet result</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2016:&nbsp;</strong> Execute the second of a series of PowerShell commands to associate the restored content database to the SharePoint 2016 farm: Mount-SPContentDatabase -Name &#8220;&lt;Content_DB_Name&gt;&#8221; -DatabaseServer &#8220;&lt;DBAlias&gt;&#8221; -WebApplication &#8220;http://sp2016&#8221; <ul><li>This PowerShell cmdlet attaches an existing content database to a web application</li><li>In my case, no errors or warnings were shown </li></ul></li></ul>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img decoding="async" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2016_Upgrade_PSMountSPContentDB.png" alt="" class="wp-image-8847" width="590" height="228" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSMountSPContentDB.png 560w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSMountSPContentDB-300x116.png 300w" sizes="(max-width: 590px) 100vw, 590px" /><figcaption> Mount-SPContentDatabase cmdlet result</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2016:&nbsp;</strong> Execute the third of a series of PowerShell commands to associate the restored content database to the SharePoint 2016 farm: Test-SPSite http://sp2016 <ul><li>This PowerShell cmdlet runs a series of health checks on the site collection and its contents</li><li>In my case, I got a warning but once again nothing that is upgrade blocking </li></ul></li></ul>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img decoding="async" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2016_Upgrade_PSTestSPSite.png" alt="" class="wp-image-8849" width="604" height="218" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSTestSPSite.png 752w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSTestSPSite-300x109.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSTestSPSite-696x252.png 696w" sizes="(max-width: 604px) 100vw, 604px" /><figcaption> Test-SPSite cmdlet result</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2016:&nbsp;</strong> Execute the fourth of a series of PowerShell commands to associate the restored content database to the SharePoint 2016 farm: Repair-SPSite -identity http://sp2016 <ul><li>This PowerShell cmdlet is similar to the Test-SPSite cmdlet but fixes any issues that it finds</li><li>The result was identical to the Test-SPSite cmdlet: no upgrading blocking issues were found </li></ul></li></ul>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img decoding="async" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2016_Upgrade_PSRepairSPSite.png" alt="" class="wp-image-8851" width="603" height="214" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSRepairSPSite.png 758w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSRepairSPSite-300x107.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSRepairSPSite-696x248.png 696w" sizes="(max-width: 603px) 100vw, 603px" /><figcaption> Repair-SPSite cmdlet result</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2016:&nbsp;</strong> Execute the fifth of a series of PowerShell commands to associate the restored content database to the SharePoint 2016 farm: Upgrade-SPSite http://sp2016 -VersionUpgrade <ul><li>This PowerShell cmdlet will upgrade the site collections associated to the web application to SharePoint 2016 mode. Before this cmdlet was executed, the site collections were still in SharePoint 2013 mode. </li></ul></li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="550" height="40" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2016_Upgrade_PSUpgradeSPSite.png" alt="" class="wp-image-8852" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSUpgradeSPSite.png 550w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSUpgradeSPSite-300x22.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSUpgradeSPSite-533x40.png 533w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_PSUpgradeSPSite-534x40.png 534w" sizes="(max-width: 550px) 100vw, 550px" /><figcaption> Upgrade-SPSite cmdlet result</figcaption></figure></div>



<p>After the migration is complete, your SharePoint web application is successfully displayed in your brand new SharePoint 2016 environment!</p>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img decoding="async" src="https://i1.wp.com/blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_TeamSite.png?fit=696%2C339&amp;ssl=1" alt="" class="wp-image-8860" width="752" height="366" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_TeamSite.png 1247w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_TeamSite-300x146.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_TeamSite-768x374.png 768w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_TeamSite-1024x499.png 1024w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_TeamSite-696x339.png 696w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_TeamSite-1068x521.png 1068w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2016_Upgrade_TeamSite-861x420.png 861w" sizes="(max-width: 752px) 100vw, 752px" /><figcaption>SharePoint 2016 Upgraded Team Site</figcaption></figure></div>



<p>To read the first part of this two part step by step tutorial, click&nbsp;<a href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a>.</p>



<h2 class="wp-block-heading" id="mce_20">Related Articles</h2>



<p>If you want to convert your tenant&#8217;s root classic site into a modern SharePoint site, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/08/27/how-to-modernize-your-tenant-root-site-collection-in-office-365-using-invoke-spositeswap/" target="_blank">here</a>.</p>



<p>To learn why your business should migrate to SharePoint Online and Office 365, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-1/" target="_blank">here</a> and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-2/" target="_blank">here</a>. </p>



<p>If you are a SharePoint administrator or a SharePoint developer who wants to learn more about how to install a SharePoint 2019 farm in an automated way using PowerShell, I invite you to click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a> and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a>. </p>



<p>If you want to learn how to upgrade a SharePoint 2013 farm to SharePoint 2019, click <a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-1/" target="_blank">here </a>and <a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-2/" target="_blank">here</a>.</p>



<p>If you want to learn all the steps and precautions necessary to successfully keep your SharePoint farm updated and be ready to start your move to the cloud, click <a href="https://blogit.create.pt////miguelisidoro/2019/04/08/how-to-install-sharepoint-cumulative-updates-in-a-sharepoint-farm-step-by-step/" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">here</a>. </p>



<p>If you learn how to greatly speed up your SharePoint farm update process to ensure your SharePoint farm keeps updated and you stay one step closer to start your move to the cloud, click <a href="https://blogit.create.pt////miguelisidoro/2019/05/02/how-to-speed-up-the-installation-of-sharepoint-cumulative-updates-using-powershell-step-by-step/" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a>.  </p>



<p>If SharePoint 2019 is still not an option, you can learn more about how to install a SharePoint 2016 farm in an automated way using PowerShell, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a>&nbsp;and&nbsp;<a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a>.</p>



<p>If you are new to SharePoint and Office 365 and want to learn all about it, take a look at these <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/10/17/sharepoint-and-office-365-learning-resources/" target="_blank">learning resources</a>.</p>



<p>If you are work in a large organization who is using Office 365 or thinking to move to Office 365 and is considering between a single or multiple Office 365 tenants, I invite you to read <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/01/07/pros-and-cons-of-single-tenant-vs-multiple-tenants-in-office-365/" target="_blank">this article</a>.</p>



<p> If you want to know all about the latest SharePoint and Office 365 announcements from SharePoint Conference 2019, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-1/" target="_blank">here </a>and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-2/" target="_blank">here</a>. </p>



<p>If your organization is still not ready to go all in to SharePoint Online and Office 365, a hybrid scenario may be the best choice.&nbsp;SharePoint 2019 RTM was recently announced and if you to learn all about SharePoint 2019 and all its features, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/11/01/meet-the-new-modern-sharepoint-server-sharepoint-2019-rtm-is-here/" target="_blank">here</a>.</p>



<p>Happy SharePointing!</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/">How to upgrade from SharePoint 2010 to SharePoint 2016 Step by Step (Part 2)</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to upgrade from SharePoint 2010 to SharePoint 2016 Step by Step (Part 1)</title>
		<link>https://blogit.create.pt/miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/</link>
					<comments>https://blogit.create.pt/miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/#respond</comments>
		
		<dc:creator><![CDATA[Miguel Isidoro]]></dc:creator>
		<pubDate>Mon, 04 Feb 2019 00:42:07 +0000</pubDate>
				<category><![CDATA[SharePoint 2016]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Upgrade]]></category>
		<guid isPermaLink="false">https://blogit.create.pt/?p=8692</guid>

					<description><![CDATA[<p>This post is the first part of a two part step by step tutorial on how to migrate a SharePoint 2010 farm to SharePoint 2016. To read the second part, click here. Introduction The SharePoint world is rapidly moving into the Cloud with SharePoint Online and Office 365, but some organizations are still not ready [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/">How to upgrade from SharePoint 2010 to SharePoint 2016 Step by Step (Part 1)</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>This post is the first part of a two part step by step tutorial on how to migrate a SharePoint 2010 farm to SharePoint 2016.</p>



<p>To read the second part, click <a href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a>.</p>



<h2 class="wp-block-heading">Introduction</h2>



<p>The SharePoint world is rapidly moving into the Cloud with SharePoint Online and Office 365, but some organizations are still not ready to move completely to Office 365 and SharePoint Online.</p>



<p>Upgrading to SharePoint 2016 or SharePoint 2019 that have support for hybrid scenarios can be a valid solution.</p>



<p>This post is based on upgrading a SharePoint 2010 farm into SharePoint 2016 using the database attach approach but should also be valid if you want to upgrade to SharePoint 2019. This post assumes that the we will only migrate the content database(s) from the source SharePoint 2010 to SharePoint 2016 and all other SharePoint databases are created in the target SharePoint 2016 farm during its installation process.</p>



<p>If you want to learn more about how to install a SharePoint 2016 farm in an automated way using PowerShell, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a>&nbsp;and&nbsp;<a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a>.</p>



<p>There is another valid migration approach to migrate from SharePoint 2010 to SharePoint 2016 by using a content migration. In this approach, the upgrade is not based in a database upgrade process but on content migration and typically a 3rd party solution is necessary to do the content migration. A few 3rd party solutions that can do the job are <a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="https://sharegate.com/products/sharegate-desktop" target="_blank">ShareGate</a>, <a rel="noreferrer noopener" aria-label="AvePoint (opens in a new tab)" href="https://www.avepoint.com/products/hybrid/office-365-migration/" target="_blank">AvePoint</a> and <a rel="noreferrer noopener" aria-label="Metalogix (opens in a new tab)" href="https://www.quest.com/metalogix/" target="_blank">Metalogix</a>.</p>



<p>Upgrading a SharePoint farm using the database attach approach can be a complex task and the upgrade process is composed by a series of steps:</p>



<ul class="wp-block-list"><li>Migrating Custom Developed Solutions from SharePoint 2010 to SharePoint 2016 (outside of the scope of this post)</li><li>Upgrade to a temporary SharePoint 2013 farm</li><li>Upgrade to the target SharePoint 2016 farm</li></ul>



<p><strong>IMPORTANT NOTE:&nbsp;</strong>In a typical upgrade process, the below steps should be performed twice if there are custom developed solutions:</p>



<ul class="wp-block-list"><li>The first time, to test the migration process and allow custom developed solutions to be properly migrated and tested by the end users</li><li>The second time, to perform the final migration, after all custom developed solutions are migrated and tested by the end users</li></ul>



<p>This post will cover:</p>



<ul class="wp-block-list"><li>Migrating Custom Developed Solutions from SharePoint 2010 to SharePoint 2016  <br>(details about the migration of custom solutions are outside of the scope of this post)</li><li>Upgrade to a temporary SharePoint 2013 farm</li></ul>



<h2 class="wp-block-heading">Migrating Custom Developed Solutions from SharePoint 2010 to SharePoint 2016</h2>



<p>This step is outside the scope of this post but a few notes are important to mention if you have custom developed solutions that you want to migrate from SharePoint 2010 to SharePoint 2016:</p>



<ul class="wp-block-list"><li>First, you should analyze the source SharePoint 2010 farm and look for custom developed solutions and in particular for farm solutions and/or sandboxed solutions</li><li>If custom developed solutions are found and if you want to take the easiest migration path, you could simply upgrade your custom developed solutions to SharePoint 2016 without changing the architecture. This typically involves migrating server-side code from SharePoint 2010 to SharePoint 2016, possible migration of master pages and adjustments to CSS and JS files</li><li>Despite more difficult, if possible, you should consider migrating the existing solutions to one of the following development models: <ul><li>SharePoint Framework: the latest and the recommended development model for modern SharePoint solutions, enabling an easier migration path to SharePoint Online and Office 365</li><li>SharePoint Add-Ins: this development model is still supported and can be a valid solution depending on your scenario. However, when possible. you should consider migrating solutions to the SharePoint Framework development model </li></ul></li></ul>



<h2 class="wp-block-heading">Upgrade into a temporary SharePoint 2013 farm</h2>



<p><strong>IMPORTANT NOTES:</strong></p>



<ul class="wp-block-list"><li>Migrating from SharePoint 2010 directly to SharePoint 2016 is not supported. To migrate from SharePoint 2010 to SharePoint 2016 we must first migrate to a temporary SharePoint 2013 farm and then migrate to SharePoint 2016</li><li>To to be able to migrate to SharePoint 2016, the temporary SharePoint 2013 farm must at least have the March 2013 Public Update installed. For more details, click <a rel="noreferrer noopener" href="https://docs.microsoft.com/en-us/sharepoint/upgrade-and-update/overview-of-the-upgrade-process" target="_blank">here</a> </li></ul>



<p>The migration is performed using the database attach upgrade method (the only supported method to upgrade from SharePoint 2010 to SharePoint 2016 using a database upgrade approach).</p>



<p>In the upgrade process, for both the temporary SharePoint 2013 and the target SharePoint 2016 farms, you should create an empty web application so that a valid SharePoint content database is created. To learn more on how to install a SharePoint 2016 farm (process also valid for SharePoint 2013), click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a>&nbsp;and&nbsp;<a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a>.</p>



<p>After having all custom developed solutions migrated to SharePoint 2016 (if there are any), you should follow the following steps:</p>



<ul class="wp-block-list"><li><strong>SharePoint 2010 (test migration only): </strong>Export all WSPs from the SharePoint 2010 farm to file system. To export the WSP files, you can use this <a rel="noreferrer noopener" aria-label="PowerShell script (opens in a new tab)" href="https://github.com/miguelisidoro/SharePoint/blob/master/PowerShell/SharePoint2013/Export-WSP.ps1" target="_blank">PowerShell script</a>.<br><strong>SharePoint 2010 (final migration only): </strong> Go to &#8220;Manage content databases&#8221; in Central Administration, select the web application and then the option &#8220;Remove content database&#8221;. This will temporarily make the web application unavailable in the source SharePoint 2010 farm</li></ul>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img decoding="async" src="https://i1.wp.com/blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_RemoveContentDB.png?fit=696%2C315&amp;ssl=1" alt="" class="wp-image-8740" width="620" height="280" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_RemoveContentDB.png 1324w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_RemoveContentDB-300x136.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_RemoveContentDB-768x348.png 768w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_RemoveContentDB-1024x464.png 1024w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_RemoveContentDB-696x315.png 696w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_RemoveContentDB-1068x484.png 1068w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_RemoveContentDB-927x420.png 927w" sizes="(max-width: 620px) 100vw, 620px" /><figcaption> Temporarily Remove Content Database from Source SharePoint 2010 farm</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2010 Database Server </strong>(<strong>final migration only</strong>)<strong>:</strong> Place the database in read-only mode to ensure the source web application is made available again and so that users cannot change content anymore during the upgrade process. This can be achieved by the following T-SQL command: ALTER DATABASE &lt;CONTENT_DB_NAME&gt; SET read_only</li><li><strong>SharePoint 2010 Database Server:</strong> Backup of the content database(s) (in read-only mode in the final migration)</li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="618" height="428" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB.png" alt="" class="wp-image-8752" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB.png 618w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB-300x208.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB-100x70.png 100w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB-218x150.png 218w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_BackupDB-606x420.png 606w" sizes="(max-width: 618px) 100vw, 618px" /><figcaption>Backup the SharePoint 2010 content database</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2010 (final migration only): </strong> Go to &#8220;Manage content databases&#8221; in Central Administration, select the web application, then the option &#8220;Add content database&#8221; and finally select the name of the content database previously removed. This will make the web application available again in the source SharePoint 2010 farm in read-only mode, preventing users from changing any content</li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="899" height="289" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2010_Upgrade_AddContentDB.png" alt="" class="wp-image-8958" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_AddContentDB.png 899w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_AddContentDB-300x96.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_AddContentDB-768x247.png 768w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_AddContentDB-696x224.png 696w" sizes="(max-width: 899px) 100vw, 899px" /><figcaption>Add content database</figcaption></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="875" height="520" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2010_Upgrade_AddContentDB_Confirm.png" alt="" class="wp-image-8959" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_AddContentDB_Confirm.png 875w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_AddContentDB_Confirm-300x178.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_AddContentDB_Confirm-768x456.png 768w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_AddContentDB_Confirm-696x414.png 696w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2010_Upgrade_AddContentDB_Confirm-707x420.png 707w" sizes="(max-width: 875px) 100vw, 875px" /><figcaption> Add content database (confirmation)</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2013 Database Server:</strong> Copy the database backup file from the source SharePoint 2010 database server to the database server that supports the temporary SharePoint 2013 farm</li><li><strong>SharePoint 2013:&nbsp;</strong> Go to &#8220;Manage content databases&#8221; in Central Administration, select the web application where you want to migrate to and then the option &#8220;Remove content database&#8221;. This will make the database unattached from any web application.</li></ul>



<figure class="wp-block-image"><img decoding="async" width="1021" height="742" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1.png" alt="" class="wp-image-8825" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1.png 1021w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1-300x218.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1-768x558.png 768w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1-324x235.png 324w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1-696x506.png 696w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RemoveContentDB-1-578x420.png 578w" sizes="(max-width: 1021px) 100vw, 1021px" /><figcaption> Remove Content Database from SharePoint 2013 farm </figcaption></figure>



<ul class="wp-block-list"><li><strong>SharePoint 2013 Database Server:</strong> Restore the content database backup from the source SharePoint 2010 database server. The restore must replace the content database that was created during the SharePoint 2013 installation.</li></ul>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img decoding="async" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2013_Upgrade_RestoreContentDB.png" alt="" class="wp-image-8765" width="403" height="281" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RestoreContentDB.png 354w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RestoreContentDB-300x209.png 300w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_RestoreContentDB-100x70.png 100w" sizes="(max-width: 403px) 100vw, 403px" /><figcaption> Restore the SharePoint 2010 content database in the SharePoint 2013 database server</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2013:&nbsp;</strong> If you have custom developed farm solutions, add all the exported WSPs (without deploying them) in the temporary SharePoint 2013 farm. For each WSP, run the following command: <ul><li>Add-SPSolution -LiteralPath $location\solution.wsp where $location is the file system location of the WSP files </li></ul></li><li><strong>SharePoint 2013:&nbsp;</strong> Execute the first of a series of PowerShell commands to associate the restored content database to the temporary SharePoint 2013 farm (in this example the web application URL is http://sp2013): Test-SPContentDatabase -Name &lt;Content_DB_Name&gt; -WebApplication http://sp2013<br> <ul><li>This PowerShell cmdlet will test the content database against the web application to verify if all customizations referenced within the content database are also installed in the farm</li><li>In my case, I got some missing features errors but none of them are upgrade blocking </li></ul></li></ul>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" width="491" height="249" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2013_Upgrade_PSTestSPContentDB-1.png" alt="" class="wp-image-8845" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_PSTestSPContentDB-1.png 491w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_PSTestSPContentDB-1-300x152.png 300w" sizes="(max-width: 491px) 100vw, 491px" /><figcaption>Test-SPContentDatabase cmdlet result</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2013:&nbsp;</strong> Execute the second of a series of PowerShell commands to associate the restored content database to the temporary SharePoint 2013 farm: Mount-SPContentDatabase -Name &#8220;&lt;Content_DB_Name&gt;&#8221; -DatabaseServer &#8220;&lt;DBAlias&gt;&#8221; -WebApplication &#8220;http://sp2013&#8221; <ul><li>This PowerShell cmdlet attaches an existing content database to a web application</li><li>In my case, I got an error that once again was not upgrade blocking. This cmdlet is very likely to throw an error but most times it is an error that will not block the upgrade process </li></ul></li></ul>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img decoding="async" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2013_Upgrade_PSMountSPContentDB.png" alt="" class="wp-image-8788" width="617" height="223" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_PSMountSPContentDB.png 682w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_PSMountSPContentDB-300x109.png 300w" sizes="(max-width: 617px) 100vw, 617px" /><figcaption> Mount-SPContentDatabase cmdlet result </figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2013:&nbsp;</strong> Execute the third of a series of PowerShell commands to associate the restored content database to the temporary SharePoint 2013 farm: Test-SPSite http://sp2013 <ul><li>This PowerShell cmdlet runs a series of health checks on the site collection and its contents</li><li>In my case, I got a warning but once again nothing that is upgrade blocking </li></ul></li></ul>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img decoding="async" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2013_Upgrade_PSTestSPSite.png" alt="" class="wp-image-8791" width="614" height="254" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_PSTestSPSite.png 676w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_PSTestSPSite-300x124.png 300w" sizes="(max-width: 614px) 100vw, 614px" /><figcaption> Test-SPSite cmdlet result</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2013:&nbsp;</strong> Execute the fourth of a series of PowerShell commands to associate the restored content database to the temporary SharePoint 2013 farm: Repair-SPSite -identity http://sp2013 <ul><li>This PowerShell cmdlet is similar to the Test-SPSite cmdlet but fixes any issues that it finds</li><li>The result was identical to the Test-SPSite cmdlet: no upgrading blocking issues were found </li></ul></li></ul>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img decoding="async" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2013_Upgrade_PSRepairSPSite.png" alt="" class="wp-image-8793" width="616" height="220" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_PSRepairSPSite.png 678w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_PSRepairSPSite-300x107.png 300w" sizes="(max-width: 616px) 100vw, 616px" /><figcaption> Repair-SPSite cmdlet result</figcaption></figure></div>



<ul class="wp-block-list"><li><strong>SharePoint 2013:&nbsp;</strong> Execute the fifth of a series of PowerShell commands to associate the restored content database to the temporary SharePoint 2013 farm: Upgrade-SPSite http://sp2013 -VersionUpgrade <ul><li>This PowerShell cmdlet will upgrade the site collections associated to the web application to SharePoint 2013 mode. Before this cmdlet was executed, the site collections were still in SharePoint 2010 mode. </li></ul></li></ul>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img decoding="async" src="https://blogit.create.pt////wp-content/uploads/2019/02/SP2013_Upgrade_PSUpgradeSPSite.png" alt="" class="wp-image-8795" width="618" height="91" srcset="https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_PSUpgradeSPSite.png 678w, https://blogit.create.pt/wp-content/uploads/2019/02/SP2013_Upgrade_PSUpgradeSPSite-300x44.png 300w" sizes="(max-width: 618px) 100vw, 618px" /><figcaption> Upgrade-SPSite cmdlet result</figcaption></figure></div>



<p>To read the second part of this two part step by step tutorial, click&nbsp;<a href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a>.</p>



<h2 class="wp-block-heading" id="mce_20">Related Articles</h2>



<p>If you want to convert your tenant&#8217;s root classic site into a modern SharePoint site, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/08/27/how-to-modernize-your-tenant-root-site-collection-in-office-365-using-invoke-spositeswap/" target="_blank">here</a>.</p>



<p>To learn why your business should migrate to SharePoint Online and Office 365, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-1/" target="_blank">here</a> and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-2/" target="_blank">here</a>. </p>



<p>If you are a SharePoint administrator or a SharePoint developer who wants to learn more about how to install a SharePoint 2019 farm in an automated way using PowerShell, I invite you to click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a> and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a>.</p>



<p>If you want to learn how to upgrade a SharePoint 2013 farm to SharePoint 2019, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-1/" target="_blank">here </a>and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-2/" target="_blank">here</a>.</p>



<p>If you want to learn all the steps and precautions necessary to successfully keep your SharePoint farm updated and be ready to start your move to the cloud, click <a href="https://blogit.create.pt////miguelisidoro/2019/04/08/how-to-install-sharepoint-cumulative-updates-in-a-sharepoint-farm-step-by-step/" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a>.</p>



<p>If you learn how to greatly speed up your SharePoint farm update process to ensure your SharePoint farm keeps updated and you stay one step closer to start your move to the cloud, click <a href="https://blogit.create.pt////miguelisidoro/2019/05/02/how-to-speed-up-the-installation-of-sharepoint-cumulative-updates-using-powershell-step-by-step/" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a>. </p>



<p>If SharePoint 2019 is still not an option, you can learn more about how to install a SharePoint 2016 farm in an automated way using PowerShell,&nbsp;<a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank">here</a>&nbsp;and&nbsp;<a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank">here</a>.</p>



<p>If you are new to SharePoint and Office 365 and want to learn all about it, take a look at these <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/10/17/sharepoint-and-office-365-learning-resources/" target="_blank">learning resources</a>.</p>



<p>If you are work in a large organization who is using Office 365 or thinking to move to Office 365 and is considering between a single or multiple Office 365 tenants, I invite you to read <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/01/07/pros-and-cons-of-single-tenant-vs-multiple-tenants-in-office-365/" target="_blank">this article</a>.</p>



<p> If you want to know all about the latest SharePoint and Office 365 announcements from SharePoint Conference 2019, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-1/" target="_blank">here </a>and <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-2/" target="_blank">here</a>.</p>



<p>If your organization is still not ready to go all in to SharePoint Online and Office 365, a hybrid scenario may be the best choice.&nbsp;SharePoint 2019 RTM was recently announced and if you to learn all about SharePoint 2019 and all its features, click <a rel="noreferrer noopener" href="https://blogit.create.pt////miguelisidoro/2018/11/01/meet-the-new-modern-sharepoint-server-sharepoint-2019-rtm-is-here/" target="_blank">here</a>.</p>



<p>Happy SharePointing!</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/">How to upgrade from SharePoint 2010 to SharePoint 2016 Step by Step (Part 1)</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>SharePoint 2016: Changing logo for all sites in a site collection using PowerShell</title>
		<link>https://blogit.create.pt/miguelisidoro/2018/10/24/sharepoint-2016-changing-logo-for-all-sites-in-a-site-collection-using-powershell/</link>
					<comments>https://blogit.create.pt/miguelisidoro/2018/10/24/sharepoint-2016-changing-logo-for-all-sites-in-a-site-collection-using-powershell/#respond</comments>
		
		<dc:creator><![CDATA[Miguel Isidoro]]></dc:creator>
		<pubDate>Wed, 24 Oct 2018 21:07:22 +0000</pubDate>
				<category><![CDATA[SharePoint 2016]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[SharePoint2016]]></category>
		<guid isPermaLink="false">https://blogit.create.pt/?p=7624</guid>

					<description><![CDATA[<p>Hello, In a SharePoint 2010 to SharePoint 2016 migration project I was recently involved in, I noticed that in the new SharePoint 2016 Portal, the logo URL in all sites was pointing to an invalid URL. The Problem The reason for this is that the Logo URL was pointing to a URL in the SharePoint [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2018/10/24/sharepoint-2016-changing-logo-for-all-sites-in-a-site-collection-using-powershell/">SharePoint 2016: Changing logo for all sites in a site collection using PowerShell</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hello,</p>
<p>In a SharePoint 2010 to SharePoint 2016 migration project I was recently involved in, I noticed that in the new SharePoint 2016 Portal, the logo URL in all sites was pointing to an invalid URL.</p>
<h1>The Problem</h1>
<p>The reason for this is that the Logo URL was pointing to a URL in the SharePoint hive (_layouts virtual directory) and the _layouts virtual directory URL has changed from SharePoint 2010 to SharePoint 2016:</p>
<ul>
<li>SharePoint 2010 Layouts root virtual directory URL: /_layouts</li>
<li>SharePoint 2016 Layouts root virtual directory URL: /_layouts/15</li>
</ul>
<h1>The Solution</h1>
<p>Since the site collection has a lot of subsites and I would like to avoid having to change the logo URL manually one by one, I built a small PowerShell script that will loop all the sub sites in the site collection and change the Logo URL for each one. Here is the script:</p>
<div>
<pre><strong>$sitelogo</strong> = "/_layouts/15/Images/logo.jpg"

<strong>$site</strong> = "https://intranet"

<strong>$sites</strong> = new-object Microsoft.SharePoint.SPSite($site)

foreach (<strong>$web</strong> in <strong>$sites</strong>.Allwebs) {

<strong>$webUrl</strong> = <strong>$web</strong>.Url

"Changing site logo url at <strong>$webUrl</strong>"

<strong>$web</strong>.SiteLogoUrl = <strong>$sitelogo</strong>

<strong>$web</strong>.Update()

}

<strong>$sites</strong>.Dispose()</pre>
</div>
<p><strong>NOTE:</strong> This script should also be valid for SharePoint 2013 and SharePoint 2019.</p>
<p>Hope this helps!</p>
<div>
<h1>Related Articles</h1>
<p>If you want to convert your tenant&#8217;s root classic site into a modern SharePoint site, click <a href="https://blogit.create.pt////miguelisidoro/2019/08/27/how-to-modernize-your-tenant-root-site-collection-in-office-365-using-invoke-spositeswap/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>To learn why your business should migrate to SharePoint Online and Office 365, click <a href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-1/" target="_blank" rel="noreferrer noopener">here</a> and <a href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you are a SharePoint administrator or a SharePoint developer who wants to learn more about how to install a SharePoint 2019 farm in an automated way using PowerShell, I invite you to click <a href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-1/" target="_blank" rel="noopener noreferrer">here</a> and <a href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-2/" target="_blank" rel="noopener noreferrer">here</a>.</p>
<p>If you want to learn how to upgrade a SharePoint 2013 farm to SharePoint 2019, click <a href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-1/" target="_blank" rel="noreferrer noopener">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you want to learn all the steps and precautions necessary to successfully keep your SharePoint farm updated and be ready to start your move to the cloud, click <a href="https://blogit.create.pt////miguelisidoro/2019/04/08/how-to-install-sharepoint-cumulative-updates-in-a-sharepoint-farm-step-by-step/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you learn how to greatly speed up your SharePoint farm update process to ensure your SharePoint farm keeps updated and you stay one step closer to start your move to the cloud, click <a href="https://blogit.create.pt////miguelisidoro/2019/05/02/how-to-speed-up-the-installation-of-sharepoint-cumulative-updates-using-powershell-step-by-step/" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a>.</p>
<p>If SharePoint 2019 is still not an option, you can learn more about how to install a SharePoint 2016 farm in an automated way using PowerShell, click <a href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank" rel="noreferrer noopener">here</a> and <a href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you are involved in a SharePoint upgrade and want to learn more about the upgrade process, click <a href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/" target="_blank" rel="noreferrer noopener">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you want to know all about SharePoint 2019, the new version of SharePoint Server, click <a href="https://blogit.create.pt////miguelisidoro/2018/11/01/meet-the-new-modern-sharepoint-server-sharepoint-2019-rtm-is-here/" target="_blank" rel="noopener noreferrer">here</a>.</p>
<p>If you are new to SharePoint and Office 365 and want to learn all about it, take a look at these <a href="https://blogit.create.pt////miguelisidoro/2018/10/17/sharepoint-and-office-365-learning-resources/" target="_blank" rel="noopener noreferrer">learning resources</a>.</p>
<p>If you are work in a large organization who is using Office 365 or thinking to move to Office 365 and are considering between a single or multiple Office 365 tenants, I invite you to read <a href="https://blogit.create.pt////miguelisidoro/2019/01/07/pros-and-cons-of-single-tenant-vs-multiple-tenants-in-office-365/" target="_blank" rel="noreferrer noopener">this article</a>.</p>
<p>If you want to know all about the latest SharePoint and Office 365 announcements from SharePoint Conference 2019, click <a href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-1/" target="_blank" rel="noreferrer noopener">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>Happy SharePointing!</p>
</div>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2018/10/24/sharepoint-2016-changing-logo-for-all-sites-in-a-site-collection-using-powershell/">SharePoint 2016: Changing logo for all sites in a site collection using PowerShell</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/miguelisidoro/2018/10/24/sharepoint-2016-changing-logo-for-all-sites-in-a-site-collection-using-powershell/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>SharePoint and Office 365 Learning Resources</title>
		<link>https://blogit.create.pt/miguelisidoro/2018/10/17/sharepoint-and-office-365-learning-resources/</link>
					<comments>https://blogit.create.pt/miguelisidoro/2018/10/17/sharepoint-and-office-365-learning-resources/#respond</comments>
		
		<dc:creator><![CDATA[Miguel Isidoro]]></dc:creator>
		<pubDate>Tue, 16 Oct 2018 23:52:26 +0000</pubDate>
				<category><![CDATA[SharePoint 2019]]></category>
		<category><![CDATA[SharePoint Online]]></category>
		<category><![CDATA[SharePoint 2016]]></category>
		<category><![CDATA[Microsoft 365]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[Office 365]]></category>
		<category><![CDATA[sharepoint]]></category>
		<guid isPermaLink="false">https://blogit.create.pt/?p=7599</guid>

					<description><![CDATA[<p>Hello, Over the past few months, I have been gathering some useful SharePoint and Office 365 learning resources that I would like to share with you. Learning Resources Here is the list of some of the most interesting learning resources I have gathered: https://docs.microsoft.com/en-us/learn/m365/ &#8211; Get started with Microsoft 365 &#8211; Microsoft Learning Virtual Academy [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2018/10/17/sharepoint-and-office-365-learning-resources/">SharePoint and Office 365 Learning Resources</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hello,</p>
<p>Over the past few months, I have been gathering some useful SharePoint and Office 365 learning resources that I would like to share with you.</p>
<h1>Learning Resources</h1>
<p>Here is the list of some of the most interesting learning resources I have gathered:</p>
<p><a href="https://docs.microsoft.com/en-us/learn/m365/" target="_blank" rel="noopener noreferrer">https://docs.microsoft.com/en-us/learn/m365/</a> &#8211; Get started with Microsoft 365 &#8211; Microsoft Learning Virtual Academy</p>
<p><a href="https://www.tutorialspoint.com/sharepoint/" target="_blank" rel="noopener noreferrer">https://www.tutorialspoint.com/sharepoint/</a> &#8211; SharePoint Tutorial</p>
<p><a href="http://www.fastsharepoint.com/" target="_blank" rel="noopener noreferrer">http://www.fastsharepoint.com/</a> &#8211; SharePoint Tutorials for Beginners, Developers, Designers and Administrators</p>
<p><a href="https://www.linkedin.com/learning/topics/sharepoint" target="_blank" rel="noopener noreferrer">https://www.linkedin.com/learning/topics/sharepoint</a> &#8211; SharePoint: Online Courses, Training and Tutorials on LinkedIn Learning</p>
<p><a href="https://docs.microsoft.com/en-us/learn/powerplatform/" target="_blank" rel="noopener noreferrer">https://docs.microsoft.com/en-us/learn/powerplatform/</a> &#8211; Power Platform &#8211; Microsoft Learning Virtual Academy</p>
<p><a href="https://developer.microsoft.com/en-us/office" target="_blank" rel="noopener noreferrer">https://developer.microsoft.com/en-us/office</a> &#8211; Office Dev Center</p>
<p><a href="https://developer.microsoft.com/en-us/sharepoint" target="_blank" rel="noopener noreferrer">https://developer.microsoft.com/en-us/sharepoint</a> &#8211; SharePoint Dev Center</p>
<p><a href="https://collab365.community/" target="_blank" rel="noopener noreferrer">https://collab365.community/</a> &#8211; Collab365 Community (Collab365)</p>
<p><a href="https://connor.collab365.community/introduction-to-the-30-day-microsoft-365-challenge/" target="_blank" rel="noopener noreferrer">https://connor.collab365.community/introduction-to-the-30-day-microsoft-365-challenge/</a> &#8211; Microsoft 365 30-Day Challenge</p>
<p><a href="https://collab365.community/category/sharepoint/" target="_blank" rel="noopener noreferrer">https://collab365.community/category/sharepoint/</a> &#8211; SharePoint Community Center (Collab365)</p>
<p><a href="https://collab365.community/training/" target="_blank" rel="noopener noreferrer">https://collab365.community/training/</a> &#8211; Collab365 Community &#8211; Training</p>
<p><a href="https://techcommunity.microsoft.com/t5/SharePoint/ct-p/SharePoint" target="_blank" rel="noopener noreferrer">https://techcommunity.microsoft.com/t5/SharePoint/ct-p/SharePoint</a> &#8211; SharePoint &#8211; Microsoft Tech Community</p>
<p><a href="https://docs.microsoft.com/learn/" target="_blank" rel="noopener noreferrer">https://docs.microsoft.com/learn/</a> &#8211;  Microsoft Learn</p>
<p><a href="https://www.microsoft.com/en-us/microsoft-365/blog/" target="_blank" rel="noopener noreferrer">https://www.microsoft.com/en-us/microsoft-365/blog/</a> &#8211; Microsoft 365 Blog</p>
<p><a href="https://connor.collab365.community/timeline/" target="_blank" rel="noopener noreferrer">https://connor.collab365.community/timeline/</a> &#8211; Microsoft 365 30-Day Challenge</p>
<p><a href="https://en.share-gate.com/blog/start-learn-sharepoint-basics" target="_blank" rel="noopener noreferrer">https://en.share-gate.com/blog/start-learn-sharepoint-basics</a> &#8211; Learning SharePoint</p>
<p><a href="https://www.365resources.net/" target="_blank" rel="noopener noreferrer">https://www.365resources.net/</a> &#8211; Office 365 Resources</p>
<p><a href="https://developer.microsoft.com/en-us/graph/blogs/getting-started-with-sharepoint-framework-tutorials-september-2018/" target="_blank" rel="noopener noreferrer">https://developer.microsoft.com/en-us/graph/blogs/getting-started-with-sharepoint-framework-tutorials-september-2018/</a> &#8211; Getting started with SharePoint Framework – Tutorials</p>
<p><a href="http://niftit.com/10-blogs-learn-sharepoint/" target="_blank" rel="noopener noreferrer">http://niftit.com/10-blogs-learn-sharepoint/</a> &#8211; 10 Blogs You Must Follow to Start to Learn SharePoint</p>
<p><a href="http://www.matthewjbailey.com/best-way-to-learn-sharepoint/" target="_blank" rel="noopener noreferrer">http://www.matthewjbailey.com/best-way-to-learn-sharepoint/</a> &#8211; Learn SharePoint</p>
<p><a href="https://github.com/SharePoint/sp-starter-kit" target="_blank" rel="noopener noreferrer">https://github.com/SharePoint/sp-starter-kit</a> &#8211; SharePoint Starter Kit</p>
<p><a href="https://support.office.com/en-us/article/sharepoint-online-video-training-cb8ef501-84db-4427-ac77-ec2009fb8e23" target="_blank" rel="noopener noreferrer">https://support.office.com/en-us/article/sharepoint-online-video-training-cb8ef501-84db-4427-ac77-ec2009fb8e23</a> &#8211; SharePoint Online video training</p>
<p><a href="https://www.sharepointsky.com" target="_blank" rel="noopener noreferrer">https://www.sharepointsky.com</a> &#8211; FREE SharePoint Tutorials – Office 365 SharePoint Online Courses</p>
<p><a href="https://www.enjoysharepoint.com" target="_blank" rel="noopener noreferrer">https://www.enjoysharepoint.com</a> &#8211; FREE SharePoint Online Training &amp; Video Courses</p>
<p><a href="https://powerapps.microsoft.com/en-us/blog/how-to-videos/" target="_blank" rel="noopener noreferrer">https://powerapps.microsoft.com/en-us/blog/how-to-videos/</a> &#8211; PowerApps how-to video series</p>
<p><a href="https://afrait.com/" target="_blank" rel="noopener noreferrer">https://afrait.com/</a> &#8211; blog by Patrick Feninger focused on SharePoint and Office 365 for end users and IT Pros. It has the following interesting blog series:<br />
&#8211; <a href="https://afrait.com/blog/tag/digital-transformation/" target="_blank" rel="noopener noreferrer">https://afrait.com/blog/tag/digital-transformation/</a> &#8211; Digital Transformation Series<br />
&#8211; <a href="https://afrait.com/blog/category/mastering-office-365/" target="_blank" rel="noopener noreferrer">https://afrait.com/blog/category/mastering-office-365/</a> &#8211; Mastering Office 365 Series</p>
<p><a href="https://www.pluralsight.com" target="_blank" rel="noopener noreferrer">https://www.pluralsight.com </a>&#8211; Online Developer, IT and Cyber Security Training</p>
<p><a href="https://www.edx.org/" target="_blank" rel="noopener noreferrer">https://www.edx.org/</a> &#8211; Online courses from some of the world&#8217;s best universities</p>
<p><a href="https://www.iwmentor.com" target="_blank" rel="noopener noreferrer">https://www.iwmentor.com</a> &#8211; Information Worker traning focused on SharePoint and Office 365, namely PowerApps and Flow</p>
<p><a href="https://www.powerappsug.com/" target="_blank" rel="noopener noreferrer">https://www.powerappsug.com/</a> &#8211; PowerApps User Group</p>
<p><a href="https://www.flowug.com" target="_blank" rel="noopener noreferrer">https://www.flowug.com</a> &#8211; Flow User Group</p>
<p><a href="https://www.computerworld.com/article/3257924/sharepoint-online-cheat-sheet.html" target="_blank" rel="noopener noreferrer">https://www.computerworld.com/article/3257924/sharepoint-online-cheat-sheet.html</a> &#8211; SharePoint Online cheat sheet</p>
<h1>YouTube Channels</h1>
<p>If you prefer to learn watching videos, here are some useful YouTube channels:</p>
<p><a href="https://www.youtube.com/channel/UC_mKdhw-V6CeCM7gTo_Iy7w" target="_blank" rel="noopener noreferrer">https://www.youtube.com/channel/UC_mKdhw-V6CeCM7gTo_Iy7w</a> &#8211;  SharePoint / Office 365 Dev Patterns &amp; Practices</p>
<p><a href="https://www.youtube.com/channel/UCj-_bnzOYNMI3ZH1MFvEjrA/" target="_blank" rel="noopener noreferrer">https://www.youtube.com/channel/UCj-_bnzOYNMI3ZH1MFvEjrA/</a> &#8211; PiaSys Tech Bites, from the Pnp Core Team, focused on SharePoint and Office 365 development</p>
<p><a href="https://www.youtube.com/user/OfficeGarageSeries/" target="_blank" rel="noopener noreferrer">https://www.youtube.com/user/OfficeGarageSeries/</a> &#8211; Microsoft Mechanics, focused on most recent announcements on Azure and Office 365 announcements for end users and IT Pros</p>
<p><a href="https://www.youtube.com/channel/UCr183FCaQmgxEo_zQvc-i5w" target="_blank" rel="noopener noreferrer">https://www.youtube.com/channel/UCr183FCaQmgxEo_zQvc-i5w</a> &#8211; European SharePoint, Office 365 &amp; Azure Community</p>
<p><a href="https://www.youtube.com/channel/UCbTVoDCaPM6wE0xsDGGr9VA" target="_blank" rel="noopener noreferrer">https://www.youtube.com/channel/UCbTVoDCaPM6wE0xsDGGr9VA</a> &#8211; Laura Rogers, SharePoint MVP, focused on PowerApps and Flow</p>
<p><a href="https://www.youtube.com/channel/UCspdrsKTBXJTGuco6U3KF0Q" target="_blank" rel="noopener noreferrer">https://www.youtube.com/channel/UCspdrsKTBXJTGuco6U3KF0Q</a> &#8211; Audrie Gordon, focused on PowerApps and Flow</p>
<p><a href="https://www.youtube.com/channel/UCnUwvZBeu4P_desNZthZWiA" target="_blank" rel="noopener noreferrer">https://www.youtube.com/channel/UCnUwvZBeu4P_desNZthZWiA</a> &#8211; Paul O&#8217;Flaherty, focused on PowerApps and Flow</p>
<p><a href="https://www.youtube.com/channel/UC2h2NfOMt96WdJu93wX9sgw" target="_blank" rel="noopener noreferrer">https://www.youtube.com/channel/UC2h2NfOMt96WdJu93wX9sgw</a> &#8211; Learning SharePoint Videos</p>
<p><a href="https://www.youtube.com/channel/UCsGbpWegwyz6IfXSVYgABlQ/" target="_blank" rel="noopener noreferrer">https://www.youtube.com/channel/UCsGbpWegwyz6IfXSVYgABlQ/</a> &#8211; SharePoint</p>
<p><a href="https://www.youtube.com/user/clardo11/" target="_blank" rel="noopener noreferrer">https://www.youtube.com/user/clardo11/</a> &#8211; DeShon Clark</p>
<p><a href="https://www.youtube.com/user/officevideos/" target="_blank" rel="noopener noreferrer">https://www.youtube.com/user/officevideos/</a> &#8211; Microsoft Office 365</p>
<p><a href="https://www.youtube.com/channel/UCrhJmfAGQ5K81XQ8_od1iTg" target="_blank" rel="noopener noreferrer">https://www.youtube.com/channel/UCrhJmfAGQ5K81XQ8_od1iTg</a> &#8211; Microsoft Ignite</p>
<p>If you have other interesting learning resources, please feel free to share them on this blog post comments.</p>
<h1>Related Articles</h1>
<p>If you want to convert your tenant&#8217;s root classic site into a modern SharePoint site, click <a href="https://blogit.create.pt////miguelisidoro/2019/08/27/how-to-modernize-your-tenant-root-site-collection-in-office-365-using-invoke-spositeswap/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>To learn why your business should migrate to SharePoint Online and Office 365, click <a href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-1/" target="_blank" rel="noreferrer noopener">here</a> and <a href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you are work in a large organization who is using Office 365 or thinking to move to Office 365 and is considering between a single or multiple Office 365 tenants, I invite you to read <a href="https://blogit.create.pt////miguelisidoro/2019/01/07/pros-and-cons-of-single-tenant-vs-multiple-tenants-in-office-365/" target="_blank" rel="noreferrer noopener">this article</a>.</p>
<p>If you want to know all about the latest SharePoint and Office 365 announcements from SharePoint Conference 2019, click <a href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-1/" target="_blank" rel="noreferrer noopener">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you are a SharePoint administrator or a SharePoint developer who wants to learn more about how to install a SharePoint 2019 farm in an automated way using PowerShell, I invite you to click <a href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-1/" target="_blank" rel="noopener noreferrer">here</a> and <a href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-2/" target="_blank" rel="noopener noreferrer">here</a>.</p>
<p>If you want to learn how to upgrade a SharePoint 2013 farm to SharePoint 2019, click <a href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-1/" target="_blank" rel="noreferrer noopener">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you want to learn all the steps and precautions necessary to successfully keep your SharePoint farm updated and be ready to start your move to the cloud, click <a href="https://blogit.create.pt////miguelisidoro/2019/04/08/how-to-install-sharepoint-cumulative-updates-in-a-sharepoint-farm-step-by-step/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you learn how to greatly speed up your SharePoint farm update process to ensure your SharePoint farm keeps updated and you stay one step closer to start your move to the cloud, click <a href="https://blogit.create.pt////miguelisidoro/2019/05/02/how-to-speed-up-the-installation-of-sharepoint-cumulative-updates-using-powershell-step-by-step/" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a>.</p>
<p>If SharePoint 2019 is still not an option, you can learn more about how to install a SharePoint 2016 farm in an automated way using PowerShell, click <a href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank" rel="noreferrer noopener">here</a> and <a href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you are involved in a SharePoint upgrade and want to learn more about the upgrade process, click <a href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/" target="_blank" rel="noreferrer noopener">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you want to know all about SharePoint 2019, the new version of SharePoint Server, click <a href="https://blogit.create.pt////miguelisidoro/2018/11/01/meet-the-new-modern-sharepoint-server-sharepoint-2019-rtm-is-here/" target="_blank" rel="noopener noreferrer">here</a>.</p>
<p>Happy SharePointing!</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2018/10/17/sharepoint-and-office-365-learning-resources/">SharePoint and Office 365 Learning Resources</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/miguelisidoro/2018/10/17/sharepoint-and-office-365-learning-resources/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>SharePoint 2016 Upgrade: How to solve the “Feature is referenced in database but isn’t installed on the current farm” error</title>
		<link>https://blogit.create.pt/miguelisidoro/2018/09/16/sharepoint-farm-update-how-to-solve-the-feature-is-referenced-in-database-but-isnt-installed-on-the-current-farm-error-in-a-sharepoint-2016-farm/</link>
					<comments>https://blogit.create.pt/miguelisidoro/2018/09/16/sharepoint-farm-update-how-to-solve-the-feature-is-referenced-in-database-but-isnt-installed-on-the-current-farm-error-in-a-sharepoint-2016-farm/#comments</comments>
		
		<dc:creator><![CDATA[Miguel Isidoro]]></dc:creator>
		<pubDate>Sun, 16 Sep 2018 22:01:27 +0000</pubDate>
				<category><![CDATA[SharePoint 2016]]></category>
		<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Migration]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Administration]]></category>
		<category><![CDATA[PSConfig]]></category>
		<category><![CDATA[Upgrade]]></category>
		<guid isPermaLink="false">https://blogit.create.pt/?p=7469</guid>

					<description><![CDATA[<p>Hello, Recently, I migrated a SharePoint 2010 farm to SharePoint 2016 and used an automated installation process using PowerShell and AutoSPInstaller to install the new SharePoint 2016 farm that ensured that the latest updates where applied, leaving the SharePoint 2016 farm updated and working properly (if you want to learn more about how to install a [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2018/09/16/sharepoint-farm-update-how-to-solve-the-feature-is-referenced-in-database-but-isnt-installed-on-the-current-farm-error-in-a-sharepoint-2016-farm/">SharePoint 2016 Upgrade: How to solve the “Feature is referenced in database but isn’t installed on the current farm” error</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hello,</p>
<p>Recently, I migrated a SharePoint 2010 farm to SharePoint 2016 and used an automated installation process using PowerShell and <a href="https://autospinstaller.com/" target="_blank" rel="noopener noreferrer">AutoSPInstaller</a> to install the new SharePoint 2016 farm that ensured that the latest updates where applied, leaving the SharePoint 2016 farm updated and working properly (if you want to learn more about how to install a SharePoint farm in an automated way using PowerShell, I invite you to click <a href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank" rel="noopener noreferrer">here</a> and <a href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank" rel="noopener noreferrer">here)</a>.</p>
<p>After installing the farm and migrating the web applications, new updates were installed in the farm (if you want to keep up with the latest SharePoint updates, click <a href="https://buildnumbers.wordpress.com/sharepoint/" target="_blank" rel="noopener noreferrer">here</a>) but when I ran the SharePoint Products and Configuration Wizard to ensure the new updates were properly installed (to know more about the need to run SharePoint Products and Configuration Wizard after a SharePoint farm update, click <a href="https://blogs.technet.microsoft.com/stefan_gossner" target="_blank" rel="noopener noreferrer">here</a>), I got an error that was preventing me to finish the update process.</p>
<p><strong>Important Note:</strong> Both source SharePoint 2010 and target SharePoint 2016 farms have Standard SharePoint licenses.</p>
<h1>The Problem</h1>
<p>After installing the updates and after running the SharePoint Products and Configuration, I was getting the following error:</p>
<p><img decoding="async" class="alignnone wp-image-7478 size-full" src="https://blogit.create.pt////wp-content/uploads/2018/09/SP2016_PSConfig_Error.jpg" alt="" width="621" height="536" srcset="https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_PSConfig_Error.jpg 621w, https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_PSConfig_Error-300x259.jpg 300w, https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_PSConfig_Error-534x462.jpg 534w, https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_PSConfig_Error-487x420.jpg 487w" sizes="(max-width: 621px) 100vw, 621px" /></p>
<p>The error details:</p>
<p><i>An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown.  Additional exception information: </i></p>
<p><i>Feature (Name = [SharePoint Portal Server Status Indicator List template], Id = [065c78be-5231-477e-a972-14177cc5b3c7], Description = [SharePoint Portal Server Status Indicator List template], Install Location = </i><i><strong>[BizAppsListTemplates]) is referenced in database [Content_DB]</strong>, <strong>but isn&#8217;t installed on the current farm</strong></i><i>. The missing feature might cause upgrade to fail. If necessary, please install any solution that contains the feature and restart upgrade.        (EventID:ajxkh)</i></p>
<p><i>Feature (Name = [SharePoint Server Enterprise Site Features], Id = [0806d127-06e6-447a-980e-2e90b03101b8], Description = [<strong>Features such as the Visio Services, Access Services, and Excel Services applications included in the SharePoint Server Enterprise License.</strong>], </i><i>Install Location = <strong>[PremiumWeb]) is referenced in database Content_DB] but isn&#8217;t installed on the current farm</strong></i><i>. The missing feature might cause upgrade to fail. If necessary, please install any solution that contains the feature and restart upgrade.        (EventID:ajxkh)</i></p>
<p><i>Feature (Name = [SharePoint Portal Server Report Library], Id = [2510d73f-7109-4ccc-8a1c-314894deeb3a], Description = [SharePoint Portal Server Report Library], Install Location = </i><strong><i>[ReportListTemplate]) is referenced in database [Content_DB], but isn&#8217;t installed on the current farm</i></strong><i>. The missing feature might cause upgrade to fail. If necessary, please install any solution that contains the feature and restart upgrade.        (EventID:ajxkh)</i></p>
<p><i>Feature (Name = [InfoPath Forms Services Support], Id = [c88c4ff1-dbf5-4649-ad9f-c6c426ebcbf5], Description = </i><i>[InfoPath Forms Services Lists and Related Pages to Enable Presentation of Forms on the Server.], Install Location = [<strong>IPFSSiteFeatures]) is referenced in database Content_DB], but isn&#8217;t installed on the current farm</strong></i><i>. The missing feature might cause upgrade to fail. If necessary, please install any solution that contains the feature and restart upgrade.        (EventID:ajxkh)</i></p>
<p><i>Feature (Name = [Data Connections Feature], Id = [00bfea71-dbd7-4f72-b8cb-da7ac0440130], Description = [], Install Location = </i><strong><i>[DataConnectionLibrary]) is referenced in database Content_DB], but isn&#8217;t installed on the current farm</i></strong><i>. The missing feature might cause upgrade to fail. If necessary, please install any solution that contains the feature and restart upgrade.        (EventID:ajxkh)</i></p>
<p><i>Upgrade [SPContentDatabase Name=Content_DB] failed.        (EventID:an59t)</i></p>
<p><i>Exception: <strong>The upgraded database schema doesn&#8217;t match the TargetSchema</strong></i><i><strong>  </strong>      (EventID:an59t)</i></p>
<p><i>Upgrade Timer job is exiting due to exception: </i><i>Microsoft.SharePoint.Upgrade.SPUpgradeException: <strong>The upgraded database schema doesn&#8217;t match the TargetSchema</strong></i></p>
<p>There are two main problems here:</p>
<ul>
<li>There are references in the content database to SharePoint Enterprise Features (InfoPath Form Services, Visio Services, Excel Services, etc) &#8211; my guess here is that sometime along the way, the source SharePoint 2010 farm had an Enterprise SharePoint license and was downgraded to a Standard license, leaving behind however references to Enterprise features in the content database</li>
<li>There is a mismatch between the content database schema version and the version of SharePoint updates installed in the farm</li>
</ul>
<p>One additional symptom that confirms there is an upgrade issue is the Upgrade Status page in Central Administration that showed the upgrade status as Failed:</p>
<p><img decoding="async" class="alignnone wp-image-7480 size-full" src="https://blogit.create.pt////wp-content/uploads/2018/09/SP2016_Upgrade_Status_Error.jpg" alt="" width="1581" height="469" srcset="https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_Upgrade_Status_Error.jpg 1581w, https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_Upgrade_Status_Error-300x89.jpg 300w, https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_Upgrade_Status_Error-768x228.jpg 768w, https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_Upgrade_Status_Error-1024x304.jpg 1024w, https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_Upgrade_Status_Error-696x206.jpg 696w, https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_Upgrade_Status_Error-1068x317.jpg 1068w, https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_Upgrade_Status_Error-1416x420.jpg 1416w" sizes="(max-width: 1581px) 100vw, 1581px" /></p>
<h1>The Solution</h1>
<p>The solution to this problem was a two part solution, both applied in the target SharePoint 2016 farm:</p>
<ul>
<li>Fixing the missing Enterprise features references in the content database</li>
<li>Fixing the content database schema version mismatch</li>
</ul>
<h2>Fixing the missing Enterprise features references in the content database</h2>
<p>To fix the problem with references to Enterprise SharePoint features, I used the <a href="https://github.com/achimismaili/featureadmin" target="_blank" rel="noopener noreferrer">SharePoint Feature Administration and Clean Up Tool</a>, which basically enables us to delete from the Farm, Web Application, Site Collection and sub sites any references to features that are not installed in the farm. The version I used was the version 2.4.8 that you can download <a href="https://github.com/achimismaili/featureadmin/raw/master/Releases/Sp2010/2.4.8/FeatureAdmin2010.zip" target="_blank" rel="noopener noreferrer">here</a>, that supports SharePoint 2016. The version 3.0, for some reason, didn&#8217;t detect the farm, which made it useless (maybe a beta version, not sure).</p>
<p>In this case, to remove the missing feature references, I used the SharePoint Feature Administration and Clean Up Tool to:</p>
<ul>
<li>Remove the missing features from the farm</li>
<li>Remove the missing features from the sub sites</li>
</ul>
<p>First, I removed the missing features from the farm, by removing the features marked as &#8220;Faulty&#8221; in the &#8220;Farm Feature Administration&#8221; tab, using the <strong>&#8220;Uninstall&#8221;</strong> button for each missing feature.</p>
<p><img decoding="async" class="alignnone size-full wp-image-7476" src="https://i2.wp.com/blogit.create.pt/wp-content/uploads/2018/09/SP2016_FeatureAdmin_Farm_Features_Error.jpg" alt="" width="1143" height="738" srcset="https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_FeatureAdmin_Farm_Features_Error.jpg 1143w, https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_FeatureAdmin_Farm_Features_Error-300x194.jpg 300w, https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_FeatureAdmin_Farm_Features_Error-768x496.jpg 768w, https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_FeatureAdmin_Farm_Features_Error-1024x661.jpg 1024w, https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_FeatureAdmin_Farm_Features_Error-696x449.jpg 696w, https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_FeatureAdmin_Farm_Features_Error-1068x690.jpg 1068w, https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_FeatureAdmin_Farm_Features_Error-650x420.jpg 650w" sizes="(max-width: 1143px) 100vw, 1143px" /></p>
<p>After that, I removed the features marked as ERROR in the &#8220;Remove / deactivate features in the selected sites&#8221; tab, by selecting all the site collection faulty features and using the <strong>&#8220;Remove from selected SiteCollection&#8221;</strong> button.</p>
<p>Finally, for each site, I selected the faulty site features and removed them by using the <strong>&#8220;Remove from selected Site (SPWeb)&#8221;</strong> button.</p>
<p><img decoding="async" class="alignnone size-full wp-image-7477" src="https://blogit.create.pt////wp-content/uploads/2019/05/SP2016_FeatureAdmin_SiteCollection_Site_Features_Error.jpg" alt="" width="1182" height="672" /></p>
<h2>Fixing the content database schema version mismatch</h2>
<p>To fix the version mismatch between the content database schema version and the version of installed SharePoint updates, I executed the following PowerShell command (executed with &#8220;run as administrator&#8221;):</p>
<p><strong>Get-SPContentDatabase | Upgrade-SPContentDatabase</strong></p>
<p>After this, I ran the SharePoint Products and Configuration Wizard again, and this time, it ran successfully:</p>
<p><img decoding="async" class="alignnone size-full wp-image-7479" src="https://blogit.create.pt////wp-content/uploads/2018/09/SP2016_PSConfig_Success.jpg" alt="" width="617" height="535" srcset="https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_PSConfig_Success.jpg 617w, https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_PSConfig_Success-300x260.jpg 300w, https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_PSConfig_Success-534x462.jpg 534w, https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_PSConfig_Success-484x420.jpg 484w" sizes="(max-width: 617px) 100vw, 617px" /></p>
<p>To confirm if everything was OK, I checked the following pages in Central Administration in the target SharePoint 2016 farm:</p>
<ul>
<li>The Upgrade Status page</li>
<li>The Database Upgrade Status page</li>
</ul>
<p>In the Upgrade Status page, there is now a Succeeded upgrade status:</p>
<p><img decoding="async" class="alignnone size-full wp-image-7481" src="https://blogit.create.pt////wp-content/uploads/2018/09/SP2016_Upgrade_Status_Success.jpg" alt="" width="1441" height="624" srcset="https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_Upgrade_Status_Success.jpg 1441w, https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_Upgrade_Status_Success-300x130.jpg 300w, https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_Upgrade_Status_Success-768x333.jpg 768w, https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_Upgrade_Status_Success-1024x443.jpg 1024w, https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_Upgrade_Status_Success-696x301.jpg 696w, https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_Upgrade_Status_Success-1068x462.jpg 1068w, https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_Upgrade_Status_Success-970x420.jpg 970w" sizes="(max-width: 1441px) 100vw, 1441px" /></p>
<p>In the Database Upgrade Status page, there is an indication of &#8220;No action required&#8221; for all content databases in the farm, meaning that all databases were properly upgraded and the respective schema version is the same as the installed SharePoint updates:</p>
<p><img decoding="async" class="alignnone size-full wp-image-7475" src="https://blogit.create.pt////wp-content/uploads/2018/09/SP2016_Database_Upgrade_Status_Success.jpg" alt="" width="1408" height="561" srcset="https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_Database_Upgrade_Status_Success.jpg 1408w, https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_Database_Upgrade_Status_Success-300x120.jpg 300w, https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_Database_Upgrade_Status_Success-768x306.jpg 768w, https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_Database_Upgrade_Status_Success-1024x408.jpg 1024w, https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_Database_Upgrade_Status_Success-696x277.jpg 696w, https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_Database_Upgrade_Status_Success-1068x426.jpg 1068w, https://blogit.create.pt/wp-content/uploads/2018/09/SP2016_Database_Upgrade_Status_Success-1054x420.jpg 1054w" sizes="(max-width: 1408px) 100vw, 1408px" /></p>
<p>Hope this helps!</p>
<h1>Related Articles</h1>
<p>To learn why your business should migrate to SharePoint Online and Office 365, click <a href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-1/" target="_blank" rel="noreferrer noopener">here</a> and <a href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you want to convert your tenant&#8217;s root classic site into a modern SharePoint site, click <a href="https://blogit.create.pt////miguelisidoro/2019/08/27/how-to-modernize-your-tenant-root-site-collection-in-office-365-using-invoke-spositeswap/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>In the meantime, SharePoint 2019 RTM is already out there! If you want to know all about the new features available in the new SharePoint Server release, click <a href="https://blogit.create.pt////miguelisidoro/2018/11/01/meet-the-new-modern-sharepoint-server-sharepoint-2019-rtm-is-here/" target="_blank" rel="noopener noreferrer">here</a>.</p>
<p>If you are a SharePoint administrator or a SharePoint developer who wants to learn more about how to install a SharePoint 2019 farm in an automated way using PowerShell, I invite you to click <a href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-1/" target="_blank" rel="noopener noreferrer">here</a> and <a href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-2/" target="_blank" rel="noopener noreferrer">here</a>.</p>
<p>If you want to learn how to upgrade a SharePoint 2013 farm to SharePoint 2019, click <a href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-1/" target="_blank" rel="noreferrer noopener">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you want to learn all the steps and precautions necessary to successfully keep your SharePoint farm updated and be ready to start your move to the cloud, click <a href="https://blogit.create.pt////miguelisidoro/2019/04/08/how-to-install-sharepoint-cumulative-updates-in-a-sharepoint-farm-step-by-step/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you learn how to greatly speed up your SharePoint farm update process to ensure your SharePoint farm keeps updated and you stay one step closer to start your move to the cloud, click <a href="https://blogit.create.pt////miguelisidoro/2019/05/02/how-to-speed-up-the-installation-of-sharepoint-cumulative-updates-using-powershell-step-by-step/" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a>.</p>
<p>If SharePoint 2019 is still not an option, you can learn more about how to install a SharePoint 2016 farm in an automated way using PowerShell, click <a href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank" rel="noreferrer noopener">here</a> and <a href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you are involved in a SharePoint upgrade and want to learn more about the upgrade process, click <a href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/" target="_blank" rel="noreferrer noopener">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you are new to SharePoint and Office 365 and want to learn all about it, take a look at these <a href="https://blogit.create.pt////miguelisidoro/2018/10/17/sharepoint-and-office-365-learning-resources/" target="_blank" rel="noopener noreferrer">learning resources</a>.</p>
<p>If you are work in a large organization who is using Office 365 or thinking to move to Office 365 and is considering between a single or multiple Office 365 tenants, I invite you to read <a href="https://blogit.create.pt////miguelisidoro/2019/01/07/pros-and-cons-of-single-tenant-vs-multiple-tenants-in-office-365/" target="_blank" rel="noreferrer noopener">this article</a>.</p>
<p>If you want to know all about the latest SharePoint and Office 365 announcements from SharePoint Conference 2019, click <a href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-1/" target="_blank" rel="noreferrer noopener">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>Happy SharePointing!</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2018/09/16/sharepoint-farm-update-how-to-solve-the-feature-is-referenced-in-database-but-isnt-installed-on-the-current-farm-error-in-a-sharepoint-2016-farm/">SharePoint 2016 Upgrade: How to solve the “Feature is referenced in database but isn’t installed on the current farm” error</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/miguelisidoro/2018/09/16/sharepoint-farm-update-how-to-solve-the-feature-is-referenced-in-database-but-isnt-installed-on-the-current-farm-error-in-a-sharepoint-2016-farm/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Fixing the &#8220;The given key was not present in the dictionary&#8221; navigation error in a SharePoint 2016 farm</title>
		<link>https://blogit.create.pt/miguelisidoro/2018/09/12/fixing-the-the-given-key-was-not-present-in-the-dictionary-navigation-error-in-a-sharepoint-2016-farm/</link>
					<comments>https://blogit.create.pt/miguelisidoro/2018/09/12/fixing-the-the-given-key-was-not-present-in-the-dictionary-navigation-error-in-a-sharepoint-2016-farm/#respond</comments>
		
		<dc:creator><![CDATA[Miguel Isidoro]]></dc:creator>
		<pubDate>Wed, 12 Sep 2018 21:50:11 +0000</pubDate>
				<category><![CDATA[SharePoint 2016]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Fix]]></category>
		<category><![CDATA[Navigation]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<guid isPermaLink="false">https://blogit.create.pt/?p=7458</guid>

					<description><![CDATA[<p>Hello, Today, after migrating a SharePoint 2010 farm to SharePoint 2016, I suddenly caught an error with the current navigation in a SharePoint Publishing site. The site collection contains three main sub sites. For two of them, SharePoint navigation worked perfectly fine but for the other one, the navigation was not being shown. The Problem [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2018/09/12/fixing-the-the-given-key-was-not-present-in-the-dictionary-navigation-error-in-a-sharepoint-2016-farm/">Fixing the &#8220;The given key was not present in the dictionary&#8221; navigation error in a SharePoint 2016 farm</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hello,</p>
<p>Today, after migrating a SharePoint 2010 farm to SharePoint 2016, I suddenly caught an error with the current navigation in a SharePoint Publishing site. The site collection contains three main sub sites. For two of them, SharePoint navigation worked perfectly fine but for the other one, the navigation was not being shown.</p>
<h1>The Problem</h1>
<p>To try to find out the problem in the problematic sub site, I navigated to the Navigation settings page and caught the following error:</p>
<p><em><strong>The given key was not present in the dictionary.</strong> Stack Trace: at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at Microsoft.SharePoint.Publishing.CachedArea.CreateResultSetFromSuperUserAndSuperReader(StringCollection superReaderItemIDs, StringCollection superUserItemIDs, Dictionary`2 cachedObjects, SPWeb contextWeb, SPQuery query, List`1 fieldrefs, ICachedObjectFactory objectFactory) at Microsoft.SharePoint.Publishing.CachedArea.GetChildForListByQuery(String listName, SPQuery query, SPWeb contextWeb, Boolean onlyPopulateCache, List`1&amp; itemsFetched, Boolean skipIfThrottled) at Microsoft.SharePoint.Publishing.Navigation.PortalWebSiteMapNode.FetchDynamicItems(PublishingWeb pubWeb, NodeTypes includedTypes, Boolean&amp; websFetched, Boolean&amp; pagesFetched) at Microsoft.SharePoint.Publishing.Navigation.PortalWebSiteMapNode.PopulateNavigationChildrenInner(NodeTypes includedTypes) at Microsoft.SharePoint.Publishing.Navigation.PortalWebSiteMapNode.PopulateNavigationChildren(NodeTypes includedTypes) at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapNode.GetNavigationChildren(NodeTypes includedTypes, NodeTypes includedHiddenTypes, Boolean trimmingEnabled, OrderingMethod ordering, AutomaticSortingMethod method, Boolean ascending, Int32 lcid) at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapNode.GetNavigationChildren(NodeTypes includedTypes, NodeTypes includedHiddenTypes, OrderingMethod ordering, AutomaticSortingMethod method, Boolean ascending, Int32 lcid) at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapNode.GetNavigationChildren(NodeTypes includedHiddenTypes) at Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider.GetChildNodes(PortalSiteMapNode node, NodeTypes includedHiddenTypes)</em></p>
<h1>The Solution</h1>
<p>To solve the problem, all I had to do was reactivating the &#8220;SharePoint Server Publishing&#8221;  Site Feature (not the corresponding Site Collection feature) on the problematic sub site:</p>
<p><img decoding="async" class="alignnone wp-image-7461" src="https://blogit.create.pt////wp-content/uploads/2018/09/PublishingSiteFeature.jpg" alt="" width="696" height="52" srcset="https://blogit.create.pt/wp-content/uploads/2018/09/PublishingSiteFeature.jpg 829w, https://blogit.create.pt/wp-content/uploads/2018/09/PublishingSiteFeature-300x22.jpg 300w, https://blogit.create.pt/wp-content/uploads/2018/09/PublishingSiteFeature-768x57.jpg 768w, https://blogit.create.pt/wp-content/uploads/2018/09/PublishingSiteFeature-696x52.jpg 696w" sizes="(max-width: 696px) 100vw, 696px" /></p>
<p>After reactivating the feature, the navigation started to work as expected.</p>
<p><strong>NOTE:</strong> This solution should also be applicable to other versions of SharePoint Server, including SharePoint 2019. To learn more about all the new features in SharePoint 2019, click <a href="https://blogit.create.pt////miguelisidoro/2018/11/01/meet-the-new-modern-sharepoint-server-sharepoint-2019-rtm-is-here/" target="_blank" rel="noopener noreferrer">here</a>.</p>
<p>Hope this helps someone!</p>
<h1>Related Articles</h1>
<p>To learn why your business should migrate to SharePoint Online and Office 365, click <a href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-1/" target="_blank" rel="noreferrer noopener">here</a> and <a href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you want to convert your tenant&#8217;s root classic site into a modern SharePoint site, click <a href="https://blogit.create.pt////miguelisidoro/2019/08/27/how-to-modernize-your-tenant-root-site-collection-in-office-365-using-invoke-spositeswap/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>In the meantime, SharePoint 2019 RTM is already out there! If you want to know all about the new features available in the new SharePoint Server release, click <a href="https://blogit.create.pt////miguelisidoro/2018/11/01/meet-the-new-modern-sharepoint-server-sharepoint-2019-rtm-is-here/" target="_blank" rel="noopener noreferrer">here</a>.</p>
<p>If you are a SharePoint administrator or a SharePoint developer who wants to learn more about how to install a SharePoint 2019 farm in an automated way using PowerShell, I invite you to click <a href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-1/" target="_blank" rel="noopener noreferrer">here</a> and <a href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-2/" target="_blank" rel="noopener noreferrer">here</a>.</p>
<p>If you want to learn how to upgrade a SharePoint 2013 farm to SharePoint 2019, click <a href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-1/" target="_blank" rel="noreferrer noopener">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you want to learn all the steps and precautions necessary to successfully keep your SharePoint farm updated and be ready to start your move to the cloud, click <a href="https://blogit.create.pt////miguelisidoro/2019/04/08/how-to-install-sharepoint-cumulative-updates-in-a-sharepoint-farm-step-by-step/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you learn how to greatly speed up your SharePoint farm update process to ensure your SharePoint farm keeps updated and you stay one step closer to start your move to the cloud, click <a href="https://blogit.create.pt////miguelisidoro/2019/05/02/how-to-speed-up-the-installation-of-sharepoint-cumulative-updates-using-powershell-step-by-step/" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a>.</p>
<p>If SharePoint 2019 is still not an option, you can learn more about how to install a SharePoint 2016 farm in an automated way using PowerShell, click <a href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank" rel="noreferrer noopener">here</a> and <a href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you are involved in a SharePoint upgrade and want to learn more about the upgrade process, click <a href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/" target="_blank" rel="noreferrer noopener">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you are new to SharePoint and Office 365 and want to learn all about it, take a look at these <a href="https://blogit.create.pt////miguelisidoro/2018/10/17/sharepoint-and-office-365-learning-resources/" target="_blank" rel="noopener noreferrer">learning resources</a>.</p>
<p>If you are work in a large organization who is using Office 365 or thinking to move to Office 365 and is considering between a single or multiple Office 365 tenants, I invite you to read <a href="https://blogit.create.pt////miguelisidoro/2019/01/07/pros-and-cons-of-single-tenant-vs-multiple-tenants-in-office-365/" target="_blank" rel="noreferrer noopener">this article</a></p>
<p>If you want to know all about the latest SharePoint and Office 365 announcements from SharePoint Conference 2019, click <a href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-1/" target="_blank" rel="noreferrer noopener">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>Happy SharePointing!</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2018/09/12/fixing-the-the-given-key-was-not-present-in-the-dictionary-navigation-error-in-a-sharepoint-2016-farm/">Fixing the &#8220;The given key was not present in the dictionary&#8221; navigation error in a SharePoint 2016 farm</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/miguelisidoro/2018/09/12/fixing-the-the-given-key-was-not-present-in-the-dictionary-navigation-error-in-a-sharepoint-2016-farm/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>SharePoint 2016: Problems crawling content and the &#8220;The crawler could not communicate with the server.&#8221; error message</title>
		<link>https://blogit.create.pt/miguelisidoro/2018/08/10/sharepoint-2016-problems-crawling-content-and-the-the-crawler-could-not-communicate-with-the-server-error/</link>
					<comments>https://blogit.create.pt/miguelisidoro/2018/08/10/sharepoint-2016-problems-crawling-content-and-the-the-crawler-could-not-communicate-with-the-server-error/#respond</comments>
		
		<dc:creator><![CDATA[Miguel Isidoro]]></dc:creator>
		<pubDate>Fri, 10 Aug 2018 08:55:56 +0000</pubDate>
				<category><![CDATA[SharePoint 2016]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[SharePoint]]></category>
		<guid isPermaLink="false">http://blogit.create.pt/miguelisidoro/?p=3734</guid>

					<description><![CDATA[<p>Hello, Recently, after installing a SharePoint 2016 farm (to learn more on how to install a SharePoint 2016 farm in an automated way using PowerShell click here and here), I was configuring the Search Service Application in a customer&#8217;s SharePoint 2016 farm and got into a crawling error while trying to crawl the content of [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2018/08/10/sharepoint-2016-problems-crawling-content-and-the-the-crawler-could-not-communicate-with-the-server-error/">SharePoint 2016: Problems crawling content and the &#8220;The crawler could not communicate with the server.&#8221; error message</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hello,</p>
<p>Recently, after installing a SharePoint 2016 farm (to learn more on how to install a SharePoint 2016 farm in an automated way using PowerShell click <a href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank" rel="noopener noreferrer">here</a> and <a href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank" rel="noopener noreferrer">here</a>), I was configuring the Search Service Application in a customer&#8217;s SharePoint 2016 farm and got into a crawling error while trying to crawl the content of one of the web applications that is configured to use a FQDN URL and https, for example https://intranet.contoso.com. This web application is using a Content Database that was migrated from SharePoint 2010 to SharePoint 2016.</p>
<h1>The Problem</h1>
<p>The error that was being thrown was during the Full Crawl of the Content Source was:</p>
<p>“The crawler could not communicate with the server. Check that the server is available and that the firewall access is configured correctly. If the repository was temporarily unavailable, an incremental crawl will fix this error.”</p>
<h1>Failed Attempts</h1>
<p>When I saw this message, the first thought that crossed my mind was lack of permissions for the Default Content Access Account. The account was properly configured to have Full Read permissions on the web application and this was not the problem.</p>
<p>My next thought was that this could be a firewall problem and some ports necessary by the Search Service Application to properly crawl the web application content were not opened in the firewall (for a complete list of the necessary ports in a SharePoint 2016 installation, click <a href="https://blogs.msdn.microsoft.com/uksharepoint/2013/01/21/sharepoint-2013-ports-proxies-and-protocols-an-overview-of-farm-communications/" target="_blank" rel="noopener noreferrer">here</a> or <a href="https://blog.blksthl.com/2017/01/24/tcpip-ports-of-sharepoint-2016/" target="_blank" rel="noopener noreferrer">here</a>). However, after the firewall was properly configured, the error remained.</p>
<p>After some searching in the Internet, I tried without any success the following approaches:</p>
<ul>
<li>Disabling the <a href="https://blogs.technet.microsoft.com/sharepoint_foxhole/2010/06/21/disableloopbackcheck-lets-do-it-the-right-way/" target="_blank" rel="noopener noreferrer">loopback check</a> on the server</li>
<li>Disabling https for the web application</li>
<li>Creating a new empty web application with a FQDN URL and tried to crawl its contents</li>
<li>Resetting the search index</li>
<li>Deleting and recreating the content source</li>
</ul>
<h1>The Solution</h1>
<p>After all the failed attempts, I was able to solve the problem by extending the web application to a non-FQDN URL (for example http://intranet) and configuring this URL as the start address in the Content Source in the Search Service Application. This URL is internal (the host is only configured in the server&#8217;s hosts file and is not configured in the DNS) and is being used for crawling purposes only.</p>
<p><strong>Important detail:</strong> For the search results to be correctly presented, the newly added URL was configured in the Default Zone in Alternate Access Mappings (AAM) in Central Administration.</p>
<p><a href="http://blogit.create.pt/miguelisidoro/wp-content/uploads/sites/71/2018/08/Search_AlternateAccessMappings_DefaultZone.jpg"><img decoding="async" class="alignnone wp-image-3705 size-full" src="http://blogit.create.pt/miguelisidoro/wp-content/uploads/sites/71/2018/08/Search_AlternateAccessMappings_DefaultZone.jpg" alt="" width="769" height="219" srcset="https://blogit.create.pt/wp-content/uploads/2018/08/Search_AlternateAccessMappings_DefaultZone.jpg 769w, https://blogit.create.pt/wp-content/uploads/2018/08/Search_AlternateAccessMappings_DefaultZone-300x85.jpg 300w, https://blogit.create.pt/wp-content/uploads/2018/08/Search_AlternateAccessMappings_DefaultZone-768x219.jpg 768w, https://blogit.create.pt/wp-content/uploads/2018/08/Search_AlternateAccessMappings_DefaultZone-696x198.jpg 696w" sizes="(max-width: 769px) 100vw, 769px" /></a></p>
<p>The goal here is to allow users to use the FQDN URL (ex: https://intranet.contoso.com) to access the SharePoint Portal and the search results to include this same URL.</p>
<p>If I had configured the non-FQDN URL in a non-Default zone in AAM, the search results would always include the non-FQDN URL instead of the FQDN URL that users use to access the SharePoint Portal. To learn all about using the Default Zone to crawl content and AAM, please read the following two fantastic articles by Brian Pendergrass:</p>
<ul>
<li><a href="https://blogs.msdn.microsoft.com/sharepoint_strategery/2013/02/20/beware-crawling-the-non-default-zone-for-a-sharepoint-2013-web-application/" target="_blank" rel="noopener noreferrer">Beware crawling the non-Default zone for a SharePoint 2013 Web Application</a></li>
<li><a href="https://blogs.msdn.microsoft.com/sharepoint_strategery/2013/05/27/alternate-access-mappings-aams-explained/" target="_blank" rel="noopener noreferrer">Alternate Access Mappings (AAMs) *Explained</a></li>
</ul>
<p>I was able to configure a FQDN URL as the start address of a Content Source in the Search Service Application in one of my development environments without this problem, so I guess this behavior must be due to some infrastructure configuration in the customer&#8217;s environment which I have not yet been able to discover.<br />
If I find a solution that allows the usage of a FQDN URL to be configured as the start address in the Content Source in the Search Service Application, I will update this post.</p>
<p>Hope this helps!</p>
<h1>Related Articles</h1>
<p>To learn why your business should migrate to SharePoint Online and Office 365, click <a href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-1/" target="_blank" rel="noreferrer noopener">here</a> and <a href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you want to convert your tenant&#8217;s root classic site into a modern SharePoint site, click <a href="https://blogit.create.pt////miguelisidoro/2019/08/27/how-to-modernize-your-tenant-root-site-collection-in-office-365-using-invoke-spositeswap/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>In the meantime, new search capabilities have been introduced in SharePoint 2019. To learn more about them and all the new features in SharePoint 2019, click <a href="https://blogit.create.pt////miguelisidoro/2018/11/01/meet-the-new-modern-sharepoint-server-sharepoint-2019-rtm-is-here/" target="_blank" rel="noopener noreferrer">here</a>.</p>
<p>If you are a SharePoint administrator or a SharePoint developer who wants to learn more about how to install a SharePoint 2019 farm in an automated way using PowerShell, I invite you to click <a href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-1/" target="_blank" rel="noopener noreferrer">here</a> and <a href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-2/" target="_blank" rel="noopener noreferrer">here</a>.</p>
<p>If you want to learn how to upgrade a SharePoint 2013 farm to SharePoint 2019, click <a href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-1/" target="_blank" rel="noreferrer noopener">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you want to learn all the steps and precautions necessary to successfully keep your SharePoint farm updated and be ready to start your move to the cloud, click <a href="https://blogit.create.pt////miguelisidoro/2019/04/08/how-to-install-sharepoint-cumulative-updates-in-a-sharepoint-farm-step-by-step/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you learn how to greatly speed up your SharePoint farm update process to ensure your SharePoint farm keeps updated and you stay one step closer to start your move to the cloud, click <a href="https://blogit.create.pt////miguelisidoro/2019/05/02/how-to-speed-up-the-installation-of-sharepoint-cumulative-updates-using-powershell-step-by-step/" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a>.</p>
<p>If SharePoint 2019 is still not an option, you can learn more about how to install a SharePoint 2016 farm in an automated way using PowerShell, click <a href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank" rel="noreferrer noopener">here</a> and <a href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you are involved in a SharePoint upgrade and want to learn more about the upgrade process, click <a href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/" target="_blank" rel="noreferrer noopener">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you are new to SharePoint and Office 365 and want to learn all about it, take a look at these <a href="https://blogit.create.pt////miguelisidoro/2018/10/17/sharepoint-and-office-365-learning-resources/" target="_blank" rel="noopener noreferrer">learning resources</a>.</p>
<p>If you want to know all about the latest SharePoint and Office 365 announcements from SharePoint Conference 2019, click <a href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-1/" target="_blank" rel="noreferrer noopener">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-2/" target="_blank" rel="noreferrer noopener">here</a>.</p>
<p>If you are work in a large organization who is using Office 365 or thinking to move to Office 365 and is considering between a single or multiple Office 365 tenants, I invite you to read <a href="https://blogit.create.pt////miguelisidoro/2019/01/07/pros-and-cons-of-single-tenant-vs-multiple-tenants-in-office-365/" target="_blank" rel="noreferrer noopener">this article</a>.</p>
<p>Happy SharePointing!</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2018/08/10/sharepoint-2016-problems-crawling-content-and-the-the-crawler-could-not-communicate-with-the-server-error/">SharePoint 2016: Problems crawling content and the &#8220;The crawler could not communicate with the server.&#8221; error message</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/miguelisidoro/2018/08/10/sharepoint-2016-problems-crawling-content-and-the-the-crawler-could-not-communicate-with-the-server-error/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install a SharePoint 2016 farm using PowerShell and AutoSPInstaller Step by Step (Part 2)</title>
		<link>https://blogit.create.pt/miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/</link>
					<comments>https://blogit.create.pt/miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/#comments</comments>
		
		<dc:creator><![CDATA[Miguel Isidoro]]></dc:creator>
		<pubDate>Sat, 28 Jul 2018 23:32:14 +0000</pubDate>
				<category><![CDATA[SharePoint 2016]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[AutoSPInstaller]]></category>
		<category><![CDATA[Deployment]]></category>
		<guid isPermaLink="false">http://blogit.create.pt/miguelisidoro/?p=1974</guid>

					<description><![CDATA[<p>This post is the second part of a two part step by step tutorial on how to install SharePoint 2016 in a fully automated way using PowerShell. To read the first part, click here. Introduction Before installing a SharePoint 2016 farm, it is important to be familiar with its requirements. To learn more about SharePoint [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/">How to install a SharePoint 2016 farm using PowerShell and AutoSPInstaller Step by Step (Part 2)</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[This post is the second part of a two part step by step tutorial on how to install SharePoint 2016 in a fully automated way using PowerShell.

To read the first part, click <a href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank" rel="noopener noreferrer">here</a>.
<h1>Introduction</h1>
Before installing a SharePoint 2016 farm, it is important to be familiar with its requirements. To learn more about SharePoint 2016 hardware and software requirements, click <a href="https://docs.microsoft.com/en-us/sharepoint/install/hardware-and-software-requirements" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">here</a>.

Installing a SharePoint farm can be a complex task and the installation process is composed by a series of steps:
<ul>
 	<li>Downloading and installing SharePoint prerequisites</li>
 	<li>Downloading and installing the SharePoint binaries</li>
 	<li>Downloading and installing the lastest SharePoint updates</li>
 	<li>Downloading and installing the required language packs (optional, necessary if you want the SharePoint interface to be presented in a language other than English)</li>
 	<li>Configuring the SharePoint farm using SharePoint Products and Configuration Wizard</li>
</ul>
All the above steps are time consuming and can be error prone if, for example, you miss to download any of the prerequisites.

Fortunately, it is possible to fully automate a SharePoint farm installation using PowerShell by using a script called <a href="https://autospinstaller.com/" target="_blank" rel="noopener noreferrer">AutoSPInstaller</a>. The installation process can be divided in two major steps:
<ul>
 	<li>Downloading the SharePoint installation package, click <a href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank" rel="noopener noreferrer">here</a> for more details</li>
 	<li>Installing SharePoint and configuring the SharePoint farm</li>
</ul>
In this post, I will talk about the second part of the process: installing SharePoint and configuring the SharePoint farm.

<a href="https://autospinstaller.com/" target="_blank" rel="noopener noreferrer">AutoSPInstaller</a> can be used to install a SharePoint farm in the following versions of SharePoint:
<ul>
 	<li>SharePoint 2010</li>
 	<li>SharePoint 2013</li>
 	<li>SharePoint 2016</li>
 	<li>SharePoint 2019 (to learn more about all the new features in SharePoint 2019, click <a href="https://blogit.create.pt////miguelisidoro/2018/11/01/meet-the-new-modern-sharepoint-server-sharepoint-2019-rtm-is-here/" target="_blank" rel="noopener noreferrer">here)</a></li>
</ul>
The example in this post is based on SharePoint 2016 with the following farm topology:

<!-- /wp:post-content --> <!-- wp:list -->
<ul>
 	<li>1 SharePoint 2016 Server</li>
 	<li>1 Database Server</li>
</ul>
<h1>Managed Accounts and Pre-Installation Requisites</h1>
This is a critical step to ensure a successful SharePoint installation. Before the AutoSPInstaller script is executed, all the necessary managed accounts must be created and the appropriate permissions must be properly granted to each account. If any of these permissions is not granted, you will probably encounter problems during the installation. From my experience doing SharePoint installations, creating these accounts with all the required permissions ensures a fast and successful SharePoint installation. Here is the list of accounts and required permissions:
<table style="height: 2873px" width="700">
<tbody>
<tr>
<td width="86"><strong>Name</strong></td>
<td width="259"><strong>Description</strong></td>
<td width="134"><strong>Local Rights</strong></td>
<td width="102"><strong>Domain Rights</strong></td>
</tr>
<tr>
<td width="86">sp_farm</td>
<td width="259">The server farm account is used to perform the following tasks:
-Configure and manage the server farm.
-Act as the application pool identity for the SharePoint Central Administration Web site.
-Run the Microsoft SharePoint Foundation Workflow Timer Service.</td>
<td width="134">SecurityAdmin and DB_Creator rights on the SQL Instance</td>
<td width="102">Domain User</td>
</tr>
<tr>
<td width="86">sp_admin</td>
<td width="259">The server farm account is used to perform the following tasks:
-Setup
-SharePoint Products Configuration Wizard</td>
<td width="134">Local Administrator on all the SharePoint Servers. SysAdmin, SecurityAdmin and DB_Creator rights on the SQL Instance.
Must be na account with permissions to add rules to the local firewall.</td>
<td width="102">Domain User</td>
</tr>
<tr>
<td width="86">sp_pool</td>
<td width="259">The Pool account is used to run the Web Application Pools</td>
<td width="134">None</td>
<td width="102">Domain User</td>
</tr>
<tr>
<td width="86">sp_services</td>
<td width="259">The Services Account is used to run the Service Application Pool</td>
<td width="134">None</td>
<td width="102">Domain User</td>
</tr>
<tr>
<td width="86">sp_crawl</td>
<td width="259">The Default Content Access Account for the Search Service Application</td>
<td width="134">None</td>
<td width="102">Domain User</td>
</tr>
<tr>
<td width="86">sp_search</td>
<td width="259">Service Account to run the SharePoint Search “Windows Service”</td>
<td width="134">Local Administrator and SysAdmin rights on the SQL instance</td>
<td width="102">Domain User</td>
</tr>
<tr>
<td width="86">sp_mysitepool</td>
<td width="259">Used for the My Sites Web Application</td>
<td width="134">None</td>
<td width="102">Domain User</td>
</tr>
<tr>
<td width="86">sp_userprofilesync</td>
<td width="259">The User Profile Synchronization Account</td>
<td width="134">None</td>
<td width="102"><a href="http://bit.ly/TSE7xs" target="_blank" rel="noopener noreferrer">Replicating Directory Changes permission on the domain.</a></td>
</tr>
<tr>
<td width="86">wf_service</td>
<td width="259">WorkFlow Manager Service Account</td>
<td width="134">Local Administrator and SysAdmin rights on the SQL instance.</td>
<td width="102">Domain User</td>
</tr>
<tr>
<td width="86">sp_portalsuperuser</td>
<td width="259">Object Cache Service Account. The goals of the object cache are to reduce the load on the computer on which SQL Server is running, and to improve request latency and throughput. These user account must be properly configured to ensure that the object cache works correctly.</td>
<td width="134">None.
SharePoint: Must be an account that has Full Control access to the Web application.</td>
<td width="102">Domain User</td>
</tr>
<tr>
<td width="86">sp_portalsuperreader</td>
<td width="259">Object Cache Service Account. The goals of the object cache are to reduce the load on the computer on which SQL Server is running, and to improve request latency and throughput. These user account must be properly configured to ensure that the object cache works correctly.</td>
<td width="134">None.
SharePoint: Must be an account that has Full Read access to the Web application.</td>
<td width="102">Domain User</td>
</tr>
</tbody>
</table>
<strong>
Important Notes: </strong>
<ul>
 	<li>To avoid problems executing the AutoSPInstaller script, ensure that the passwords of the above accounts do not contain any special characters (ex: $,%,&amp;,/. etc)</li>
 	<li>The above table contains a proposal to name the accounts for the SharePoint installation. If you choose to use different names, ensure that the account names do not exceed 20 characters since NETBIOS names have a limit of 20 characters</li>
</ul>
<h1>Download AutoSPInstaller PowerShell script</h1>
To download the latest version of AutoSPInstaller, click <a href="https://github.com/brianlala/AutoSPInstaller" target="_blank" rel="noopener noreferrer">here</a>.

The files should be extracted to C:\SP\AutoSPInstaller, assuming that the SharePoint 2016 installation files downloaded with AutoSPSourceBuilder were saved to C:\SP\2016.

This is the folder structure that AutoSPInstaler uses:

<strong>\SP\AutoSPInstaller\AutoSPInstallerLaunch.bat</strong>
<strong>\SP\AutoSPInstaller\AutoSPInstallerInput.xml</strong>
<strong>\SP\AutoSPInstaller\AutoSPInstallerMain.ps1\SP\AutoSPInstaller\AutoSPInstallerFunctions.ps1</strong>
<strong>\SP\AutoSPInstaller\AutoSPInstallerFunctionsCustom.ps1</strong>
<strong>\SP\AutoSPInstaller\AutoSPInstallerConfigureRemoteTarget.ps1</strong>
<strong>\SP\AutoSPInstaller\config.xml</strong>
<strong>\SP\201x\SharePoint\&lt;installation files &amp; folders&gt;</strong>
<strong>\SP\201x\SharePoint\PreRequisiteInstallerFiles\</strong>
<strong>\SP\201x\SharePoint\Updates\</strong>
<strong>\SP\201x\LanguagePacks\xx-xx\ </strong>
<strong>\SP\201x\LanguagePacks\xx-xx\Updates\ </strong>
<strong>\SP\201x\Updates\</strong>

In this example, the root folder of the installation is C:\SP.
<h1>Creating the AutoSPInstaller configuration file</h1>
The next step, is to configure the AutoSPInstaller input configuration file that can be done in the <a href="https://autospinstaller.com" target="_blank" rel="noopener noreferrer">AutoSPInstaller web site</a>.  The end result of the configurations set in the AutoSPInstaller web site is the download of an XML file (AutoSPInstallerInput.xml) that contains all the settings required to configure the SharePoint farm. The AutoSPInstallerInput.xml file contains among other configurations:
<ul>
 	<li>SharePoint version to install</li>
 	<li>The SharePoint product key</li>
 	<li>The Farm Account and all Managed Accounts and their credentials</li>
 	<li>The database instance that will support the SharePoint environment</li>
 	<li>The web applications we want to create (ex: Intranet. My Site, etc)</li>
 	<li>The service applications we want to enable and their configurations</li>
 	<li>Outgoing email settings for the farm</li>
 	<li>Database names: this is extremely useful since it allows us to have complete control over the names of all the databases that will be created during the SharePoint farm configuration and avoid having databases with unclear names containing GUIDs which is the default behavior if we configure the farm using SharePoint Products Configuration Wizard (PSConfig)</li>
</ul>
<img decoding="async" class="size-full wp-image-2154 alignnone" src="https://blogit.create.pt////wp-content/uploads/2018/07/AutoSPInstaller_DBs.jpg" alt="" width="944" height="374" srcset="https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_DBs.jpg 944w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_DBs-300x119.jpg 300w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_DBs-768x304.jpg 768w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_DBs-696x276.jpg 696w" sizes="(max-width: 944px) 100vw, 944px" />

The AutoSPInstallerInput.xml file should be placed in C:\SP\AutoSPInstaller.
<h1>Installing SharePoint</h1>
After the AutoSPInstallerInput.xml file is configured, it&#8217;s time to install SharePoint!

<strong>IMPORTANT:</strong> the following steps should be executed using the <strong>sp_admin</strong> account.

Follow the following steps:

1. Run AutoSPInstallerLaunch.bat from the command line (run as administrator)

<a href="http://blogit.create.pt/miguelisidoro/wp-content/uploads/sites/71/2018/07/AutoSPInstaller_RunBat.jpg"><img decoding="async" class="alignnone size-full wp-image-2214" src="http://blogit.create.pt/miguelisidoro/wp-content/uploads/sites/71/2018/07/AutoSPInstaller_RunBat.jpg" alt="" width="759" height="428" srcset="https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_RunBat.jpg 759w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_RunBat-300x169.jpg 300w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_RunBat-696x392.jpg 696w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_RunBat-745x420.jpg 745w" sizes="(max-width: 759px) 100vw, 759px" /></a>

AutoSPInstallerLaunch.bat will launch a PowerShell window that will install SharePoint and configure the farm using as an input the AutoSPInstaller XML configuration file (AutoSPInstallerInput.xml) previously configured using the AutoSPInstaller web site.

2. After the PowerShell window is launched, the following will happen:
<ul>
 	<li>Managed accounts credentials will be validated. If any of the credentials is incorrect, the script will stop</li>
 	<li>SharePoint prerequisites will be installed</li>
 	<li>SharePoint will be installed</li>
 	<li>SharePoint language packs will be installed</li>
 	<li>SharePoint updates will be installed</li>
</ul>
During the script execution. a message may be presented saying that the script needs to be re-launched to workaround an known issue with SharePoint 2016 when language packs are being installed.

<a href="http://blogit.create.pt/miguelisidoro/wp-content/uploads/sites/71/2018/07/AutoSPInstaller_PowerShell_Issue.jpg.png"><img decoding="async" class="alignnone size-full wp-image-2204" src="http://blogit.create.pt/miguelisidoro/wp-content/uploads/sites/71/2018/07/AutoSPInstaller_PowerShell_Issue.jpg.png" alt="" width="867" height="641" srcset="https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_PowerShell_Issue.jpg.png 867w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_PowerShell_Issue.jpg-300x222.png 300w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_PowerShell_Issue.jpg-768x568.png 768w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_PowerShell_Issue.jpg-80x60.png 80w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_PowerShell_Issue.jpg-696x515.png 696w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_PowerShell_Issue.jpg-568x420.png 568w" sizes="(max-width: 867px) 100vw, 867px" /></a>

After the script is re-launched, the installation will resume until all SharePoint binaries are installed.

<a href="http://blogit.create.pt/miguelisidoro/wp-content/uploads/sites/71/2018/07/AutoSPInstaller_PowerShell.jpg"><img decoding="async" class="alignnone size-full wp-image-2234" src="http://blogit.create.pt/miguelisidoro/wp-content/uploads/sites/71/2018/07/AutoSPInstaller_PowerShell.jpg" alt="" width="878" height="629" srcset="https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_PowerShell.jpg 878w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_PowerShell-300x215.jpg 300w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_PowerShell-768x550.jpg 768w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_PowerShell-696x499.jpg 696w, https://blogit.create.pt/wp-content/uploads/2018/07/AutoSPInstaller_PowerShell-586x420.jpg 586w" sizes="(max-width: 878px) 100vw, 878px" /></a>
<h1>Configuring the SharePoint Farm</h1>
After SharePoint is installed, the script will ask if we want to proceed with farm configuration. To proceed, select &#8220;y&#8221; and click ENTER. The script will, among others, perform the following actions:
<ul>
 	<li>Create all managed accounts</li>
 	<li>Configure IIS and SharePoint ULS log file paths</li>
 	<li>Create the configured web applications (ex: Intranet, My Site)</li>
 	<li>Configure the service applications</li>
 	<li>Configure outgoing email settings for the farm</li>
</ul>
After the farm configuration is completed, the Central Administration will be opened and SharePoint is installed!

<a href="http://blogit.create.pt/miguelisidoro/wp-content/uploads/sites/71/2018/07/SharePoint2016_CA.jpg"><img decoding="async" class="alignnone size-full wp-image-2224" src="http://blogit.create.pt/miguelisidoro/wp-content/uploads/sites/71/2018/07/SharePoint2016_CA.jpg" alt="" width="1366" height="663" srcset="https://blogit.create.pt/wp-content/uploads/2018/07/SharePoint2016_CA.jpg 1366w, https://blogit.create.pt/wp-content/uploads/2018/07/SharePoint2016_CA-300x146.jpg 300w, https://blogit.create.pt/wp-content/uploads/2018/07/SharePoint2016_CA-768x373.jpg 768w, https://blogit.create.pt/wp-content/uploads/2018/07/SharePoint2016_CA-1024x497.jpg 1024w, https://blogit.create.pt/wp-content/uploads/2018/07/SharePoint2016_CA-696x338.jpg 696w, https://blogit.create.pt/wp-content/uploads/2018/07/SharePoint2016_CA-1068x518.jpg 1068w, https://blogit.create.pt/wp-content/uploads/2018/07/SharePoint2016_CA-865x420.jpg 865w" sizes="(max-width: 1366px) 100vw, 1366px" /></a>

<!-- wp:heading {"level":1} -->
<h1>Multi-Server Installation</h1>
<!-- /wp:heading -->

<!-- wp:paragraph -->

If you want to install SharePoint 2016 in multiple servers there is a number of considerations that you have to take into account. Some of the most important decisions are:

<!-- /wp:paragraph -->

<!-- wp:list -->
<ul>
 	<li>What is your farm topology and the number of servers you want to consider (WFEs, Application Servers and Database Servers)</li>
 	<li>Which services and service applications will be provisioned for each server</li>
 	<li>Will you be using MinRoles or will you use a custom installation where you will be manually selecting the services and service applications that will be provisioned for each server?</li>
</ul>
<!-- /wp:list -->

<!-- wp:paragraph -->

If you use MinRoles, these will supersede the individual service and service application selection for each server in the farm. These are the available MinRoles:

<!-- /wp:paragraph -->

<!-- wp:list -->
<ul>
 	<li>Front-end</li>
 	<li>Application</li>
 	<li>Distributed cache</li>
 	<li>Search</li>
 	<li>Custom</li>
 	<li>Single-server farm</li>
 	<li>Front-end with Distributed Cache (merge of
Front-end and Distributed cache MinRoles). available with Feature Pack 1 update or later</li>
 	<li>Application with Search (merge of Application and Search MinRoles). available with Feature Pack 1 update or later</li>
</ul>
<!-- /wp:list -->

<!-- wp:paragraph -->

Each of the MinRoles automatically provisions a specific set of services and service applications. If you want to learn more about MinRoles, click <a href="https://docs.microsoft.com/en-us/sharepoint/administration/description-of-minrole-and-associated-services-in-sharepoint-server-2016" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a>.

<!-- /wp:paragraph -->

<!-- wp:paragraph -->

Once farm topology and service/service application distribution is decided, we are ready to install SharePoint 2016 in multiple servers. For the installation process, you basically have two options:

<!-- /wp:paragraph -->

<!-- wp:list -->
<ul>
 	<li>Use Remote Installation</li>
 	<li>Install SharePoint individually in each SharePoint server</li>
</ul>
<!-- /wp:list -->

<!-- wp:heading {"level":3} -->
<h3>AutoSPInstaller Input File Configuration for Multi-Server Installation Notes when not using MinRoles</h3>
<!-- /wp:heading -->

<!-- wp:paragraph -->

If you decide not to use MinRoles and go for a Custom installation (which allows for a more granular selection of what services are provisioned in each server), you must ensure that the AutoSPInstaller XML input file in all servers is configured as Custom.

<!-- /wp:paragraph -->

<!-- wp:paragraph -->

When configuring AutoSPInstaller in the <a href="https://autospinstaller.com/" target="_blank" rel="noreferrer noopener">AutoSPInstaller web site</a> not to to use MinRoles, you will typically have a configuration similar to the one below.

<!-- /wp:paragraph -->

<!-- wp:image {"id":11669,"align":"center"} -->
<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="591" height="613" class="wp-image-11669" src="https://blogit.create.pt////wp-content/uploads/2019/10/AutoSPInstaller_MultiServerConfig_MinRoles.jpg" alt="" srcset="https://blogit.create.pt/wp-content/uploads/2019/10/AutoSPInstaller_MultiServerConfig_MinRoles.jpg 591w, https://blogit.create.pt/wp-content/uploads/2019/10/AutoSPInstaller_MultiServerConfig_MinRoles-289x300.jpg 289w, https://blogit.create.pt/wp-content/uploads/2019/10/AutoSPInstaller_MultiServerConfig_MinRoles-405x420.jpg 405w" sizes="(max-width: 591px) 100vw, 591px" /></figure>
</div>
<!-- /wp:image -->

<!-- wp:image {"id":11670,"align":"center"} -->
<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" width="583" height="450" class="wp-image-11670" src="https://blogit.create.pt////wp-content/uploads/2019/10/AutoSPInstaller_MultiServerConfig_FarmServices.jpg" alt="" srcset="https://blogit.create.pt/wp-content/uploads/2019/10/AutoSPInstaller_MultiServerConfig_FarmServices.jpg 583w, https://blogit.create.pt/wp-content/uploads/2019/10/AutoSPInstaller_MultiServerConfig_FarmServices-300x232.jpg 300w, https://blogit.create.pt/wp-content/uploads/2019/10/AutoSPInstaller_MultiServerConfig_FarmServices-544x420.jpg 544w" sizes="(max-width: 583px) 100vw, 583px" /></figure>
</div>
<!-- /wp:image -->

<!-- wp:paragraph -->

This seems correct but the generated XML configuration will have the following configuration in the &lt;ServerRoles&gt; section:

<!-- /wp:paragraph -->

<!-- wp:list -->
<ul>
 	<li>&lt;<strong>Custom </strong>Provision=&#8221; <strong>false</strong>&#8221; /&gt;</li>
 	<li>&lt;<strong>SingleServerFarm </strong>Provision=&#8221;<strong>localhost</strong> &#8221; /&gt;</li>
</ul>
<!-- /wp:list -->

<!-- wp:paragraph -->

With the configuration above, each server will be installed with a single server role and you will only be able to join the first server to the farm. When you try to add the remaining servers, the AutoSPInstaller PowerShell script instead of adding the servers to the farm, will try to recreate the farm, which will result in the error below.

<!-- /wp:paragraph -->

<!-- wp:image {"id":11679} -->
<figure class="wp-block-image"><img decoding="async" class="wp-image-11679" src="https://i0.wp.com/blogit.create.pt/wp-content/uploads/2019/10/SPFarmJoinError_AutoSPInstaller_Error.jpg?fit=696%2C239&amp;ssl=1" alt="" width="696" height="239" srcset="https://blogit.create.pt/wp-content/uploads/2019/10/SPFarmJoinError_AutoSPInstaller_Error.jpg 1073w, https://blogit.create.pt/wp-content/uploads/2019/10/SPFarmJoinError_AutoSPInstaller_Error-300x103.jpg 300w, https://blogit.create.pt/wp-content/uploads/2019/10/SPFarmJoinError_AutoSPInstaller_Error-768x263.jpg 768w, https://blogit.create.pt/wp-content/uploads/2019/10/SPFarmJoinError_AutoSPInstaller_Error-1024x351.jpg 1024w, https://blogit.create.pt/wp-content/uploads/2019/10/SPFarmJoinError_AutoSPInstaller_Error-696x239.jpg 696w, https://blogit.create.pt/wp-content/uploads/2019/10/SPFarmJoinError_AutoSPInstaller_Error-1068x366.jpg 1068w" sizes="(max-width: 696px) 100vw, 696px" /></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->

If you try to add the server manually to the farm, you will get the error below.

<!-- /wp:paragraph -->

<!-- wp:image {"id":11675} -->
<figure class="wp-block-image"><img decoding="async" width="676" height="581" class="wp-image-11675" src="https://blogit.create.pt////wp-content/uploads/2019/10/SPFarmJoinError.jpg" alt="" srcset="https://blogit.create.pt/wp-content/uploads/2019/10/SPFarmJoinError.jpg 676w, https://blogit.create.pt/wp-content/uploads/2019/10/SPFarmJoinError-300x258.jpg 300w, https://blogit.create.pt/wp-content/uploads/2019/10/SPFarmJoinError-489x420.jpg 489w" sizes="(max-width: 676px) 100vw, 676px" /></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->

To solve this, you must edit the XML configuration to configure the servers as &#8220;Custom&#8221; and not &#8220;SingleServerFarm&#8221;, using with the following configuration:

<!-- /wp:paragraph -->

<!-- wp:list -->
<ul>
 	<li>&lt;<strong>Custom </strong>Provision=&#8221;<strong>localhost</strong>&#8221; /&gt;</li>
 	<li>&lt;<strong>SingleServerFarm </strong>Provision=&#8221;<strong>false</strong>&#8221; /&gt;</li>
</ul>
<!-- /wp:list -->

<!-- wp:code -->
<pre class="wp-block-code"><code>&lt;ServerRoles&gt;
    &lt;Custom Provision="localhost" /&gt;
    &lt;WebFrontEnd Provision="false" /&gt;
    &lt;WebFrontEndWithDistributedCache Provision="false" /&gt;
    &lt;SingleServerFarm Provision="false" /&gt;
    &lt;Search Provision="false" /&gt;
    &lt;Application Provision="false" /&gt;
    &lt;ApplicationWithSearch Provision="false" /&gt;
    &lt;DistributedCache Provision="false" /&gt;
&lt;/ServerRoles&gt;</code></pre>
<!-- /wp:code -->

<!-- wp:list -->

<!-- /wp:list -->

<!-- wp:heading -->
<h2>Remote Installation</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->

In this approach, SharePoint will be installed using AutoSPInstaller on all servers from one of the SharePoint servers. The script will first install SharePoint locally on the server where the script is being executed and will then install SharePoint remotely on the other servers (all at once or one by one depending on AutoSPInstaller configuration file). The installation on the remote servers is performed using PowerShell Remoting and Windows Remote Management (WinRM). WinRM must be enabled for each of the servers where SharePoint will be installed remotely. To learn more about Remote Install (example for SharePoint 2013 but valid for SharePoint 2016 in what regards to remote installation), click <a href="https://www.c5insight.com/Resources/Blog/tabid/148/entryid/586/using-autospinstaller-to-build-a-three-tier-sharepoint-2013-farm-part-1.aspx" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">here</a>.

<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2>Install SharePoint individually in each SharePoint server</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->

This option doesn&#8217;t require WinRM to be enabled on any of the servers but requires instead that the AutoSPInstaller installation folder (C:\SP in this post) is copied to all servers. Additionally, there are some important notes to consider:

<!-- /wp:paragraph -->

<!-- wp:list -->
<ul>
 	<li>SharePoint bits must be installed on all servers <strong>but farm configuration must only be done once all servers have the SharePoint bits installed</strong>. You may Install the SharePoint bits (all steps before the &#8220;Configuring the SharePoint Farm&#8221; in this post) in all servers at the same time but you must stop the installation process once you are asked to continue with farm configuration</li>
 	<li>After the SharePoint bits are installed on all servers, you may proceed to the &#8220;Configuring the SharePoint Farm&#8221; section of this post <strong>BUT this must be done server by server, one at a time, sequentially</strong>. The AutoSPInstaller configuration file will determine what services and service applications are going to be provisioned on each server:
<ul>
 	<li>When you run the farm configuration in the first server, the farm will be created and the services and service applications that are configured to run on that server will be provisioned</li>
 	<li>When you run the farm configuration on the other servers, each server will be added to the farm and the services and service applications that are configured to run on that server will be provisioned</li>
</ul>
</li>
</ul>
<!-- /wp:list -->

<!-- wp:paragraph -->

To read the first part of this two part step by step tutorial, click <a href="https://blogit.create.pt////miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-1/" target="_blank" rel="noopener noreferrer">here.</a>
<h1>Related Articles</h1>
To learn why your business should migrate to SharePoint Online and Office 365, click <a href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-1/" target="_blank" rel="noreferrer noopener">here</a> and <a href="https://blogit.create.pt////miguelisidoro/2019/07/29/why-your-business-should-migrate-to-sharepoint-online-and-office-365-the-value-offer-part-2/" target="_blank" rel="noreferrer noopener">here</a>.

If you want to convert your tenant&#8217;s root classic site into a modern SharePoint site, click <a href="https://blogit.create.pt////miguelisidoro/2019/08/27/how-to-modernize-your-tenant-root-site-collection-in-office-365-using-invoke-spositeswap/" target="_blank" rel="noreferrer noopener">here</a>.

<a href="https://autospinstaller.com/" target="_blank" rel="noopener noreferrer">AutoSPInstaller</a> is also already available for the recently announced new version SharePoint, SharePoint 2019. To learn more about all the new features in SharePoint 2019, click <a href="https://blogit.create.pt////miguelisidoro/2018/11/01/meet-the-new-modern-sharepoint-server-sharepoint-2019-rtm-is-here/" target="_blank" rel="noopener noreferrer">here.</a>

If you are a SharePoint administrator or a SharePoint developer who wants to learn more about how to install a SharePoint 2019 farm in an automated way using PowerShell, I invite you to click <a href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-1/" target="_blank" rel="noopener noreferrer">here</a> and <a href="https://blogit.create.pt////miguelisidoro/2018/12/09/how-to-install-a-sharepoint-2019-farm-using-powershell-and-autospinstaller-part-2/" target="_blank" rel="noopener noreferrer">here</a>.

If you want to learn how to upgrade a SharePoint 2013 farm to SharePoint 2019, click <a href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-1/" target="_blank" rel="noreferrer noopener">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/03/06/how-to-upgrade-from-sharepoint-2013-to-sharepoint-2019-step-by-step-part-2/" target="_blank" rel="noreferrer noopener">here</a>.

If you want to learn all the steps and precautions necessary to successfully keep your SharePoint farm updated and be ready to start your move to the cloud, click <a href="https://blogit.create.pt////miguelisidoro/2019/04/08/how-to-install-sharepoint-cumulative-updates-in-a-sharepoint-farm-step-by-step/" target="_blank" rel="noreferrer noopener">here</a>.

If you learn how to greatly speed up your SharePoint farm update process to ensure your SharePoint farm keeps updated and you stay one step closer to start your move to the cloud, click <a href="https://blogit.create.pt////miguelisidoro/2019/05/02/how-to-speed-up-the-installation-of-sharepoint-cumulative-updates-using-powershell-step-by-step/" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a>.

If you want to learn how to upgrade a SharePoint 2010 farm to SharePoint 2016, click <a href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-1/" target="_blank" rel="noreferrer noopener">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/02/04/sharepoint-upgrade-upgrading-a-sharepoint-2010-farm-to-sharepoint-2016-step-by-step-part-2/" target="_blank" rel="noreferrer noopener">here</a>.

If you are new to SharePoint and Office 365 and want to learn all about it, take a look at these <a href="https://blogit.create.pt////miguelisidoro/2018/10/17/sharepoint-and-office-365-learning-resources/" target="_blank" rel="noreferrer noopener">learning resources</a>.

If you are work in a large organization who is using Office 365 or thinking to move to Office 365 and is considering between a single or multiple Office 365 tenants, I invite you to read <a href="https://blogit.create.pt////miguelisidoro/2019/01/07/pros-and-cons-of-single-tenant-vs-multiple-tenants-in-office-365/" target="_blank" rel="noreferrer noopener">this article</a>.

If you want to know all about the latest SharePoint and Office 365 announcements from SharePoint Conference 2019, click <a href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-1/" target="_blank" rel="noreferrer noopener">here </a>and <a href="https://blogit.create.pt////miguelisidoro/2019/06/05/whats-new-for-sharepoint-and-office-365-from-sharepoint-conference-2019-part-2/" target="_blank" rel="noreferrer noopener">here</a>.

Happy SharePointing!

<!-- wp:paragraph -->

<!-- /wp:paragraph --><!-- /wp:paragraph --><p>The post <a href="https://blogit.create.pt/miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/">How to install a SharePoint 2016 farm using PowerShell and AutoSPInstaller Step by Step (Part 2)</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/miguelisidoro/2018/07/28/how-to-install-a-sharepoint-2016-farm-using-powershell-and-autospinstaller-part-2/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
	</channel>
</rss>
