How to enable Side Loading in Office 365 or SharePoint online?

Fellow SharePointers,

Below is the  Powershell script to enable Side app loading in Sharepoint online environment.

[Microsoft.SharePoint.Client.ClientContext]$ClientContext = New-Object Microsoft.SharePoint.Client.ClientContext($siteurl)
$ClientContext.Credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($username, $password)
$site = $ClientContext.Site;

$sideLoadingGuid = new-object System.Guid “AE3A1339-61F5-4f8f-81A7-ABD2DA956A7D”
$site.Features.Add($sideLoadingGuid, $true, [Microsoft.SharePoint.Client.FeatureDefinitionScope]::None);


Write-Host -ForegroundColor Green ‘SideLoading feature is enabled now’
Write-Host -ForegroundColor Red ‘Error ‘ $siteurl, ‘:’ $Error[0].ToString();

Happy Sharepointing!!!

Leave a Reply

Your email address will not be published. Required fields are marked *