Posts

Showing posts from December, 2014

Deploying App in SharePoint Online - Sideloading of apps is not enabled on this site.

Its the era of Office 365 and cloud  now. On a fine day, you learned to develop app. The app is developed in Visual Studio and you are planning to deploy in your SharePoint Online site.

You created the developer's siteDeveloped the AppThen tried to deploy the App.....

Boommm!!! 
Error occurred in deployment step 'Install app for SharePoint': Sideloading of apps is not enabled on this site.
Now What??? Then comes the PowerShell scripts for your rescue.....
Thanks to Edge Pereira for the Time saver....
Execute the following PowerShell scripts. 

#CODE STARTS HERE $programFiles = [environment]::getfolderpath("programfiles") add-type -Path $programFiles'\SharePoint Online Management Shell\Microsoft.Online.SharePoint.PowerShell\Microsoft.SharePoint.Client.dll' Write-Host 'Ready to enable Sideloading' $siteurl = Read-Host 'SiteUrl' $username = Read-Host "UserName" $password = Read-Host -AsSecureString 'Password' $outfilepath = $siteurl -r…