Category: SharePoint Online PowerShell CSOM

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

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

 505 total views

 505 total views In this tutorial, we will learn about how to create a content type in SharePoint Online using PowerShell and 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?

 642 total views

 642 total views In this tutorial, we will learn about how to create 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? Verify that document

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.

 1,757 total views

 1,757 total views 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 was migrating

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!

 3,097 total views,  14 views today

 3,097 total views,  14 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

 3,245 total views

 3,245 total views 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 web parts

Continue reading

Get workflow inventory from SharePoint online using PowerShell CSOM

 8,139 total views,  30 views today

 8,139 total views,  30 views today [wp_ad_camp_4]   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

Continue reading

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

 5,031 total views,  10 views today

 5,031 total views,  10 views today [wp_ad_camp_1]   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

Continue reading