SharePoint Online: Get a Document Library using PowerShell

Requirement: Get a Document Library in SharePoint Online using PowerShell. SharePoint Online: Get a Document Library using PowerShell When working with PowerShell and SharePoint Online, there may be times you need to get a document library. There are many ways to interact with SharePoint Online from Powershell. This blog post will look…

Read more

SharePoint Online: Move All Files from One Folder to Another using PowerShell

Requirement: Move All Files Between Folders in SharePoint Online using PowerShell. How to move files between folders in SharePoint Online? In SharePoint Online, folders play a crucial role in organizing and categorizing content, making it easier to find what you need. However, as your organization grows and evolves, the need to move…

Read more

SharePoint Online: Delete All Files and Sub-Folders from a Folder Recursively using PowerShell

Requirement: Empty a Folder in the SharePoint Online document library by deleting all its files and Sub-Folders recursively. How to delete a folder with subfolders and files from SharePoint Online? Deleting files and sub-folders in SharePoint Online can be done through the SharePoint user interface. To delete all files and sub-folders from…

Read more

Fix “You have to delete all the items in this folder before you can delete the folder” Error in SharePoint Online

Problem: When trying to delete a folder with sub-folders and files, I got an error message “You have to delete all the items in this folder before you can delete the folder” in SharePoint Online or OneDrive. You may also see the “Request was cancelled by event received. If attempting to delete…

Read more

SharePoint Online: How to Enable Rating in List using PowerShell?

Requirement: Enable Rating in SharePoint Online List. How to Enable Rating in SharePoint Online? The rating feature in SharePoint Online helps to highlight documents and list items. The rating can be enabled in the SharePoint Online list and libraries to let users see and rate items. The rating can be configured as…

Read more

SharePoint Online: Export User Information List using PowerShell

Requirement: Export User Information List in SharePoint Online. User Information List in SharePoint Online stores the information about users. It captures user metadata such as User Picture, Email, DisplayName, LoginName, etc. When we grant permissions to a user, they are added automatically to the hidden User Information list. SharePoint retrieves user-related metadata…

Read more

SharePoint Online: Create Document Set using PowerShell

Requirement: Create a Document Set in SharePoint Online using PowerShell. SharePoint Online: Create Document Set using PowerShell While my other post explains how to create a document set in SharePoint Online: Creating Document Set in SharePoint Online – Step by Step, this blog post will show you how to use PowerShell to…

Read more

SharePoint Online: Create a Document Set – Step by Step

What is Document Set in SharePoint Online? As its name indicates, a document set is a set of related documents wrapped inside a special folder that allows multiple documents to be managed together and treated as if they were a single item. In other words, Document Set enables you to group documents…

Read more

Office 365: Find All SharePoint Online Administrators using PowerShell

Requirement: Get All SharePoint Online Administrators of the Office 365 tenant. How to Check If a User is SharePoint Online Administrator in Office 365? If you’re a Microsoft 365 administrator, You may want to find all SharePoint Online Administrators in your organization at times. Perhaps you want to check if a specific…

Read more