SharePoint Online: Find Unused Lists based on Last Modified Date

Requirement: Find Unused SharePoint Online Lists and libraries based on the Last Modified Date. How to Get the List Last Modified Date in SharePoint Online? Are you looking for a way to clean up your SharePoint Online site? Maybe you’re finding that it’s becoming cluttered with unused lists. Or, possibly, you’d just…

Read more

SharePoint Online: Migrate a Folder with Sub-Folders and Files using PowerShell

Requirement: Migrate a folder with its sub-folders and files from the local disk to SharePoint Online using PowerShell. PowerShell to copy a Folder with Its Sub-Folders and Files to SharePoint Online: Migrating a folder (and all its sub-folders and files) from your local computer to SharePoint Online can be a daunting task….

Read more

Fix “List cannot be deleted while on hold or retention policy” Error on SharePoint Online

Problem: When trying to delete a document library in SharePoint Online, it gave an error message: “list cannot be deleted while on hold or retention policy.” Solution: As the error message says: List cannot be deleted while on hold or retention policy. This error is due to the site being under hold or…

Read more

SharePoint Online: Get Document Library Inventory (Folder-SubFolder-File Structure) using PowerShell

Requirement: Get the file-folder structure of a SharePoint document library and export it to CSV. How to Get a List of All Files and Folders in a SharePoint Online Document Library? If you need to get a list of all the files and folders in a SharePoint Online document library, there are…

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: 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

Get All Document Libraries in SharePoint Online using PnP PowerShell

Requirement: Get all document libraries in SharePoint Online using PowerShell PnP. PnP PowerShell to Get All Document Libraries in SharePoint Online Would you like to get a list of all document libraries on your SharePoint Online site? PowerShell makes it easy! I’ll show you how to use PowerShell to get a list…

Read more

SharePoint Online: Get Document Library Permissions and Export to CSV using PnP PowerShell

Requirement: SharePoint Online PowerShell to Get Document Library Permissions. How to Get SharePoint Online Document Library Permissions? Are you looking for a way to export permissions on your SharePoint Online document library so that you’ll be sure who has access to your SharePoint Online document library? Or perhaps you want to generate…

Read more

SharePoint Online: Get List Item Count using PowerShell

Requirement: Get list item count in SharePoint Online using PowerShell. How to Get List Items Count in SharePoint Online? If you need to get a count of the items in a given SharePoint Online list, there are a few ways to do it. In this post, we’ll show you how to use…

Read more

SharePoint Online: How to Set Permissions to Add But Not Delete?

Requirement: Set permission to add but not delete in SharePoint site or list. How to Set Permissions to add but not delete in SharePoint? We have a requirement to configure permissions to add items but not delete them in a SharePoint Online site. So, let’s see how we can restrict permissions on…

Read more