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: To get a list from its GUID, you can use this URL: https://crescent.sharepoint.com/_layouts/15/listedit.aspx?List=GUID, This takes you to the list settings page of the given GUID. Let’s use PowerShell CSOM to get a list from GUID: PowerShell…

Read more

SharePoint Online: Restore Deleted Items from Recycle Bin using PowerShell

Requirement: Restore Items from recycle bin in SharePoint Online using PowerShell How to Restore Items from Recycle bin in SharePoint Online? The recycle bin in SharePoint Online site is more or less similar to what you have on your local PC. It lets you view and restore the items that have been…

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 XML file and use it…

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? To remove unique permissions from a SharePoint Online Folder, follow these steps: Navigate to your SharePoint Online document library where the target folder is located.  Right click on Folder,…

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? Well, here is how you can do that: Login to Site Collection >> Navigate to Site Settings Click on “People…

Read more

SharePoint Online: Move Users from One Group to Another

Requirement: Move users from one group to another in SharePoint Online. How to Move Users Between SharePoint Online Groups? Well, there is no direct way to copy or move users between SharePoint Online groups. But you can achieve it by following the below steps: Click on Settings gear >> Site Settings Click…

Read more