SharePoint Online: Update Multiple Lines of Text Field Value using PowerShell

Requirement: Update Multiple lines of text field value in SharePoint Online using PowerShell. PowerShell to Set Multiline text field in SharePoint Online: I have a column called “Project Description” of “Plain text” type in the “Projects” list and here is the CSOM PowerShell script to update multiple lines of text field value…

Read more

Fix “Get-SPOSite : The managed path Sites/URL is not a managed path in this tenant.” Error in SharePoint Online

Problem: Getting “Get-SPOSite: The managed path sites/URL is not a managed path in this tenant.” error in PowerShell. Solution:  A simple PowerShell script to get a site collection in SharePoint Online gave this error message. After a while, I noticed the error is because of the “/” character at the end of…

Read more

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