SharePoint Online: How to Change Required Field Settings in a List or Library?

Requirement: Set required fields in SharePoint Online list or document library How to Set Required Fields in SharePoint Online? Required fields setting in SharePoint Online lists and libraries help to ensure that users enter certain information when saving items or uploading files. You can configure any field as a required field in…

Read more

SharePoint Online: Activate a Feature on All Sites using PowerShell

Requirement: Enable a SharePoint Online feature for all sites using PowerShell. PowerShell to Activate a Site Collection Feature for All Sites We have a requirement to enable a SharePoint Online “Open Documents in Client Applications by Default” feature for all site collections in the tenant. Here is the PowerShell to enable a…

Read more

SharePoint Online: Disable a Feature for All Sites using PowerShell

Requirement: Disable a feature for all SharePoint Online sites using PowerShell. PowerShell to Deactivate a Site Feature on All Collections in the Tenant We have a requirement to disable the SharePoint Online “Open Documents in Client Applications by Default” feature for all sites in the tenant. Here is the PowerShell to disable…

Read more

SharePoint Online: Bulk Delete Folders from a CSV using PowerShell

Requirement: Bulk Delete Folders in SharePoint Online. How to Bulk Delete Multiple Folders in SharePoint Online? To bulk delete folders with its sub-folders and files, we can use a CSV file with PowerShell script. Here is my CSV file with a list of folder names and the site relative URL of its…

Read more

SharePoint Online: Create Multiple Lists from a CSV File using PowerShell

Requirement: Bulk create lists in SharePoint Online from a CSV File. How to Create Multiple lists from CSV File? We can use the combination of CSV and PowerShell to create multiple lists in bulk in SharePoint Online. Here is my CSV File: You can download this CSV here: PowerShell to Create Multiple…

Read more

SharePoint Online: Bulk Delete Files from a CSV using PowerShell

Requirement: Delete multiple files from SharePoint Online document libraries from a CSV using PowerShell. How to Delete Multiple Files in SharePoint Online Site from a CSV file? We have a CSV file with a list of URLs of various files in multiple document libraries in SharePoint Online. I wanted to bulk delete…

Read more

Fix “Import-Module: The specified module was not loaded because no valid module file was found in any module directory” Error

Problem: When trying to import the PnP PowerShell module, got an error message “Import-Module: The specified module ‘SharePointPnPPowerShellOnline’ was not loaded because no valid module file was found in any module directory” Solution: This is because the PowerShell console or ISE is unable to get the module from given module path’s in…

Read more