SharePoint Online: Check If a Folder has Unique Permissions

Requirement: Check If a Folder has Unique Permissions in SharePoint Online using PowerShell. How to check if a Folder has Unique Permissions? By default, a new folder will have permissions inherited from its parent folder or library. Checking if a folder has unique permissions in SharePoint Online can be done by following…

Read more

SharePoint Online: PowerShell to Break Folder Permission Inheritance

Requirement: Break Permission Inheritance of a Folder in SharePoint Online using PowerShell. How to break the inheritance of a folder in SharePoint Online? By default, folders in SharePoint Online inherit permission from their parent objects, such as document library or list. In some cases, you might want to give users different permissions…

Read more

SharePoint Online: Get Files and Sub-Folders Count on Each Folder in a Document Library using PowerShell

Requirement:  Get the count of files and sub-folders at each folder in a SharePoint Online document library. How to Get the Number of Files and Sub-Folders at Each Folder of a Document Library? When a document library has multiple folders, sub-folder, and files, you can get the number of files and sub-folders…

Read more

SharePoint Online: PowerShell to Bulk Create Folders in a Document Library from a CSV File

Requirement: Create Multiple Folders in a Document Library from a CSV File in SharePoint Online. PowerShell to Bulk Create Folders from a CSV File in SharePoint Online: Are you looking to create multiple folders in SharePoint Online, but don’t want to do it one at a time? Maybe you want to create…

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

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

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: 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: Grant Permission to Each Folder in a Document Library using PowerShell

Requirement: Grant permission to all sub-folders in a SharePoint Online document library. How to Grant Permission to All Folders in a Document Library? When you add a user to a document library in SharePoint Online, the user gets permission to access all folders that inherit permissions. How about folders with unique permissions?…

Read more

SharePoint Online: Remove User Permission from All List Items using PowerShell

Requirement: Remove a user from all item permissions in a list. How to remove user permissions from a document or item in SharePoint Online? When a user no longer requires access to the documents in a document library, it may be necessary to remove their permissions. To remove a user’s permissions from…

Read more