How to Install the PnP PowerShell Module for SharePoint Online?

The new PnP PowerShell module PnP.PowerShell is a cross-platform product that can run on any operating system that supports .net core, like Windows, Linux, Mac, etc. and provides 500+ cmdlets to work with Microsoft 365 environment (No support for On-Premises server products, BTW!) cloud products like SharePoint Online, Microsoft Teams, Microsoft Planner,…

Read more

SharePoint Online: How to Save a Modern Page as Template?

Requirement: Save a page as a template in SharePoint Online How to Save a Modern Page as Template in SharePoint Online? Page Templates in SharePoint Online provide great re-usability and save a lot of time. Once you finish customizing a page by adding web parts, content, styles, etc., you can save it…

Read more

SharePoint Online: How to See Who has viewed a File?

Requirement: See who has viewed a document in SharePoint Online. How to see who viewed a document in SharePoint? Can we see who has viewed a file in SharePoint or OneDrive? Yes! We can track who has viewed a file in SharePoint Online with this nifty feature, “SharePoint Viewers”. To see who…

Read more

SharePoint Online: Grant Folder Permissions from a CSV File using PowerShell

Requirement: Set permissions to Multiple Folders from a CSV File in SharePoint Online PowerShell to Set Folder Permissions in Bulk from a CSV File in SharePoint Online You can use PowerShell to set permissions on multiple folders in SharePoint Online from a CSV file. This can be helpful if you need to…

Read more

Batch Execute CSOM PowerShell Scripts to Avoid 429 Resource Throttling Issue in SharePoint Online

Problem: When performing bulk operations through CSOM PowerShell scripts, SharePoint Online throttles the requests with an error message, “The remote server returned an error: (429).” How to Execute CSOM PowerShell Script in Batches? Say, You want to create 1000 items in a List. Wouldn’t it be better to send 10 requests of…

Read more

Add User to All SharePoint Online Sites using PowerShell

Requirement: Add user to all sites in SharePoint Online using PowerShell PowerShell to Add User to All Sites in SharePoint Online Have you ever wanted to add a user to all SharePoint Online sites of your tenant with Read/Edit/Full Control (Or Visitor/Member/Owner) Permissions? Adding the user to a SharePoint Group or Granting…

Read more

Get Internal Name of a Column in SharePoint Online using PowerShell

Requirement: Get the internal name of a SharePoint Online list column using PowerShell How to Get the Internal Field Name in SharePoint Online? As explained in my other post: SharePoint Field Display Name vs. Internal Name, When you create a new column in SharePoint, You give a “Title” to it, which becomes…

Read more

SharePoint Online: Sync Button Missing in a Document Library?

Problem: Sync button missing in SharePoint Online library How to Enable the Sync Button in SharePoint Online? The Sync button enables you to synchronize a SharePoint Online library to your local storage, which can be helpful if you need to keep your documents in sync between your computer and the cloud. If…

Read more

Disable the “Connect to new Microsoft 365 Group” Option in SharePoint Online

Requirement: Disable the “Connect to new Microsoft 365 Group” Option in SharePoint Online site settings menu. How to disable “Connect to new Microsoft 365 Group” Option in SharePoint Online? The “Connect to new Microsoft 365 Group” or “Connect to new Office 365 Group” link in the settings menu helps to connect any…

Read more