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 a 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…

Read more

Office 365: Remove a user from All Security groups using PowerShell

Requirement: Remove a user from all Active Directory security groups in Microsoft 365. How to remove a user account from all Security Groups? Office 365 Security groups are used for managing user access in Office 365, as they allow administrators to quickly and easily grant or revoke access to resources such as…

Read more

Microsoft 365: PowerShell to Remove a user from All Distribution Groups

Requirement: Remove a user account from all distribution lists in Office 365. How to remove a user from All Distribution Groups? In Office 365, distribution groups are used to send emails to a group of people. This is especially helpful for team projects, announcements, or any other situation where sending emails to…

Read more

Fix: Rating Settings missing in SharePoint Online

Problem: Rating settings missing in SharePoint Online List or document library. How to Enable Rating Settings in SharePoint Online Lists and Libraries? In communication site document libraries, “Rating Settings” is missing in SharePoint Online. Activating the “Publishing Infrastructure” feature on the site settings page brings the Rating feature to lists and libraries….

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 Set folder permissions in SharePoint Online document library using the web browser interface or PowerShell. In this article, let’s see how to use…

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

How to use PowerShell with Visual Studio Code?

Requirement: Run PowerShell scripts from Visual Studio Code. How to use PowerShell in Visual Studio Code? Visual Studio Code is a powerful code editor from Microsoft, that supports a wide variety of programming languages and tools, including PowerShell. This guide will show you how to install the PowerShell extension and use it…

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