SharePoint Online: How to Add a Custom Refiner to Refinement Panel in Search Results?

Requirement: Create Search Refiners in SharePoint Online. How to add a Custom Column in Search Refiner in SharePoint Online? Refinement Web Part in the SharePoint Online search results page helps us narrow down the search results. By default, the refinement panel has Result type, Author, and Modified Date columns. In my case,…

Read more

How to Get a List by GUID in SharePoint Online?

Requirement: Get a List from GUID in SharePoint Online. Get List by GUID in SharePoint Online: Have you ever needed to get a list by its GUID in SharePoint Online? Perhaps you’ve got the GUID of the list and wanted to identify the list, or you need to do something with the…

Read more

SharePoint Online: Restore Deleted Files from Recycle Bin using PowerShell

Requirement: Restore Files from recycle bin in SharePoint Online using PowerShell How to Restore Files from Recycle bin in SharePoint Online? There are times when we might find ourselves needing a way of retrieving deleted files or folders that have been mistakenly deleted. The SharePoint recycle bin is more or less similar…

Read more

SharePoint Online: Filter List Items based on Created or Modified Date using PowerShell

Requirement: Filter and Get List Items based on its created or modified date values in SharePoint Online using PowerShell. How to Filter and Get List Items Created in the Past 30 Days using PowerShell? Here is the PowerShell example to get list items created in the past 30 days in SharePoint Online…

Read more

Import-Module : Could not load type ‘Microsoft.SharePoint.Administration.DesignPackageType’ from assembly ‘Microsoft.SharePoint.Client, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c’

Problem: When trying to import PowerShell module for SharePoint Online with “Import-Module -Name Microsoft.Online.SharePoint.PowerShell”, got an error message: PS C:\> Import-Module -Name Microsoft.Online.SharePoint.PowerShell                  Import-Module : Could not load type ‘Microsoft.SharePoint.Administration.DesignPackageType’ from assembly ‘Microsoft.SharePoint.Client, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c’. At line:1 char:1 + Import-Module -Name Microsoft.Online.SharePoint.PowerShell +…

Read more

SharePoint Online: How to Stop Inheriting Permission and Setup Unique Access to a Subsite?

Requirement: Break permission inheritance of a Subsite in SharePoint Online. How to Break Subsite Permission Inheritance in SharePoint Online? When we create a new subsite in SharePoint Online, we have an option to set its permission: whether the subsite should inherit permissions from its parent site or it should have unique permissions….

Read more

SharePoint Online: Copy List or Document Library to Another Site using PnP PowerShell

Requirement: Copy Document Library to another site using PowerShell SharePoint Online: Copy Document Library to Another site using PnP PowerShell PnP provisioning engine lets us copy site objects such as lists and libraries, site columns, content types, composed looks, pages, etc. We can export existing customization to an XML file and use…

Read more

SharePoint Online: Remove Unique Permissions from All Folders in a Document Library using PowerShell

Requirement: Remove unique permissions from all folders-sub-folders in a SharePoint Online document library. How to Delete Unique Permissions of a Folder in SharePoint Online? In this blog post, we will walk you through the process of removing unique permissions from all folders in a SharePoint Online document library. This can be useful if…

Read more

SharePoint Online: Export Group Members to Excel

Requirement: Export SharePoint Online group members to Excel How to Export SharePoint Online Group Members to Excel? Have you ever wanted to export all members of a SharePoint Online group to Excel? Maybe you want to create a report or simply want to audit the SharePoint groups and their members or track…

Read more