International Women's Day

SharePoint 2013: ShareWithEveryone Error When Creating a Site from a Solution

September 14, 2013 by

I was experiencing the following error in SharePoint 2013 trying to create a new web from a solution that had been uploaded to the Template Gallery for a site collection.

“Problem applying web template”. “This web template required that certain features be installed, activated and licensed. The following problems are blocking application of the template:”

clip_image002

Turns out that the site collection was upgraded and as a result did not have the Share With Everyone feature enabled by default.

To enable the ShareWithEveryone feature you need to save the following PowerShell to a .ps1 file and run it for each site collection that has been upgraded from SharePoint 2010:

[sourcecode language=”powershell” wraplines=”false” collapse=”false”]
$siteUrl = "https://www.contoso.com/sites/yoursitename" #URL of site collection
$site = Get-SPSite $siteUrl
#Need to put this on a new line if in a file
$site.Features.Add([System.Guid]"10F73B29-5779-46b3-85A8-4817A6E9A6C2")
[/sourcecode]

Pin It on Pinterest

Share This