Error occurred in deployment step ‘Install SharePoint Add-in’: Sideloading of apps is not enabled on this site

Enabling the Developer Site Collection Feature in SharePoint On-Premisis Open Powershell command prompt // load sharepoint dll Add-PSSnapin Microsoft.SharePoint.PowerShell //activate feature Enable-SPFeature e374875e-06b6-11e0-b0fa-57f5dfd72085 –url siteUrl   Enabling the Developer Site Collection Feature in SharePoint Online $programFiles = [environment]::getfolderpath(“programfiles”) add-type -Path $programFiles’\SharePoint Online Management Shell\’ + ` ‘Microsoft.Online.SharePoint.PowerShell\Microsoft.SharePoint.Client.dll’ Write-Host ` ‘To enable SharePoint app… Read More