How to Create a Calendar List in Modern SharePoint Online Site?

SharePoint Online calendar list provides a convenient and visual way to organise meetings, and events. You can display calendar lists in daily, weekly, and monthly views. Adding a calendar to a SharePoint Online modern site is a bit tricky, as it’s moved under “Classic Apps”. To create a calendar list in SharePoint…

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

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

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: PowerShell to Iterate through All Site Collections

Requirement: PowerShell to iterate through all site collections in SharePoint Online Tenant How to loop through all sites in SharePoint Online? Have you ever wanted to loop through all the sites in your SharePoint Online environment? Maybe you want to get a list of all site owners, or simply enumerate all the…

Read more

SharePoint Online: Update List Items from a CSV File using PowerShell

Requirement: Update SharePoint Online List from a CSV using PowerShell PowerShell to Update SharePoint Online List from CSV File Have you ever needed to update SharePoint Online list items from a CSV file? Perhaps you need to do some bulk editing of list data. In this guide, we’ll show you how to…

Read more

SharePoint Online: Grant Site Owner Permission to a User with PowerShell

Requirement: Grant Site Owner Permissions to a User in SharePoint Online How to Grant Site Owner Permissions to a User in SharePoint Online? By adding people to the SharePoint Online site owners group, they can manage the site and perform typical site administration activities such as setting site branding and structure, adding…

Read more

SharePoint Online: How to Get a List using PowerShell?

Requirement: PowerShell to Get a List in SharePoint Online SharePoint Online: PowerShell to Get a List PowerShell is a powerful scripting language that can be used to automate tasks and manage your SharePoint Online environment. This guide will show you how to use PowerShell to get a list in SharePoint Online. Here…

Read more

SharePoint Online: Upload Large Files using PowerShell

Requirement: Upload large files to SharePoint Online using PowerShell PowerShell to Upload a large file to SharePoint Online Suppose you try to upload files with > 250 MB file size to SharePoint Online using CSOM Files.Add method, or PnP PowerShell Add-PnPFile methods you’ll end up in errors: “The remote server returned an…

Read more

SharePoint Online: PowerShell to Grant Site Permissions to User

Requirement: Grant permissions to a SharePoint Online site using PowerShell How to Grant Access to a SharePoint Online Site? When working with SharePoint Online, a common task is to add users to the site. This can be done in a few simple steps, which we will walk you through below. In SharePoint…

Read more