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? The refinement Web Part in the SharePoint Online search results page helps us narrow down the search results, based on specific criteria. By default, SharePoint Online provides several standard refinements, such as Result…

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 using PowerShell: 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…

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 their 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 the SharePoint…

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 the PowerShell module for SharePoint Online with “Import-Module -Name Microsoft.Online.SharePoint.PowerShell”, I 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 the 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 The 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…

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? SharePoint Online document libraries often have a hierarchical structure, where folders and files inherit their permissions from the parent folder or document library. However, in some cases, unique permissions…

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? SharePoint Groups are used to control access to sites, lists, libraries, and other resources. Have you ever wanted to export all members of a SharePoint Online group to Excel? In some cases, it may be…

Read more