Forum Discussion
SharePoint 365 - Solutiom Template - Missing Feature "SharePointHomeCache Feature"
- Mar 19, 2020
Dear all,
I found the step that seems to activate the "SharePointHomeCache Feature" (Feature Scope Site Collection, Feature ID 94280101-dc63-4b83-842a-8707b1afb62d):
After I create a new Site Page, add an PNG image to the header, add a new web part of type Text, save the whole site as a solution template, then I get the error regarding the not activated feature "SharePointHomeCache Feature", when I try to use the solution template to create a new subsite (on an newly created, blank site).
When I just manually create a Site Page in the blank site, then the creation of a new subsite with the solution template works fine, so the feature seems to be activated. For now, that's my workaround: in every new site just manually create a page, and then apply the solution template.
Still no clue where to check in SharePoint if the feature is activated, and how to manually activate the feature.
Just wanted to let you know, in case someone is faced with the same issue.
Best regards,
Nic
Hi VirtualNic , I got a solution for this issue. Please refer to article below, use the Powershell command to activate the Feature GUID with from the given error.
https://www.sharepointdiary.com/2015/01/sharepoint-online-activate-feature-using-powershell.html#ixzz6MzZlTBzZ
Here is example script:
--------------------------------------------------------------------------------
Import-Module Microsoft.Online.SharePoint.Powershell
$SiteURL = "https://tenant.sharepoint.com/Sites/Sitename"
$FeatureGUID =[System.GUID]("94280101-dc63-4b83-842a-8707b1afb62d")
$LoginName ="admin@company.onmicrosoft.com"
$LoginPassword ="Password"
$ctx = New-Object Microsoft.SharePoint.Client.ClientContext($SiteURL)
$SecurePWD = ConvertTo-SecureString $LoginPassword –asplaintext –force
$Credential = new-object -typename System.Management.Automation.PSCredential -argumentlist $LoginName, $SecurePWD
$ctx.Credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($Credential.UserName,$Credential.Password)
$site = $ctx.site
$site.Features.Add($FeatureGUID, $force, [Microsoft.SharePoint.Client.FeatureDefinitionScope]::farm)
$ctx.ExecuteQuery()
write-host "Feature has been Activated!"
--------------------------------------------------------------------------------------------
-If you unsure whether if the features activated, repeat the command and you will see error with Features already activated.