This SharePoint Online tutorial explains, how to solve site assets library missing SharePoint online issue. We will also check how to activate “Wiki Page Home Page” site feature programmatically using PnP SharePoint Online and using the browser.
Recently I have created a SharePoint Online publishing site. After the site was created, I have found that “Site Assets” and “Site Pages” are not available in the Site contents page.
To solve the site assets library missing SharePoint online issue, you need to activate the “Wiki Page Home Page” site feature.
We can activate the “Wiki Page Home Page” site feature using the browser or programmatically using PnP SharePoint Online.
“Wiki Page Home Page” site feature is activated by default in team site.
Activate Wiki Page Home Page Feature using Browser in SharePoint Online/2019/2016/2013
For activating the feature, Open SharePoint Online site, go to Site Settings -> Click on “Manage Site Features” under “Site Actions”. Search for “Wiki Page Home Page” and click on the “Activate” button.

Once you activate, you can see it will be activated like below:

Activate Wiki Page Home Page feature Programmatically using PNP Core CSOM library in SharePoint Online
Now we will see how to activate “Wiki Page Home Page” in SharePoint O
If you are new to Sharepoint PnP, following this article to know about PnP SharePoint Online Development using Patterns and Practices (PnP)
Here I have created an asp.net application and I have added a button and On click on the button, I am activating the feature using PnP core csom library.
Below are the references are used in the code:
- Microsoft.SharePoint.Client;
- OfficeDevPnP.Core;
Activating the feature use below code:
clientcontext.web.ActivateFeature(Guid) ;
Given below example shows the activate the feature “Wiki Page Home Page” which you can write on the button.
AuthenticationManager authMgr = new AuthenticationManager();
string siteURL = "https://doaminName.sharepoint.com/sites/TSInfoPNP";
string userName = "*******@doaminName.onmicrosoft.com";
string password = "********";
protected void btnActivateFeature_Click(object sender, EventArgs e)
{
activateFeatureWikiPage();
}
public void activateFeatureWikiPage()
{
Guid wikiPageFeatureID = Guid.Parse("00bfea71-d8fe-4fec-8dad-01c19a6e4053");
try
{
using (var ctx = authMgr.GetSharePointOnlineAuthenticatedContextTenant(siteURL, userName, password))
{
ctx.Load(ctx.Web);
ctx.Web.ActivateFeature(wikiPageFeatureID);
ctx.ExecuteQueryRetry();
}
lblActivateFeature.Text = "Wiki Page Home Page Feature Successfully Activated";
}
catch (Exception ex) {
lblActivateFeature.Text = ex.StackTrace;
}
}
Run Your Application. Next click Button “Activate WikiPage” as shown below.

Now the feature is activated on our SharePoint Online site. Go to Site Settings -> Site Actions -> Manage Site Features.

You may like following SharePoint tutorials:
- Embed PowerApps in Modern SharePoint Online Site Page
- How to set modern home page in classic SharePoint site in SharePoint Online Office 365?
- SharePoint Online: Cannot create a site page. please have your administrator enable the required feature on this site
- Create and Deploy SharePoint 2013 site pages or content pages using Visual Studio 2013
- Difference between site pages and application pages in SharePoint 2013/2010
- Delete site collection in SharePoint Online Office 365 and SharePoint 2013/2016/2019
- How to change Site Collection Administrator in SharePoint Online or SharePoint 2019/2016/2013
- Create site page option missing in SharePoint Online modern sites
This SharePoint Online tutorial we saw how to solve site assets library missing SharePoint online issue and also we saw how to activate wiki page home page site features programmatically using PnP SharePoint and using browser.
I am Bijay a Microsoft MVP (8 times – My MVP Profile) in SharePoint and have more than 15 years of expertise in SharePoint Online Office 365, SharePoint subscription edition, and SharePoint 2019/2016/2013. Currently working in my own venture TSInfo Technologies a SharePoint development, consulting, and training company. I also run the popular SharePoint website EnjoySharePoint.com