Category: SharePoint Online PowerShell CSOM

SharePoint Online: List operations using PnP PowerShell

List Operations in SharePoint Online using the PnP PowerShell – Add Column, Remove Column, Get Colum

 11,952 total views,  10 views today

 11,952 total views,  10 views today In this article, we will learn about various list operations in SharePoint Online using the PnP PowerShell script, like how to add a column, how to get column details, and how to delete a column using the PnP PowerShell script in the SharePoint Online list. How to add a column in

Continue reading

How to change site URL in SharePoint online?

How to change site URL in SharePoint online?

 23,292 total views,  30 views today

 23,292 total views,  30 views today Earlier while were working in SharePoint on-premise, it was almost impossible to think about changing the site URL after creating the site – we used to say we can rename the site title but not the site URL. These days SharePoint has gone thru lots of revolutionary changes and Microsoft has

Continue reading

Office 365: How to create document library in SharePoint Online using PowerShell?

 24,476 total views,  8 views today

 24,476 total views,  8 views today In this tutorial, we will learn about how to create a document library in SharePoint Online using PowerShell script and PnP PowerShell. Key-Highlights: What is the document library in SharePoint? When to use the document library in SharePoint Online? How to create a document library in SharePoint Online using PowerShell script?

Continue reading

[Fixed]: The page could not be created. Custom Scripting might be deactivated on the destination site or you might not have sufficient permissions.

The page could not be created. Custom Scripting might be deactivated on the destination site or you might not have sufficient permissions.

 15,311 total views,  4 views today

 15,311 total views,  4 views today These days I have been working with the SharePoint modern communication site – and facing different types of issues. One of the issues – I have faced is “The page could not be created. Custom Scripting might be deactivated on the destination site or you might not have sufficient permissions.” while

Continue reading

[Fixed] Server relative urls must start with SPWeb.ServerRelativeUrl”in reading web part properties!

[Fixed] Server relative urls must start with SPWeb.ServerRelativeUrl"in reading web part properties!

 37,356 total views,  32 views today

 37,356 total views,  32 views today Recently I was working on, to the get web part properties details from the SharePoint site page using the PowerShell CSOM, then I got this error “Exception calling “ExecuteQuery” with “0” argument(s): “Server relative URLs must start with SPWeb.ServerRelativeUrl” in reading web part properties!:“. In this, SharePoint troubleshooting I will share

Continue reading

[Verified] Get all webparts from pages in a site using PowerShell in SharePoint Online

[Verified] Get all webpart properties from SharePoint Online site page using the PowerShell script

 30,268 total views,  28 views today

 30,268 total views,  28 views today In this tutorial, I will share how we can get all web parts from pages in a site using PowerShell CSOM and get web part properties using PnP PowerShell. Key Highlights Get all web parts from pages in a site using PowerShell CSOM and get web part properties using Powershell Retrieve

Continue reading

Get workflow inventory from SharePoint online using PowerShell CSOM

Get workflow inventory from SharePoint online using PowerShell CSOM

 34,198 total views,  12 views today

 34,198 total views,  12 views today In this tutorial, we will learn about how we can get workflow inventory from the SharePoint Online tenant using PowerShell CSOM and PnP PowerShell. This script will scan through all the sites in a tenant and will export all workflows associated with the lists into a CSV file which will give

Continue reading

SharePoint Online: Delete All Files from document library for the given date – PowerShell CSOM

SharePoint Online: Delete All Files from document library for the given date - PowerShell CSOM

 24,900 total views,  24 views today

 24,900 total views,  24 views today In this PowerShell script, we will learn about how we can delete all files from all document library in SharePoint online site from a given date by passing From date and To date. The PowerShell script can be used in the below scenario: Delete specific files from SharePoint on-premises library and

Continue reading