“Sideloading of apps is not enabled on this site” Publishing SharePoint App directly from VS2013

I was playing with VS2013, my SharePoint online site, and uploading an app w/o any intervention on the browser (and without SharePoint installed locally).  My first attempt yielded this error:

“Sideloading of apps is not enabled on this site” – SharePoint Online Development.

Through various searches found these steps (thanks http://blogs.msdn.com/b/kaevans/archive/2013/10/05/enabling-the-developer-site-collection-feature-in-sharepoint-online.aspx)
1) Install SharePoint Client Browser (http://spcb.codeplex.com/releases/view/114743)
2) Open SharePoint PowerShell from SP Client Browser
3) Run this script (activates the hidden Developer feature):

$ctx.Load($ctx.Site);
$ctx.ExecuteQuery();
$guid = [System.Guid]”e374875e-06b6-11e0-b0fa-57f5dfd72085″
$ctx.Site.Features.Add($guid,$true, Microsoft.SharePoint.Client.FeatureDefinitionScope]::None)
$ctx.ExecuteQuery();

4) Publish right from VS

One thought on ““Sideloading of apps is not enabled on this site” Publishing SharePoint App directly from VS2013

Leave a Reply

Your email address will not be published. Required fields are marked *