How to Remove a Web Part from Modern Page in SharePoint Online using PowerShell?

Requirement: Remove a web part from a Modern page in SharePoint Online. How to Remove a Web Part from SharePoint Online Page? In SharePoint Online, you can remove a web part from a page by editing the page and then deleting the web part. This process is relatively simple and only requires…

Read more

SharePoint Online: Format List View using PowerShell

Requirement: Apply formatting to SharePoint Online View using PowerShell How to Apply Formatting to a List View in SharePoint Online? Similar to column formatting, we can apply formatting to SharePoint Online views as well. Say, you want to apply alternate rows highlighting format for a SharePoint Online list view. Here are the…

Read more

Copy Document Library Between Tenants in SharePoint Online using PowerShell

Requirement: Copy a document library with files and folders from one SharePoint Online tenant to another. How to copy a SharePoint Online document library across tenants? There are many paid 3rd party tools like ShareGate, Metalogix, etc. to do this efficiently, and We can use PowerShell (with limitations) to do this migration….

Read more

SharePoint Online: Get Default List Form (New/Edit/Display) URLs using PowerShell

Requirement: Get the default list form URLs in SharePoint Online. How to Get the List Form URLs in a SharePoint Online List? Just open the SharePoint Online site in SharePoint Designer, Navigate to the Lists >> Open the Target List >> and You’ll find the default list of forms under the “Forms”…

Read more

SharePoint Online: Bulk Add Multiple Fields to List from a CSV using PowerShell

Requirement: Add multiple fields to a SharePoint Online list from a CSV file. PnP PowerShell to Create Multiple Columns in a List from a CSV File Have you ever had to create multiple columns in a SharePoint Online list? Well, PowerShell can be a great solution if you need to quickly add…

Read more

SharePoint Online: Add Site Collection Admin to Multiple Sites from a CSV File using PowerShell

Requirement: Bulk add site collection administrators to multiple SharePoint Online sites from a CSV file. If you’re like most SharePoint administrators, you probably want to add a site collection administrator to many of your SharePoint Online sites, to quickly grant permissions to someone! Well, PowerShell can help you to automate this task….

Read more

SharePoint Online: Add Bulk Users and Groups using PowerShell

Requirement: Add multiple users and Groups to SharePoint Online sites in bulk How to Create Multiple Groups and Users in SharePoint Online? I had to create several SharePoint User Groups and add users to those groups on different sites. In this blog post, let’s take a look at how to add multiple…

Read more

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