SharePoint Online: How to Deploy a Design Package Solution (WSP) using PowerShell?

Requirement: Deploy a design package solution (WSP) in SharePoint Online. Prerequisites: You must activate publishing infrastructure feature both at site collection and site levels before deploying any design package! How to deploy a Solution Package using PowerShell? You may have a solution package WSP file for site template or design package for…

Read more

How to Customize Search Navigation in SharePoint Online?

Requirement: Customize search drop down by adding a new search scope in SharePoint Online. How to Customize the Search Navigation in SharePoint Online? The default search drop-down has below options: Everything People Conversations This Site We need a new custom scope (drop down option) to the search drop down to be added. This…

Read more

How to Install / Update / Uninstall SharePoint Online PowerShell Module?

SharePoint Online Management Shell is available as a module in PowerShell Gallery now! So, you can install it as a module directly from PowerShell instead of downloading and installing the MSI file! This makes it easier to update. Here is how to install SharePoint Online PowerShell module: Prerequisites: The Install-module cmdlet comes…

Read more

Download and Install SharePoint Online Client Components SDK using PowerShell

We need SharePoint Online client components SDK installed on the client machine, to be able to connect and work with SharePoint Online objects programmatically. We can download and install CSOM assemblies for SharePoint Online from https://www.microsoft.com/en-us/download/details.aspx?id=42038, This installs a couple of assemblies (DLL files!) at folder “C:\Program Files\Common Files\microsoft shared\Web Server Extensions\16\ISAPI”…

Read more

Add Active Directory Group to SharePoint using PowerShell

Requirement: Add Active Directory Group to SharePoint Group using PowerShell How to Add Active Directory Group to SharePoint? To add AD group to SharePoint, do the following: Navigate to your SharePoint site and click on the Site Settings gear icon >> Select “Site settings” Click on the “People and groups” link under…

Read more