Tuesday, August 18, 2015

Error occurred in deployment step 'Install app for SharePoint': Sideloading of apps is not enabled on this site.

I was trying to create SharePoint apps using Visual Studio 2013 & when I tryied to deploy it was showing me an error :



The following feature need to be enabled :

Display Name: EnableAppSideLoading

Id: ae3a1339-61f5-4f8f-81a7-abd2da956a7d

Compatibility Level: 15

To enable sideloading feature, use the following PowerShell commands:

   
$site = Get-SPSite "http://your.site.url"

$sideLoadingId = new-object System.Guid "ae3a1339-61f5-4f8f-81a7-abd2da956a7d"

$site.Features.Add($sideLoadingId)