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

Register Workflow Manager on SharePoint Server using Powershell Scripts

PowerShell Script:  Register-SPWorkflowService –SPSite “http://yourSharePointSiteCollection” –WorkflowHostUri “https://yourWorkFlowServer:12290” –AllowOAuthHttp -force Troubleshooting: Register-SPWorkflowService : The underlying connection was closed: An unexpected error occurred on a receive.     + CategoryInfo          : InvalidData: (Microsoft.Share…WorkflowService:    RegisterSPWorkflowService) [Register-SPWorkflowService], InvalidOperationE   xception     + FullyQualifiedErrorId : Microsoft.SharePoint.WorkflowServices.PowerShell    .RegisterSPWorkflowServicePS C:\Users\Asish.Punnose> Register-SPWorkflowService… Read More

How do you stop and start the service in Central Aministration using PowerShell in SharePoint 2016?

To stop a service: $ServiceName = “Microsoft SharePoint Foundation Sandboxed Code Service” Get-SPServiceInstance -server $env:COMPUTERNAME | where-object {$_.TypeName -eq $ServiceName} | Stop-SPServiceInstance -confirm:$false > $null   To start a service: $ServiceName = “Microsoft SharePoint Foundation Sandboxed Code Service” Get-SPServiceInstance -server $env:COMPUTERNAME | where-object {$_.TypeName -eq… Read More

Microsoft SharePoint Server 2016 encountered an error during setup

While installing SharePoint Server 2016 you get the “Microsoft SharePoint Server 2016 encountered an error during setup”, and when the error page opens you see its error 1603.     Solution :-   Run the below  PowerShell with  administrator privileges   if(!(Test-Path HKLM:SOFTWAREPoliciesMicrosoftWindowsInstaller)){ New-Item -Path HKLM:SOFTWAREPoliciesMicrosoftWindowsInstaller | Out-Null… Read More