Translate

Thursday, July 17, 2014

sideloading of apps is not enabled on this site : sharepoint online

Are you developing Apps for SharePoint 2013 on a non developer site ? There is a new site template available for developers to develop their apps and test them on a Developer Site Template. You should use Developer site template to develop and test your apps.
If you are trying to deploy your app on a non developer site then you would receive an error "side loading of apps is not enabled on this site SharePoint online".

Side Loading is a hidden feature  which should be enabled on the site to deploy your app. By default this feature is not enabled on any non developer site, so when Visual Studio tries to deploy your app, VS checks if side loading is enabled.
VS calls a method Microsoft.SharePoint.Client.AppCatalog.IsAppSideloadingEnabled and it returns FALLS if it is not a developer site template. However, this hidden feature can be enabled by using Power Shell. Please follow the below MSDN link which explains how to enable them.
http://blogs.msdn.com/b/officeapps/archive/2013/12/10/enable-app-sideloading-in-your-non-developer-site-collection.aspx

Remember side loading of apps is not secure on production sites. It has potential risk of unwanted apps to get added in your site. So never turn on this feature on a production site.