PNP Template – PnP Provisioning Template for SharePoint Online

1, Install SharePoint PowerShell: Install-Module SharePointPnPPowerShellOnline 2, Connect to SharePoint Online: Connect-PnPOnline –Url https://yoursite.sharepoint.com –Credentials (Get-Credential) 3, Go to the folder where you want to save the whole site collection XML and execute the command: Get-PnPProvisioningTemplate -Out “PnP-Provisioning-File.xml” More Information Click Here

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