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? Have you ever had to bulk delete multiple folders from SharePoint Online to clean up your site or remove outdated or unwanted content? If so, you’re probably familiar with the challenge of selecting each folder and…

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? PowerShell makes it easy to create multiple lists in SharePoint Online! This article will show you how to use PowerShell to create multiple lists from a CSV file in SharePoint Online. This can…

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? PowerShell can be your powerful ally when it comes to managing your files and folders in Sharepoint Online. I was looking for a way to…

Read more

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

Problem: When trying to import the PnP PowerShell module, I got an error message “Import-Module: The specified module ‘SharePointPnPPowerShellOnline’ was not loaded because no valid module file was found in any module directory”. You may face this trouble for other PowerShell modules as well. E.g. “import-module : the specified module ‘activedirectory’ was…

Read more

How to use an Encrypted Password File in PowerShell Scripts?

Requirement: Use an encrypted password file in PowerShell scripts. How to use an Encrypted Password File to Read/Write Credentials in PowerShell? PowerShell modules like PnP PowerShell offers a mechanism to use Windows credentials store to Save and retrieve user name and password to use it in scripts. However, for other PowerShell modules…

Read more

Getting Started with Home Site in SharePoint Online

What is Home Site in SharePoint Online? Home site in SharePoint Online is the top landing page for your organization at https://tenant.sharepoint.com/_layouts/15/sharepoint.aspx. The new Set-SPOHomeSite cmdlet sets a modern communication site collection as the SharePoint Online landing page for your organization! So when you click “SharePoint” from the tiles in Office 365…

Read more

Create a Communication Site in SharePoint Online using PowerShell

Requirement: Create a communication site in SharePoint Online using PowerShell How to create a Communication Site in SharePoint Online? One of the recent addition to the SharePoint Online space is Communication sites! The modern SharePoint Online communication site templates are designed to broadcast information to a broader audience, such as to an…

Read more

PowerShell to Get All Sites Associated with the Hub Sites in SharePoint Online

Requirement: Get hub site association in SharePoint Online using PowerShell SharePoint Online: Get Hub Sites Association using PowerShell SharePoint Online Hub sites help organize related sites into centralized portals based on organizational attributes such as projects, teams, concepts, departments, regions, etc. If you are not familiar with Hub Sites in Office 365,…

Read more

How to Deploy an App to App Catalog in SharePoint Online?

Requirement: Deploy an app to App Catalog in SharePoint Online. How to add an App to SharePoint Online App Catalog Site? The App Catalog is a centralized repository to manage and deploy custom apps in SharePoint. Apps (either SPFx .sppkg or Add-in .app file) to be uploaded and deployed there – is…

Read more