Category: SharePoint Online PowerShell CSOM

Office 365: Create content type in SharePoint Online using PnP PowerShell

Office 365 - How to create content type in SharePoint Online using PowerShell?

 1,969 total views,  14 views today

 1,969 total views,  14 views today In this tutorial, we will learn about how to create a content type in SharePoint Online using PnP PowerShell. Key-Highlights What is the content type in SharePoint Online? What is the use of a content type in SharePoint Online? How to create a content type in SharePoint Online using PowerShell? Verify

Continue reading

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

 3,351 total views,  32 views today

 3,351 total views,  32 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.

 4,441 total views,  30 views today

 4,441 total views,  30 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!

 9,497 total views,  206 views today

 9,497 total views,  206 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

 7,579 total views,  50 views today

 7,579 total views,  50 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

 14,241 total views,  110 views today

 14,241 total views,  110 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

 8,599 total views,  50 views today

 8,599 total views,  50 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